]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
e1000e: fix incorrect link status when switch module pulled
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 22 Nov 2008 01:01:35 +0000 (17:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2008 01:01:35 +0000 (17:01 -0800)
commita20e4cf9e6a37e40532593e00df153d01e317baf
tree265746fe24aaa86df847c812e708c337ce06fa00
parent8452759060ad46fc071a7d5bbf1647df5ea2ceab
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>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/netdev.c