]> git.baikalelectronics.ru Git - kernel.git/commit
macb: Common code to enable ptp support for MACB/GEM
authorAndrei.Pistirica@microchip.com <Andrei.Pistirica@microchip.com>
Thu, 19 Jan 2017 15:56:15 +0000 (17:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jan 2017 16:45:54 +0000 (11:45 -0500)
commit68ad0794afb6261ea01af880bc42bad51e76dc83
tree9ddafe9a66d31fee91c868338a157ad2c3e2bc17
parentc0a9fd9fe6a40b8f3ba10eb856f619aca97e5f7c
macb: Common code to enable ptp support for MACB/GEM

This patch does the following:
- MACB/GEM-PTP interface
- registers and bitfields for TSU
- capability flags to enable PTP per platform basis

Signed-off-by: Andrei Pistirica <andrei.pistirica@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h