Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac7468e9 authored by Komuro's avatar Komuro Committed by Jeff Garzik
Browse files

[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: default avatar <komurojun-mbn@nifty.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent f4344848
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);