]> 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)
commit68013f2db923ced638334c47111cd93cec0fcbd7
tree08e9da3531f5c72c0b82f0151913e571e564550b
parente915fc0d6d4534a075cefcf6b6ea3a2148dc6bbf
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