]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10ab925cea8112da08c8c7c582830aff492426c0
tree316ed50fa343cb22f55a507dc2324d8287c4b673
parent22de3a26bfe617d61721390e4bed3a24f7c21938
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