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)
commitc1b5994770ad5ae03336b5cdd1e0ad622a870a00
treecd693347085ef9f2ff970120c8e027ef489fd10b
parentada0f8633c5b8dad640e1a2bcb95499ec187ac17
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