From: David Miller <davem@xxxxxxxxxxxxx> Date: Fri, 01 Feb 2019 15:17:02 -0800 (PST) > From: Yangbo Lu <yangbo.lu@xxxxxxx> > Date: Thu, 31 Jan 2019 10:33:01 +0800 > >> There is same QorIQ 1588 timer IP block on the new ENETC Ethernet >> controller with eTSEC/DPAA Ethernet controllers. However it's >> different endianness (little-endian) and using PCI driver. >> >> To support ENETC PTP driver, ptp_qoriq driver needed to be >> reworked to make functions global for reusing, to add little- >> endian support, to add ENETC memory map support, and to add >> ENETC dependency for ptp_qoriq driver. >> >> In addition, although ENETC PTP driver is a PCI driver, the dts >> node still could be used. Currently the ls1028a dtsi which is >> the only platform by now using ENETC is not complete, so there >> is still dependency for ENETC PTP node upstreaming. This will >> be done in the near future. The hardware timestamping support >> for ENETC is done but needs to be reworked with new method in >> internal git tree, and will be sent out soon. > > Series applied to net-next, thanks. Actually, I had to revert, this breaks the build: drivers/net/ethernet/freescale/gianfar_ethtool.c: In function ʽgfar_get_ts_infoʼ: drivers/net/ethernet/freescale/gianfar_ethtool.c:1513:24: error: dereferencing pointer to incomplete type ʽstruct qoriq_ptpʼ info->phc_index = ptp->phc_index; ^~