FEC: Add time stamping code and a PTP hardware clock
authorFrank Li <Frank.Li@freescale.com>
Tue, 30 Oct 2012 18:25:31 +0000 (18:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:28:44 +0000 (12:28 -0400)
commit6605b730c061f67c44113391e5af5125d0672e99
treef590a2528231b7ca20a9ca32457eb0128e1e107c
parentd6e0d9fcbb01edc7a342b15f077a217d46f3b608
FEC: Add time stamping code and a PTP hardware clock

This patch adds a driver for the FEC(MX6) that offers time
stamping and a PTP haderware clock. Because FEC\ENET(MX6)
hardware frequency adjustment is complex, we have implemented
this in software by changing the multiplication factor of the
timecounter.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/Kconfig
drivers/net/ethernet/freescale/Makefile
drivers/net/ethernet/freescale/fec.c
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_ptp.c [new file with mode: 0644]