]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dpaa_eth: implement ioctl() for PHY-related ops
authorMichael Walle <michael@walle.cc>
Mon, 20 Feb 2017 15:54:18 +0000 (16:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2017 03:21:23 +0000 (22:21 -0500)
commit1763413ac2c15f80fa2c2e308ecbf1a1b550a4c3
tree3fe17b5983ec7fb9939c622dd96918f7d826dfdd
parent2cf8a897116a4433ca579aff8b0813d8fb2c4473
dpaa_eth: implement ioctl() for PHY-related ops

This commit adds the ndo_do_ioctl() callback 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c