e1000: allow ethtool to see link status when down
authorKok, Auke <auke-jan.h.kok@intel.com>
Fri, 16 Feb 2007 22:39:30 +0000 (14:39 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:37:14 +0000 (15:37 -0500)
commitca6efb7d6c9336acda2e7b76a39b59bbfe77ec13
tree4cf6274ccd88b79a4294216b0b5bfef01e50ff78
parent1d33e9c606bcf3d00bf67477e34253e861bb71c3
e1000: allow ethtool to see link status when down

By reading the MAC status register we can detect whether the MAC has
seen the PHY see link. This allows us to show the link properties before
the device is up in ethtool.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000/e1000_ethtool.c