ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 19 May 2009 09:18:51 +0000 (09:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 22:36:14 +0000 (15:36 -0700)
commit537d58a00a8756189b10ffc1309c0131d57b6320
treeaaba725780bd6c7fec34b23323dd66c9f6596ff1
parentaa5aec888585fedcda7cfffc20f75240ad1cb42d
ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs

The SFF specification for Direct Attach cable detection has now been
ratified.  Previously, DA cable detect was looking at the Twinaxial bit in
byte 9 of the SFP+ EEPROM.  The spec now defines active and passive DA
cables in byte 8 of the SFP+ EEPROM.  This patch changes the cable
detection for both 82598 and 82599 SFP+ adapters to conform to the new
spec.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_phy.c
drivers/net/ixgbe/ixgbe_phy.h