]> err.no Git - linux-2.6/commitdiff
scsi_mac.h: Define AUTOSENSE before include of NCR5380.h
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 16 Oct 2007 08:25:01 +0000 (10:25 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 17:01:50 +0000 (10:01 -0700)
  - Previese patch to NCR5380 broke scsi_mac because
    AUTOSENSE was defined after the inclusion of
    NCR5380.h. Fix it

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/mac_scsi.c

index cdbcaa5ad6cfbcd2b7cb89f34828515784bf12e5..abe2bda6ac37c8298ea84203a830a220f38a68f7 100644 (file)
 #include "scsi.h"
 #include <scsi/scsi_host.h>
 #include "mac_scsi.h"
+
+/* These control the behaviour of the generic 5380 core */
+#define AUTOSENSE
+#define PSEUDO_DMA
+
 #include "NCR5380.h"
 
 #if 0
@@ -571,10 +576,6 @@ static int macscsi_pwrite (struct Scsi_Host *instance,
 }
 
 
-/* These control the behaviour of the generic 5380 core */
-#define AUTOSENSE
-#define PSEUDO_DMA
-
 #include "NCR5380.c"
 
 static struct scsi_host_template driver_template = {