ethtool/mdio: Report MDIO mode support and link partner advertising
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Apr 2009 08:21:53 +0000 (08:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2009 00:32:37 +0000 (17:32 -0700)
commit0c09c1a49cc7b819b33566a49d9901f7cfdd6889
treee10fc988a21ca0b3e1550ae905b96cc444f90a76
parent3f926da82f128c68c479247b1771729b9487502a
ethtool/mdio: Report MDIO mode support and link partner advertising

Add mdio_support and lp_advertising fields to ethtool_cmd.  Set these
in mdio45_ethtool_gset{,_npage}().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio.c
include/linux/ethtool.h
include/linux/mdio.h