aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/dm9000.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 92233400e6f9..952e10d686ec 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -54,9 +54,6 @@
54#define writesb outsb 54#define writesb outsb
55#define writesw outsw 55#define writesw outsw
56#define writesl outsl 56#define writesl outsl
57#define DEFAULT_TRIGGER IRQF_TRIGGER_HIGH
58#else
59#define DEFAULT_TRIGGER (0)
60#endif 57#endif
61 58
62/* 59/*
@@ -1014,11 +1011,9 @@ dm9000_open(struct net_device *dev)
1014 /* If there is no IRQ type specified, default to something that 1011 /* If there is no IRQ type specified, default to something that
1015 * may work, and tell the user that this is a problem */ 1012 * may work, and tell the user that this is a problem */
1016 1013
1017 if (irqflags == IRQF_TRIGGER_NONE) { 1014 if (irqflags == IRQF_TRIGGER_NONE)
1018 dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n"); 1015 dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n");
1019 irqflags = DEFAULT_TRIGGER; 1016
1020 }
1021
1022 irqflags |= IRQF_SHARED; 1017 irqflags |= IRQF_SHARED;
1023 1018
1024 if (request_irq(dev->irq, &dm9000_interrupt, irqflags, dev->name, dev)) 1019 if (request_irq(dev->irq, &dm9000_interrupt, irqflags, dev->name, dev))