]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: rework gianfar_ptp as QorIQ common PTP driver
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 25 May 2018 04:40:34 +0000 (12:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 03:05:11 +0000 (23:05 -0400)
commit9e782d28c16bd3592314cc2275ae1ea9afcad83e
treea69ac99896fa84fa5218542b83d6d7ab8297490b
parent2cbf47d00167d73a3cee1c97856d427a1a769b3a
ptp: rework gianfar_ptp as QorIQ common PTP driver

gianfar_ptp was the PTP clock driver for 1588 timer
module of Freescale QorIQ eTSEC (Enhanced Three-Speed
Ethernet Controllers) platforms. Actually QorIQ DPAA
(Data Path Acceleration Architecture) platforms is
also using the same 1588 timer module in hardware.

This patch is to rework gianfar_ptp as QorIQ common
PTP driver to support both DPAA and eTSEC. Moved
gianfar_ptp.c to drivers/ptp/, renamed it as
ptp_qoriq.c, and renamed many variables. There were
not any function changes.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/Makefile
drivers/net/ethernet/freescale/gianfar_ptp.c [deleted file]
drivers/ptp/Kconfig
drivers/ptp/Makefile
drivers/ptp/ptp_qoriq.c [new file with mode: 0644]