]> 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)
commit5322360fd4601d3f4cd979c32ed9db7879221dbe
tree3fe17b5983ec7fb9939c622dd96918f7d826dfdd
parent444c0eb767c05ed3934c741c5938180b8772298d
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