patch-2.4.18 linux/drivers/scsi/mac_scsi.c
Next file: linux/drivers/scsi/megaraid.c
Previous file: linux/drivers/scsi/lasi700.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jan 7 17:36:23 2002
- Orig file:
linux.orig/drivers/scsi/mac_scsi.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/scsi/mac_scsi.c linux/drivers/scsi/mac_scsi.c
@@ -353,7 +353,7 @@
NCR5380_write( INITIATOR_COMMAND_REG, ICR_BASE );
NCR5380_read( RESET_PARITY_INTERRUPT_REG );
- for( end = jiffies + AFTER_RESET_DELAY; jiffies < end; )
+ for( end = jiffies + AFTER_RESET_DELAY; time_before(jiffies, end); )
barrier();
/* switch on SCSI IRQ again */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)