]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: Add optional support for Ethernet core interrupt
authorRobert Hancock <hancock@sedsystems.ca>
Thu, 6 Jun 2019 22:28:16 +0000 (16:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 23:24:29 +0000 (16:24 -0700)
commit274b61101ce9f1803ee72e408f0f42200fd65d42
treeda3eacfb3a9744f96a72ff9a51dec88d6c71a96c
parent237a3309ce5200247326b02e5f301fe47b3143c8
net: axienet: Add optional support for Ethernet core interrupt

Previously this driver only handled interrupts from the DMA RX and TX
blocks, not from the Ethernet core itself. Add optional support for
the Ethernet core interrupt, which is used to detect rx_missed and
framing errors signalled by the hardware. In order to use this
interrupt, a third interrupt needs to be specified in the device tree.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/xilinx_axienet.txt
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c