patch-2.3.15 linux/drivers/char/pcwd.c

Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/isicom.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -246,7 +246,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)