ethtool, mdio, mii: Specify MDIO information fields in struct ethtool_cmd
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Feb 2012 14:26:22 +0000 (14:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2012 21:41:26 +0000 (16:41 -0500)
commit9c4df53bc3f9c72d7f1f1226927f456d46412381
tree93bc7536bcf1cac679fc150d0cd88b9e21e5ed17
parent9c717758c9289331e22c88ef69d8c248def9cd29
ethtool, mdio, mii: Specify MDIO information fields in struct ethtool_cmd

Add comments for ethtool_cmd::phy_address and
ethtool_cmd::mdio_support, and definitions of the flags currently
used in mdio_support.

In the mdio library, assert that its own flags continue to match those
in the ethtool interface.

In the mii library, use the ethtool flag definition and stop
including <linux/mdio.h>.

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