dm9000: acquire irq flags from device tree
authorAndrew Ruder <andrew.ruder@elecsyscorp.com>
Wed, 4 Jun 2014 22:28:44 +0000 (17:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 22:12:10 +0000 (15:12 -0700)
commit6b50d038e7c668eb60b18c2fba8982a22e36527e
tree478d44b8899cbb179a65209281224bcd8ac5f853
parent3b392ddba25a95dcf5fb30b33358961c49dd5cfc
dm9000: acquire irq flags from device tree

The DM9000 supports both active high interrupts and active low interrupts.
This is configured via the attached EEPROM.  In the device-tree case, make sure
that the DM9000 driver passes the correct flags to request_irq.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c