]> 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)
commit9aa511e8fbf1ea5d6a86f1f66450d7194043620d
treecd693347085ef9f2ff970120c8e027ef489fd10b
parent297a3807533d71f7441ea53d93b36d763cc85fc3
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