]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] network: pcnet_cs: remove the code to change the E8390_CMD register from...
authorKomuro <komurojun-mbn@nifty.com>
Sun, 15 Oct 2006 01:08:00 +0000 (10:08 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:02 +0000 (00:12 -0500)
Remove the code to change the E8390_CMD register from ei_watchdog().
The 8390-page is always 0 outside the spin_lock.

Signed-off-by: komurojun-mbn@nifty.com
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcmcia/pcnet_cs.c

index 0c00d182e7fd3677a63c027e6ec878b85f2f7652..c51cc5d8789ab1dbf5fef6fd83e5fffe1cab853e 100644 (file)
@@ -1096,7 +1096,6 @@ static void ei_watchdog(u_long arg)
 
     /* Check for pending interrupt with expired latency timer: with
        this, we can limp along even if the interrupt is blocked */
-    outb_p(E8390_NODMA+E8390_PAGE0, nic_base + E8390_CMD);
     if (info->stale++ && (inb_p(nic_base + EN0_ISR) & ENISR_ALL)) {
        if (!info->fast_poll)
            printk(KERN_INFO "%s: interrupt(s) dropped!\n", dev->name);