aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2019-11-07 09:39:37 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-07 15:25:17 -0800
commita613bafec516bcca3658d054bdc339008d20ac8a (patch)
treea66553b0aa259e37866b00ebefa7093b5b8c22ba /drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c
parentmlxsw: spectrum: Fix error return code in mlxsw_sp_port_module_info_init() (diff)
downloadlinux-dev-a613bafec516bcca3658d054bdc339008d20ac8a.tar.xz
linux-dev-a613bafec516bcca3658d054bdc339008d20ac8a.zip
enetc: add ioctl() support for PHY-related ops
If there is an attached PHY try to handle the requested ioctl with its handler, which allows the userspace to access PHY registers, for example. This will make mii-diag and similar tools work. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c')
0 files changed, 0 insertions, 0 deletions