patch-2.1.94 linux/drivers/acorn/scsi/cumana_2.c

Next file: linux/drivers/acorn/scsi/ecoscsi.c
Previous file: linux/drivers/acorn/scsi/cumana_1.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.93/linux/drivers/acorn/scsi/cumana_2.c linux/drivers/acorn/scsi/cumana_2.c
@@ -114,7 +114,7 @@
 	    unsigned long word;
 
 
-	    if (inb (REG0_STATUS(&info->info)) & STATUS_INT)
+	    if (inb (REG_STAT(&info->info)) & STAT_INT)
 		goto end;
 
 	    if (!(inb (info->cstatus) & CSTATUS_DRQ))
@@ -131,7 +131,7 @@
     else {
 	if (transfer && (transfer & 255)) {
 	    while (length >= 256) {
-		if (inb (REG0_STATUS(&info->info)) & STATUS_INT)
+		if (inb (REG_STAT(&info->info)) & STAT_INT)
 		    goto end;
 	    
 		if (!(inb (info->cstatus) & CSTATUS_DRQ))
@@ -146,7 +146,7 @@
 	while (length > 0) {
 	    unsigned long word;
 
-	    if (inb (REG0_STATUS(&info->info)) & STATUS_INT)
+	    if (inb (REG_STAT(&info->info)) & STAT_INT)
 		goto end;
 	    
 	    if (!(inb (info->cstatus) & CSTATUS_DRQ))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov