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

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)