ixgbe: Update link setup code to better support autonegotiation of speed
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Fri, 6 Feb 2009 07:54:21 +0000 (23:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Feb 2009 07:54:21 +0000 (23:54 -0800)
commit3201d3130ee3eb49ed0e905654568f02736afdcb
treef07287c17728f225881dfc0b111b219a0d3197aa
parentbc97114d3f998a040876695a9b2b5be0b1a5320b
ixgbe: Update link setup code to better support autonegotiation of speed

The current code has some flaws in it when performing autonegotiation,
especially on KX/KX4 links.  This patch updates the code to better handle
the autonegotiation states on link setup.  The patch also removes a redundant
link configuration call on driver load, and moves link configuration to
the ->open() path.

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_82598.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h