/* Read the PHY management control register and check whether a PHY reset is blocked. If a reset is not blocked return 0, otherwise return E1000_BLK_PHY_RESET (12).  */
s32 igb_check_reset_block(struct e1000_hw *hw)
/* Read the PHY management control register and check whether a PHY reset is blocked. If a reset is not blocked return 0, otherwise return E1000_BLK_PHY_RESET (12).  */
s32 igb_check_reset_block(struct e1000_hw *hw)
{
	u32 manc;
	manc = rd32(E1000_MANC);
	return (manc & E1000_MANC_BLK_PHY_RST_ON_IDE) ?
	       E1000_BLK_PHY_RESET : 0;
}