diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-11-19 03:02:44 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-11-21 21:17:37 +0400 |
commit | 1d5244d0e43b70565d3988a52c6461ee42d3927c (patch) | |
tree | 2b13a86ff74497e8c40d5445d4c1af8c8b3ee31b /drivers/net/ethernet/freescale/fec.h | |
parent | 7260899bde50cbe84bdf0a15b5642e2c3b03db32 (diff) | |
download | linux-1d5244d0e43b70565d3988a52c6461ee42d3927c.tar.xz |
fec: Implement the SIOCGHWTSTAMP ioctl
This is untested.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 0120217a16dd..3b8d6d19ff05 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -339,7 +339,8 @@ struct fec_enet_private { void fec_ptp_init(struct platform_device *pdev); void fec_ptp_start_cyclecounter(struct net_device *ndev); -int fec_ptp_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd); +int fec_ptp_set(struct net_device *ndev, struct ifreq *ifr); +int fec_ptp_get(struct net_device *ndev, struct ifreq *ifr); /****************************************************************************/ #endif /* FEC_H */ |