OSDN Git Service

net: phy: expose PHY device interface mode
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 12 Feb 2014 01:27:40 +0000 (17:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 00:08:20 +0000 (19:08 -0500)
commit3d055d8d1c24093bdd40e000570a59b841c2bb0b
tree01abab57957e897a2cd4f539db4c05ae96f8cd7c
parent8a2fe56e8827f2b1eb1766702f0215074dd2767e
net: phy: expose PHY device interface mode

Expose the PHY device interface mode through sysfs since this is an
useful piece of information for knowing how the attached networking
device will have configured its transmit/receive path.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ABI/testing/sysfs-bus-mdio
drivers/net/phy/mdio_bus.c