Re: [GIT PATCH] SCSI updates for 2.6.24

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Geert Uytterhoeven <geert@...>
Cc: James Bottomley <James.Bottomley@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, linux-scsi <linux-scsi@...>, linux-kernel <linux-kernel@...>, Linux/m68k <linux-m68k@...>
Date: Tuesday, October 16, 2007 - 4:28 am

On Tue, Oct 16 2007 at 8:49 +0200, Geert Uytterhoeven <geert@linux-m68k.org> wrote:

fix below, Sorry.
----
From 1e10cf1a39ff4909696a5c7950367261b38b3345 Mon Sep 17 00:00:00 2001
From: Boaz Harrosh <bharrosh@panasas.com>
Date: Tue, 16 Oct 2007 10:25:01 +0200
Subject: [PATCH] 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: Boaz Harrosh <bharrosh@panasas.com>
---
 drivers/scsi/mac_scsi.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c
index cdbcaa5..abe2bda 100644
--- a/drivers/scsi/mac_scsi.c
+++ b/drivers/scsi/mac_scsi.c
@@ -53,6 +53,11 @@
 #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 = {
-- 
1.5.3.1

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] SCSI updates for 2.6.24, James Bottomley, (Mon Oct 15, 12:09 am)
Re: [GIT PATCH] SCSI updates for 2.6.24, FUJITA Tomonori, (Wed Oct 17, 12:20 am)
Re: [GIT PATCH] SCSI updates for 2.6.24, James Bottomley, (Wed Oct 17, 8:08 am)
Re: [GIT PATCH] SCSI updates for 2.6.24, Geert Uytterhoeven, (Tue Oct 16, 2:49 am)
Re: [GIT PATCH] SCSI updates for 2.6.24, Boaz Harrosh, (Tue Oct 16, 4:28 am)
Re: [GIT PATCH] SCSI updates for 2.6.24, Geert Uytterhoeven, (Tue Oct 16, 3:21 pm)