diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-09-11 22:55:32 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:54:49 -0400 |
commit | cf8280ee7be3aaf44d32e389f15c725b850e5e32 (patch) | |
tree | 3511ef0b19370597c7bd5fbe43a74d563522adeb /drivers/net/ixgbe/ixgbe_ethtool.c | |
parent | ce94bf469edf84228771b58489944cf654aeb496 (diff) |
ixgbe: Update watchdog thread to accomodate longerlink_up events
This patch updates the link_up code and watchdog thread so that link_up
doesn't cause stack overflows due to long waits in interrupt context.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
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: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index 61c000e23094..8f0e3f93e6b1 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -130,7 +130,7 @@ static int ixgbe_get_settings(struct net_device *netdev, | |||
130 | ecmd->port = PORT_FIBRE; | 130 | ecmd->port = PORT_FIBRE; |
131 | } | 131 | } |
132 | 132 | ||
133 | adapter->hw.mac.ops.check_link(hw, &(link_speed), &link_up); | 133 | adapter->hw.mac.ops.check_link(hw, &(link_speed), &link_up, false); |
134 | if (link_up) { | 134 | if (link_up) { |
135 | ecmd->speed = (link_speed == IXGBE_LINK_SPEED_10GB_FULL) ? | 135 | ecmd->speed = (link_speed == IXGBE_LINK_SPEED_10GB_FULL) ? |
136 | SPEED_10000 : SPEED_1000; | 136 | SPEED_10000 : SPEED_1000; |