OSDN Git Service

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)
commit522856cefaf09d1a06ddc02535c7e1e81730c278
treeda3eacfb3a9744f96a72ff9a51dec88d6c71a96c
parent9cbc1b6834dc6a6877271c829e9396dc2f26ae76
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