]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: implement ->ndo_do_ioctl() to support PHY ioctls
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 4 Sep 2013 14:26:52 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 18:31:01 +0000 (14:31 -0400)
commitc7a8aa5f245540b19ee52d77149144a9ccd84661
tree24a78e90f59182e9dcade3cdfb651d031f453739
parentbf0e7e97a6cfc2b9be85ccd4226e06db5b0b205f
net: mvneta: implement ->ndo_do_ioctl() to support 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>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c