]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add support for ptp interrupts
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 31 Jan 2022 10:01:21 +0000 (11:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Feb 2022 14:18:43 +0000 (14:18 +0000)
commite85a96e48e3309c3009541b9b8dd7a27e23fd474
tree3a302c31f9a0be92f0e1288612782471682d8f83
parent77eecf25bd9d2f07673b3a62b86ba1b224b65d9e
net: lan966x: 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/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c