Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134585
b: refs/heads/master
c: f11bf7a
h: refs/heads/master
i:
  134583: d86a84b
v: v3
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent d890881 commit 032162b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1256f7394cc08c60d4502a2f08d7260f3fd97d56
refs/heads/master: f11bf7a31e9a3dccf893e0fceeb1d7d9fd4dfcb4
6 changes: 3 additions & 3 deletions trunk/drivers/net/e2100.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ static int __init e21_probe1(struct net_device *dev, int ioaddr)
printk(" %02X", station_addr[i]);

if (dev->irq < 2) {
int irqlist[] = {15,11,10,12,5,9,3,4}, i;
for (i = 0; i < 8; i++)
int irqlist[] = {15, 11, 10, 12, 5, 9, 3, 4};
for (i = 0; i < ARRAY_SIZE(irqlist); i++)
if (request_irq (irqlist[i], NULL, 0, "bogus", NULL) != -EBUSY) {
dev->irq = irqlist[i];
break;
}
if (i >= 8) {
if (i >= ARRAY_SIZE(irqlist)) {
printk(" unable to get IRQ %d.\n", dev->irq);
retval = -EAGAIN;
goto out;
Expand Down

0 comments on commit 032162b

Please sign in to comment.