• B
    mdio: Export mdio.h to userland · 9c717758
    Ben Hutchings 提交于
    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: NBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    9c717758
mdio.h 15.4 KB