Commit e744fdea authored by Boaz Harrosh's avatar Boaz Harrosh Committed by Linus Torvalds

scsi_mac.h: Define AUTOSENSE before include of NCR5380.h

  - Previese patch to NCR5380 broke scsi_mac because
    AUTOSENSE was defined after the inclusion of
    NCR5380.h. Fix it
Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a56daeb7
...@@ -53,6 +53,11 @@ ...@@ -53,6 +53,11 @@
#include "scsi.h" #include "scsi.h"
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#include "mac_scsi.h" #include "mac_scsi.h"
/* These control the behaviour of the generic 5380 core */
#define AUTOSENSE
#define PSEUDO_DMA
#include "NCR5380.h" #include "NCR5380.h"
#if 0 #if 0
...@@ -571,10 +576,6 @@ static int macscsi_pwrite (struct Scsi_Host *instance, ...@@ -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" #include "NCR5380.c"
static struct scsi_host_template driver_template = { static struct scsi_host_template driver_template = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment