linux/drivers/net/ethernet/stmicro/stmmac
Rayagond Kokatanur 891434b18e stmmac: add IEEE PTPv1 and PTPv2 support.
This patch enhances the stmmac driver to support IEEE 1588-2002
PTP (Precision Time Protocol) version 1 and IEEE 1588-2008 PPT
version 2.

Precision Time Protocol(PTP),which enables precise synchronization
of clocks in measurement and control systems implemented with
technologies such as network communication,local computing,
& distributed objects.

Both PTPv1 and PTPv2 is selected at run-time using the HW capability
register.

The PTPv1 TimeStamp support can be used on chips that have the normal
descriptor structures and PTPv2 TimeStamp support can be used on chips
that have the Extended descriptors(DES4-5-6-7). All such sanity checks
are done and verified by using HW capability register.

V2: in this version the ethtool support has been included in this patch;
Koptions have been completely removed (previously added to select
PTP and PTPv2). PTPv1 and PTPv2 is now added in a single patch instead of
two patches.
get_timestamp() and get_systemtime() L/H have been combined into single APIs.

Signed-off-by: Rayagond Kokatanur <rayagond@vayavyalabs.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-26 12:53:37 -04:00
..
chain_mode.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
common.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
descs_com.h stmmac: reorganize chain/ring modes removing Koptions 2013-03-26 12:53:36 -04:00
descs.h stmmac: support extend descriptors 2013-03-26 12:53:36 -04:00
dwmac100_core.c stmmac: start adding pcs and rgmii core irq 2013-03-26 12:53:36 -04:00
dwmac100_dma.c stmmac: support extend descriptors 2013-03-26 12:53:36 -04:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: initial support to manage pcs modes 2013-03-26 12:53:37 -04:00
dwmac1000_dma.c stmmac: support extend descriptors 2013-03-26 12:53:36 -04:00
dwmac1000.h stmmac: initial support to manage pcs modes 2013-03-26 12:53:37 -04:00
dwmac_dma.h stmmac: remove two repeated macros 2012-12-03 13:35:36 -05:00
dwmac_lib.c stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
enh_desc.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
Kconfig stmmac: reorganize chain/ring modes removing Koptions 2013-03-26 12:53:36 -04:00
Makefile stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
mmc_core.c stmmac: fix a typo in the macro used to mask the mmc irq 2012-08-22 19:14:31 -07:00
mmc.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
norm_desc.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
ring_mode.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac_ethtool.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac_hwtstamp.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac_main.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac_mdio.c stmmac: mdio register has to fail if the phy is not found 2013-02-10 20:12:10 -05:00
stmmac_pci.c stmmac: don't return zero on failure path in stmmac_pci_probe() 2013-02-03 16:14:09 -05:00
stmmac_platform.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
stmmac_ptp.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00