]> git.baikalelectronics.ru Git - kernel.git/commit
net:cpsw: Pass unhandled ioctl's on to generic phy ioctl
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Sun, 16 Feb 2014 13:54:25 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2014 05:30:29 +0000 (00:30 -0500)
commitb0529ec26f19abe00e92b84c2e824959cf344320
treecd693347085ef9f2ff970120c8e027ef489fd10b
parent2580ac992deb8a1a45f448b1313322b2a128961c
net:cpsw: Pass unhandled ioctl's on to generic phy ioctl

This patch allows the use of a generic timestamping phy connected
to the cpsw if CPTS support is not enabled. This also adds support
of the SIOCGMIIREG and SIOCSMIIREG, and moves handling of SIOCGMIIPHY
to the generic driver.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c