aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/natsemi/macsonic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/natsemi/macsonic.c')
-rw-r--r--drivers/net/ethernet/natsemi/macsonic.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/ethernet/natsemi/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c
index 70367d76fc8..f1b85561c65 100644
--- a/drivers/net/ethernet/natsemi/macsonic.c
+++ b/drivers/net/ethernet/natsemi/macsonic.c
@@ -142,8 +142,7 @@ static int macsonic_open(struct net_device* dev)
142{ 142{
143 int retval; 143 int retval;
144 144
145 retval = request_irq(dev->irq, sonic_interrupt, IRQ_FLG_FAST, 145 retval = request_irq(dev->irq, sonic_interrupt, 0, "sonic", dev);
146 "sonic", dev);
147 if (retval) { 146 if (retval) {
148 printk(KERN_ERR "%s: unable to get IRQ %d.\n", 147 printk(KERN_ERR "%s: unable to get IRQ %d.\n",
149 dev->name, dev->irq); 148 dev->name, dev->irq);
@@ -154,8 +153,8 @@ static int macsonic_open(struct net_device* dev)
154 * rupt as well, which must prevent re-entrance of the sonic handler. 153 * rupt as well, which must prevent re-entrance of the sonic handler.
155 */ 154 */
156 if (dev->irq == IRQ_AUTO_3) { 155 if (dev->irq == IRQ_AUTO_3) {
157 retval = request_irq(IRQ_NUBUS_9, macsonic_interrupt, 156 retval = request_irq(IRQ_NUBUS_9, macsonic_interrupt, 0,
158 IRQ_FLG_FAST, "sonic", dev); 157 "sonic", dev);
159 if (retval) { 158 if (retval) {
160 printk(KERN_ERR "%s: unable to get IRQ %d.\n", 159 printk(KERN_ERR "%s: unable to get IRQ %d.\n",
161 dev->name, IRQ_NUBUS_9); 160 dev->name, IRQ_NUBUS_9);