]> 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)
commit5e50a06341f299f40727c5fa3a9b69ae5b147477
treeda3eacfb3a9744f96a72ff9a51dec88d6c71a96c
parent9a293cc0d54c8d05bd7212a781c4174c3ecdf437
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