mdio: Export mdio.h to userland
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Feb 2012 14:23:27 +0000 (14:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2012 21:41:22 +0000 (16:41 -0500)
commit9c717758c9289331e22c88ef69d8c248def9cd29
tree316ed50fa343cb22f55a507dc2324d8287c4b673
parent48752f6513012a1b078da08b145d5c40a644f058
mdio: Export mdio.h to userland

The ID packing definitions are needed by userland and the register
definitions may also be useful there.

Do not export mdio_phy_id_{is_c45,prtad,devad}() as the use of bool is
problematic and it's not that useful to export only a subset of these.

Do not export MDIO_SUPPORTS_{C22,C45} directly; these flags are only
exposed to userland through struct ethtool_cmd so they should be
defined alongside that with appropriate names.

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