]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/ixgbe/ixgbe_82599.c
ixgbe: Remove unnecessary PHY reset, properly identify multispeed fiber modules
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Thu, 9 Apr 2009 22:28:15 +0000 (22:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Apr 2009 09:48:01 +0000 (02:48 -0700)
commit553b449784e27bb7244c41aa27397d29f213e5a3
tree041c34e3d1524ffd530c3a196e7846370a8b5d5a
parent04f165ef4f18444854865d44a3359618480060af
ixgbe: Remove unnecessary PHY reset, properly identify multispeed fiber modules

This patch does two things:
1) On 82599, the PHY is emedded in the MAC.  On 82598, the SFP+ NIC has an external PHY.  The reset in the SFP+ setup patch for 82598 is unnecessary on 82599, and adds extra dead time to device initialization.  This removes that PHY reset for 82599 only.

2) On 82599, the SFP+ modules are multispeed fiber modules (10G/1G).  We need to make sure to identify them properly for the remaining init sections to properly set them up.

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_82599.c
drivers/net/ixgbe/ixgbe_phy.c
drivers/net/ixgbe/ixgbe_phy.h
drivers/net/ixgbe/ixgbe_type.h