diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2019-05-28 19:38:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 06:48:53 +0200 |
commit | c920f745f45d4610e08943690301b8055fb5e834 (patch) | |
tree | 8c9c51eecb9f4ea1cac0ea7ab736855a3d3cfff2 /drivers/net/phy/phylink.c | |
parent | net: phy: Check against net_device being NULL (diff) | |
download | linux-c920f745f45d4610e08943690301b8055fb5e834.tar.xz linux-c920f745f45d4610e08943690301b8055fb5e834.zip |
net: phy: Add phy_standalone sysfs entry
Export a phy_standalone device attribute that is meant to give the
indication that this PHY lacks an attached_dev and its corresponding
sysfs link. The attribute will be created only when the
phy_attach_direct() function will be called with a NULL net_device.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phylink.c')
0 files changed, 0 insertions, 0 deletions