patch-2.2.12 linux/drivers/char/pcwd.c
Next file: linux/drivers/char/planb.c
Previous file: linux/drivers/char/nvram.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Aug 25 17:29:47 1999
- Orig file:
v2.2.11/linux/drivers/char/pcwd.c
- Orig date:
Mon Aug 24 13:14:10 1998
diff -u --recursive --new-file v2.2.11/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -243,7 +243,10 @@
return i ? -EFAULT : 0;
case WDIOC_GETSTATUS:
+ if (revision == PCWD_REVISION_A)
cdat = inb(current_readport);
+ else
+ cdat = inb(current_readport + 1 );
rv = 0;
if (revision == PCWD_REVISION_A)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)