]> git.baikalelectronics.ru Git - kernel.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)
commitfc20819594976c8ba39b6ff6fdbd582c8137b042
tree3fe17b5983ec7fb9939c622dd96918f7d826dfdd
parent8eb12e75f461c5d623a1bec2814234d9e9297e99
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