[parisc-linux-cvs] fix for sim700.c on 53c700 chips

Richard Hirst rhirst@linuxcare.com
Mon, 2 Apr 2001 23:44:46 +0100


This one crept in in the 64 bit cleanup.

Richard.


===================================================================
RCS file: /home/cvs/parisc/linux/drivers/scsi/sim700.c,v
retrieving revision 1.25
diff -u -r1.25 sim700.c
--- sim700.c    2001/03/20 07:04:51     1.25
+++ sim700.c    2001/04/02 22:36:25
@@ -1254,7 +1254,7 @@
            resume_offset = Ent_reselect;
        }
        else if (hostdata->chip == 700 && (dstat & DSTAT_ABRT)) {
-           u32 offset = (dsp - low32(targdata->ba->script)/4);
+           u32 offset = (dsp - low32(targdata->ba->script))/4;
            if (offset == Ent_reselect/4 + 4) {
                DEB(DEB_DISC, printk("scsi%d: wait reselect aborted\n", host->host_no));
                resume_offset = Ent_patch_selection;