patch-2.2.0-pre6 linux/drivers/net/eexpress.c

Next file: linux/drivers/net/eth16i.c
Previous file: linux/drivers/net/eepro.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/drivers/net/eexpress.c linux/drivers/net/eexpress.c
@@ -506,7 +506,7 @@
 	printk(KERN_DEBUG "%s: eexp_xmit()\n", dev->name);
 #endif
 
-	outb(SIRQ_dis|irqrmap[dev->irq],dev->base_addr+SET_IRQ);
+	disable_irq(dev->irq);
 
 	/* If dev->tbusy is set, all our tx buffers are full but the kernel
 	 * is calling us anyway.  Check that nothing bad is happening.
@@ -543,7 +543,7 @@
 	        eexp_hw_tx_pio(dev,data,length);
 	}
 	dev_kfree_skb(buf);
-	outb(SIRQ_en|irqrmap[dev->irq],dev->base_addr+SET_IRQ);
+	enable_irq(dev->irq);
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov