linux/drivers/net/e1000e
Bruce Allan b16a002e3d e1000e: Incorrect MII Link beat reporting.
The driver was only updating MII stats when an LSC up was detected and
the interface had not already been reported up to netdev. This meant
MII stats returned in response to an SIOCGMIIREG ioctl would always
show a link up if it had ever been up. This was misleading the networking
daemon guessnet, which uses this ioctl, into making improper network port
selections.
This fix adds a call to e1000_phy_read_status() to actively read the
mii stats before responding to the SIOCGMIIREG ioctl.

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>
2009-11-21 11:34:01 -08:00
..
82571.c e1000e: swap max hw supported frame size between 82574 and 82583 2009-10-04 21:08:49 -07:00
defines.h e1000e: rework disable K1 at 1000Mbps for 82577/82578 2009-10-29 22:48:39 -07:00
e1000.h e1000e: disable K1 on PCH LOM when in PHY loopback mode 2009-11-21 11:33:58 -08:00
es2lan.c e1000e: add support for 82577/82578 GbE LOM parts 2009-06-03 02:46:34 -07:00
ethtool.c e1000e: disable K1 on PCH LOM when in PHY loopback mode 2009-11-21 11:33:58 -08:00
hw.h e1000e: rework disable K1 at 1000Mbps for 82577/82578 2009-10-29 22:48:39 -07:00
ich8lan.c e1000e: disable K1 on PCH LOM when in PHY loopback mode 2009-11-21 11:33:58 -08:00
lib.c e1000e: disable K1 at 1000Mbps for 82577/82578 2009-07-03 20:09:42 -07:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000e: Incorrect MII Link beat reporting. 2009-11-21 11:34:01 -08:00
param.c e1000e: enable CRC stripping by default 2009-06-03 02:46:31 -07:00
phy.c e1000e: improper return code signage 2009-11-21 11:33:56 -08:00