]> git.baikalelectronics.ru Git - kernel.git/commit
net: sparx5: Add support for ptp interrupts
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Fri, 4 Mar 2022 11:08:59 +0000 (12:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 13:03:10 +0000 (13:03 +0000)
commit96d31f2dfbd08b55a5be4080e0a24133bed1a821
treef2bf3a5de61461f6f20f87a5f47ec3b4874c803d
parent3554020583c6804053965280f0ae0772b2d775c9
net: sparx5: Add support for ptp interrupts

When doing 2-step timestamping the HW will generate an interrupt when it
managed to timestamp a frame. It is the SW responsibility to read it
from the FIFO.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/sparx5/sparx5_ptp.c