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)
commitbd695a5f0ccf7b38982c426d86055ff3591c9b5b
tree08e9da3531f5c72c0b82f0151913e571e564550b
parent2add511e58dc822a4573dd35280750fb3a21a2db
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