Sfoglia il codice sorgente

[PATCH] network: pcnet_cs: remove the code to change the E8390_CMD register from ei_watchdog()

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>
Komuro 18 anni fa
parent
commit
ac7468e923
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      drivers/net/pcmcia/pcnet_cs.c

+ 0 - 1
drivers/net/pcmcia/pcnet_cs.c

@@ -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);