]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: xilinx: Do not use NO_IRQ in axienet
authorMichal Simek <michal.simek@xilinx.com>
Thu, 10 Jan 2013 06:58:43 +0000 (06:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jan 2013 22:28:26 +0000 (14:28 -0800)
commitdc5433353fefca050507307a404f6be85be3aca6
tree24566c4f4aea0a881c8d2ea1d711f00c8f0af8bc
parentec3c2872587b3439b428b881fdced9cb58db2117
net: ethernet: xilinx: Do not use NO_IRQ in axienet

This driver is used on Microblaze and will be used
on Arm Zynq.
Microblaze doesn't define NO_IRQ and no IRQ is 0.
Arm still uses NO_IRQ as -1 and there is no option
to connect IRQ to irq 0.

That's why <= 0 is only one option how to find out
undefined IRQ.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c