/* Check the appropriate indication the MAC has finished configuring the PHY after a software reset.  */
static void e1000_lan_init_done_ich8lan(struct e1000_hw *hw)
/* Check the appropriate indication the MAC has finished configuring the PHY after a software reset.  */
static void e1000_lan_init_done_ich8lan(struct e1000_hw *hw)
{
	u32 data, loop = E1000_ICH8_LAN_INIT_TIMEOUT;
	do {
		data = er32(STATUS);
		data &= E1000_STATUS_LAN_INIT_DONE;
		udelay(100);
	} while ((!data) && --loop);
	if (loop == 0)
		e_dbg("LAN_INIT_DONE not set, increase timeout\n");
	data = er32(STATUS);
	data &= ~E1000_STATUS_LAN_INIT_DONE;
	ew32(STATUS, data);
}