From: Komuro Date: Sun, 15 Oct 2006 01:08:00 +0000 (+0900) Subject: [PATCH] network: pcnet_cs: remove the code to change the E8390_CMD register from... X-Git-Tag: v2.6.20-rc2~6^2~13^2~468^2~64 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ac7468e923278cdcb202f8aa992d8f2776f8344c;p=~emulex%2Finfiniband.git [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 --- diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 0c00d182e7f..c51cc5d8789 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/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);