patch-1.3.78 linux/drivers/scsi/NCR5380.c

Next file: linux/drivers/scsi/README.g_NCR5380
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/drivers/scsi/NCR5380.c linux/drivers/scsi/NCR5380.c
@@ -2185,7 +2185,7 @@
 
     *data = d + c;
     *count = 0;
-    *phase = (NCR5380_read(STATUS_REG & PHASE_MASK));
+    *phase = NCR5380_read(STATUS_REG) & PHASE_MASK;
 #if 0
     NCR5380_print_phase(instance);
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this