]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c159c73d05bb2c9792683eb85c5c9a79aef5839
tree478d44b8899cbb179a65209281224bcd8ac5f853
parent50f5fb7bbadf0e24f3a2d84928371b05f12dc356
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