]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: implement ioctl() operation for PHY ioctls
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 27 Jul 2014 21:21:36 +0000 (23:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 23:47:43 +0000 (16:47 -0700)
commitf34f704b71f3b95f3d9926dfc0c2032567bb3981
tree08e9da3531f5c72c0b82f0151913e571e564550b
parent81899fd8a7a0459f843d867fe2516ab3433e0dbf
net: mvpp2: implement ioctl() operation for PHY ioctls

This commit implements the ->ndo_do_ioctl() operation so that the
PHY-related ioctl() calls can work from userspace, which allows
applications like mii-tool or mii-diag to do their job.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c