]> 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)
commit81a46ac87dfea70989aed2096366d65c268dbf42
treef2bf3a5de61461f6f20f87a5f47ec3b4874c803d
parent41dc67cd4e0d681dc38c428a7aaad96a9bacc07d
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