diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-06-09 12:42:57 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-09 12:42:57 -0600 |
commit | e4c8308c852e6b3fa49215052a5b9e99597dee99 (patch) | |
tree | a44ef3377c17d69c2210e809ac2552540ce6f1fc /drivers/net/dm9000.c | |
parent | c37f3c2749b53225d36faa5c583203c5f12ae15b (diff) | |
parent | 626a96db11698119a67eeda130488e869aa6f14e (diff) |
Merge branch 'ep93xx-dma' into spi/next
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r-- | drivers/net/dm9000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index fbaff3584bd..ee597e676ee 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c @@ -1157,9 +1157,6 @@ dm9000_open(struct net_device *dev) irqflags |= IRQF_SHARED; - if (request_irq(dev->irq, dm9000_interrupt, irqflags, dev->name, dev)) - return -EAGAIN; - /* GPIO0 on pre-activate PHY, Reg 1F is not set by reset */ iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */ mdelay(1); /* delay needs by DM9000B */ @@ -1168,6 +1165,9 @@ dm9000_open(struct net_device *dev) dm9000_reset(db); dm9000_init_dm9000(dev); + if (request_irq(dev->irq, dm9000_interrupt, irqflags, dev->name, dev)) + return -EAGAIN; + /* Init driver variable */ db->dbug_cnt = 0; |