net: axienet: Support shared interrupts
authorRobert Hancock <hancock@sedsystems.ca>
Thu, 6 Jun 2019 22:28:15 +0000 (16:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 23:24:29 +0000 (16:24 -0700)
commit9cbc1b6834dc6a6877271c829e9396dc2f26ae76
tree1bda9a75f114bbc71b394ac384ec2d294e277fb2
parent867d03bc238f62fcd28f287b9da8af5e483baeab
net: axienet: Support shared interrupts

Specify IRQF_SHARED to support shared interrupts. If the interrupt
handler is called and the device is not indicating an interrupt,
just return IRQ_NONE rather than spewing error messages.

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