sfc: Add support for IEEE-1588 PTP
authorStuart Hodgson <smhodgson@solarflare.com>
Mon, 3 Sep 2012 10:09:36 +0000 (11:09 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 19 Sep 2012 01:54:12 +0000 (02:54 +0100)
commit7c236c43b838221e17220bcb39e8e8d8c7123713
tree4ef6fa19edafeddf8280c5086624ae430125be91
parent576eda8b08e00cbb0cf29ba777c2cb461c98cbbc
sfc: Add support for IEEE-1588 PTP

Add PTP IEEE-1588 support and make accesible via the PHC subsystem.

This work is based on prior code by Andrew Jackson

Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com>
[bwh:
 - Add byte order conversion in efx_ptp_send_times()
 - Simplify conversion of PPS event times
 - Add the built-in vs module check to CONFIG_SFC_PTP dependencies]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/Kconfig
drivers/net/ethernet/sfc/Makefile
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/mcdi.c
drivers/net/ethernet/sfc/mcdi_pcol.h
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/ptp.c [new file with mode: 0644]
drivers/net/ethernet/sfc/siena.c
drivers/net/ethernet/sfc/tx.c