mii: Rewrite mii_ethtool_gset() to report mdio_support and lp_advertising
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Apr 2009 08:34:44 +0000 (08:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2009 00:32:42 +0000 (17:32 -0700)
commit5974700c288aa160fd02b1cb9294173664bcc172
tree063a5bd8637d3ce9f0b829635fe9effd86b22de0
parent894b19a6b343ce3589237167a56e6df0fe72ef0d
mii: Rewrite mii_ethtool_gset() to report mdio_support and lp_advertising

Ignore link partner advertising flags while AN is not complete.

Compile-tested only.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mii.c