patch-2.4.23 linux-2.4.23/drivers/sbus/char/cpwatchdog.c

Next file: linux-2.4.23/drivers/sbus/char/envctrl.c
Previous file: linux-2.4.23/drivers/sbus/char/bbc_envctrl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/sbus/char/cpwatchdog.c linux-2.4.23/drivers/sbus/char/cpwatchdog.c
@@ -544,7 +544,7 @@
 static void wd_pingtimer(struct wd_timer* pTimer)
 {
 	if(wd_readb(&pTimer->regs->status) & WD_S_RUNNING) {
-		wd_readb(&pTimer->regs->dcntr);
+		wd_readw(&pTimer->regs->dcntr);
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)