diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2008-11-21 17:01:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 17:01:35 -0800 |
commit | a20e4cf9e6a37e40532593e00df153d01e317baf (patch) | |
tree | 265746fe24aaa86df847c812e708c337ce06fa00 /drivers/net/e1000e/e1000.h | |
parent | 8452759060ad46fc071a7d5bbf1647df5ea2ceab (diff) | |
download | op-kernel-dev-a20e4cf9e6a37e40532593e00df153d01e317baf.zip op-kernel-dev-a20e4cf9e6a37e40532593e00df153d01e317baf.tar.gz |
e1000e: fix incorrect link status when switch module pulled
On 82571 with SerDes, the true link state is not always correct when read
from the STATUS register; use existing e1000_has_link() function instead.
Signed-off-by: Bruce Allan <bruce.w.allan@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/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index 473c414..37bcb19 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h @@ -389,6 +389,7 @@ extern int e1000e_setup_tx_resources(struct e1000_adapter *adapter); extern void e1000e_free_rx_resources(struct e1000_adapter *adapter); extern void e1000e_free_tx_resources(struct e1000_adapter *adapter); extern void e1000e_update_stats(struct e1000_adapter *adapter); +extern bool e1000_has_link(struct e1000_adapter *adapter); extern void e1000e_set_interrupt_capability(struct e1000_adapter *adapter); extern void e1000e_reset_interrupt_capability(struct e1000_adapter *adapter); |