]> Pileus Git - ~andy/linux/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)
commit15f594563d85825ec242df6d37e64e7dfe823df8
tree24a78e90f59182e9dcade3cdfb651d031f453739
parent714086029116b6b0a34e67ba1dd2f0d1cf26770c
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