commit | cb59c87dbc8be2ffa692c50bd22f89025ba7a342 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Jan 10 06:58:43 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 10 14:28:26 2013 -0800 |
tree | 24566c4f4aea0a881c8d2ea1d711f00c8f0af8bc | |
parent | 94b144a7799e9150ae871330b9b9d8e30401220e [diff] |
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>