diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2009-02-06 02:54:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 02:54:21 -0500 |
commit | 3201d3130ee3eb49ed0e905654568f02736afdcb (patch) | |
tree | f07287c17728f225881dfc0b111b219a0d3197aa /drivers/net/ixgbe/ixgbe_main.c | |
parent | bc97114d3f998a040876695a9b2b5be0b1a5320b (diff) |
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>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index d396c6e01fb5..5db82b5fa9b3 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -2799,9 +2799,6 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter) | |||
2799 | hw->fc.pause_time = IXGBE_DEFAULT_FCPAUSE; | 2799 | hw->fc.pause_time = IXGBE_DEFAULT_FCPAUSE; |
2800 | hw->fc.send_xon = true; | 2800 | hw->fc.send_xon = true; |
2801 | 2801 | ||
2802 | /* select 10G link by default */ | ||
2803 | hw->mac.link_mode_select = IXGBE_AUTOC_LMS_10G_LINK_NO_AN; | ||
2804 | |||
2805 | /* enable itr by default in dynamic mode */ | 2802 | /* enable itr by default in dynamic mode */ |
2806 | adapter->itr_setting = 1; | 2803 | adapter->itr_setting = 1; |
2807 | adapter->eitr_param = 20000; | 2804 | adapter->eitr_param = 20000; |