linux_dsm_epyc7002/drivers/net/ethernet/intel
Bruce Allan a52359b56c e1000e: fix test for PHY being accessible on 82577/8/9 and I217
Occasionally, the PHY can be initially inaccessible when the first read of
a PHY register, e.g. PHY_ID1, happens (signified by the returned value
0xFFFF) but subsequent accesses of the PHY work as expected.  Add a retry
counter similar to how it is done in the generic e1000_get_phy_id().

Also, when the PHY is completely inaccessible (i.e. when subsequent reads
of the PHY_IDx registers returns all F's) and the MDIO access mode must be
set to slow before attempting to read the PHY ID again, the functions that
do these latter two actions expect the SW/FW/HW semaphore is not already
set so the semaphore must be released before and re-acquired after calling
them otherwise there is an unnecessarily inordinate amount of delay during
device initialization.

Reported-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-07-14 00:45:45 -07:00
..
e1000 e1000: look into the page instead of skb->data for e1000_tbi_adjust_stats() 2012-06-02 00:04:19 -07:00
e1000e e1000e: fix test for PHY being accessible on 82577/8/9 and I217 2012-07-14 00:45:45 -07:00
igb igb: Fix incorrect RAR address entries for i210/i211 device. 2012-06-20 00:50:54 -07:00
igbvf igbvf: fix divide by zero 2012-06-30 17:40:45 -07:00
ixgb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgbe ixgbe: DCB and SR-IOV can not co-exist and will cause hangs 2012-07-09 00:10:06 -07:00
ixgbevf ixgbevf: Update version string 2012-05-03 02:38:38 -07:00
e100.c e100: enable transmit time stamping. 2012-04-14 02:02:41 -07:00
Kconfig Kconfig: Fix Kconfig for Intel ixgbe and igb PTP support. 2012-06-20 00:52:54 -07:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00