/* Below keeps track of whether the "once per power-on" initialization has been done, because uC code Version  or higher allows the uC to be reset at will, and Automatic Equalization may require it. So the state of the reset "pin", as reflected in was_reset parameter to ipath_sd7220_init() is no longer valid. Instead, we check for the actual uC code having been loaded.  */
static int ipath_ibsd_ucode_loaded(struct ipath_devdata *dd)
/* Below keeps track of whether the "once per power-on" initialization has been done, because uC code Version  or higher allows the uC to be reset at will, and Automatic Equalization may require it. So the state of the reset "pin", as reflected in was_reset parameter to ipath_sd7220_init() is no longer valid. Instead, we check for the actual uC code having been loaded.  */
static int ipath_ibsd_ucode_loaded(struct ipath_devdata *dd)
{
	if (!dd->serdes_first_init_done && (ipath_sd7220_ib_vfy(dd) > 0))
		dd->serdes_first_init_done = 1;
	return dd->serdes_first_init_done;
}