[GIT PATCH] SCSI updates for 2.6.24 (part 1)

2008-01-25 Thread James Bottomley
We have a difficult merge this time; the SCSI tree is split between
components that can go now and pieces that are waiting on other trees.
Part 1 is the components that can go now ... you'll be getting part 2
towards the end of the merge window.

There's misc driver updates, the accessor conversions (peparation for
large scatterlists) and tons of other misc updates.

There are also some sysfs changes (with Greg's ack) because of the way
the dependencies thread through SCSI.

The patch is available here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git

The short changelog is:

Adrian Bunk (4):
  qla2xxx: Code cleanups.
  megaraid: add __devexit annotation
  lpfc: minor cleanups
  53c7xx: fix removal fallout

Alan Cox (1):
  aacraid: fix security weakness

Andi Kleen (1):
  sg: Only print SCSI data direction warning once for a command

Andrew Morton (1):
  sgiwd93: export sgiwd93_reset()

Andrew Vasquez (13):
  qla2xxx: Update version number to 8.02.00-k7.
  qla2xxx: Correct late-memset() of EFT buffer.
  qla2xxx: Add Fibre Channel Event (FCE) tracing support.
  qla2xxx: Trace-Control naming cleanups.
  qla2xxx: Don't schedule the DPC routine to perform an issue-lip request.
  qla2xxx: Restrict MSI/MSI-X enablement on select ISP2432-type HBAs.
  qla2xxx: Wait for FLASH write-protection to complete after a write.
  qla2xxx: Fix for 32-bit platforms with 64-bit resources.
  qla2xxx: Retrieve additional HBA port statistics from recent ISPs.
  qla2xxx: Consolidate duplicate sense-data handling codes.
  qla2xxx: Update version number to 8.02.00-k6.
  qla2xxx: Correct NPIV support for recent ISPs.
  qla2xxx: Don't explicitly read mbx registers while processing a system-err

Boaz Harrosh (26):
  libiscsi,iser: patch for AHS support
  iscsi_tcp, libiscsi: initial AHS Support
  iscsi: Prettify resid handling and some extra checks
  imm: convert to accessors and !use_sg cleanup
  ppa: convert to accessors and !use_sg cleanup
  NCR5380 family: convert to accessors & !use_sg cleanup
  wd7000: proper fix for boards without sg support
  atp870u: convert to accessors and !use_sg cleanup
  scsi_debug: convert to use the data buffer accessors
  isd200: use one-element sg list in issuing commands
  usb: transport - convert to accessors and !use_sg code path removal
  usb: shuttle_usbat - convert to accessors and !use_sg code path removal
  usb: freecom & sddr09 - convert to accessors and !use_sg cleanup
  usb: protocol - convert to accessors and !use_sg code path removal
  seagate: Remove driver
  psi240i: remove driver
  in2000: convert to accessors and !use_sg cleanup
  qlogicpti: convert to accessors and !use_sg cleanup
  wd33c93: convert to accessors and !use_sg cleanup
  fd_mcs: convert to accessors and !use_sg cleanup
  aha1542: convert to accessors and !use_sg cleanup
  a3000: convert to accessors and !use_sg cleanup
  a2091: convert to accessors and !use_sg cleanup
  eata_pio: convert to accessors and !use_sg cleanup
  nsp_cs: convert to data accessors and !use_sg cleanup
  aha152x: Use scsi_eh API for REQUEST_SENSE invocation

Brian King (1):
  ibmvscsi: Set default command timeout

Christof Schmitt (11):
  zfcp: Hold queue lock when checking port/unit handle for task management c
  zfcp: Hold queue lock when checking port/unit handle for FCP command
  zfcp: Hold queue lock when checking port handle for ELS command
  zfcp: Hold queue lock when checking port/unit handle for abort command
  zfcp: Fix evaluation of port handles in abort handler
  zfcp: Reduce flood on hba trace
  zfcp: Fix deadlock when adding invalid LUN
  zfcp: Remove SCSI devices when removing complete adapter
  zfcp: Specify waiting times in ERP in seconds
  zfcp: Use also port and adapter to identify unit in messages.
  zfcp: Remove unnecessary eh_bus_reset_handler callback

Christoph Hellwig (1):
  aacraid: don't assign cpu_to_le32(int) to u8

Darrick J. Wong (2):
  libsas: Fix various sparse complaints
  libsas: Convert sas_proto users to sas_protocol

Denis Cheng (1):
  ipr: use LIST_HEAD instead of LIST_HEAD_INIT

Erez Zilber (1):
  IB/iSER: add logical unit reset support

FUJITA Tomonori (13):
  ch: remove forward declarations
  ch: fix device minor number management bug
  ch: handle class_device_create failure properly
  use dynamically allocated sense buffer
  sg: handle class_device_create failure properly
  sg: set class_data after success
  replace sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE
  aic7xxx_old, eata_pio, ips, libsas: don't zero out sense_buffer in queueco
  libsas: fix sense_buffer overrun
  fix scsi_setup_command_freelist failure path race
  mpt fusion: make mptsas_smp_handler update resid
  iscsi_tcp: 

[GIT PATCH] SCSI updates for 2.6.24 (part 1)

2008-01-25 Thread James Bottomley
We have a difficult merge this time; the SCSI tree is split between
components that can go now and pieces that are waiting on other trees.
Part 1 is the components that can go now ... you'll be getting part 2
towards the end of the merge window.

There's misc driver updates, the accessor conversions (peparation for
large scatterlists) and tons of other misc updates.

There are also some sysfs changes (with Greg's ack) because of the way
the dependencies thread through SCSI.

The patch is available here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git

The short changelog is:

Adrian Bunk (4):
  qla2xxx: Code cleanups.
  megaraid: add __devexit annotation
  lpfc: minor cleanups
  53c7xx: fix removal fallout

Alan Cox (1):
  aacraid: fix security weakness

Andi Kleen (1):
  sg: Only print SCSI data direction warning once for a command

Andrew Morton (1):
  sgiwd93: export sgiwd93_reset()

Andrew Vasquez (13):
  qla2xxx: Update version number to 8.02.00-k7.
  qla2xxx: Correct late-memset() of EFT buffer.
  qla2xxx: Add Fibre Channel Event (FCE) tracing support.
  qla2xxx: Trace-Control naming cleanups.
  qla2xxx: Don't schedule the DPC routine to perform an issue-lip request.
  qla2xxx: Restrict MSI/MSI-X enablement on select ISP2432-type HBAs.
  qla2xxx: Wait for FLASH write-protection to complete after a write.
  qla2xxx: Fix for 32-bit platforms with 64-bit resources.
  qla2xxx: Retrieve additional HBA port statistics from recent ISPs.
  qla2xxx: Consolidate duplicate sense-data handling codes.
  qla2xxx: Update version number to 8.02.00-k6.
  qla2xxx: Correct NPIV support for recent ISPs.
  qla2xxx: Don't explicitly read mbx registers while processing a system-err

Boaz Harrosh (26):
  libiscsi,iser: patch for AHS support
  iscsi_tcp, libiscsi: initial AHS Support
  iscsi: Prettify resid handling and some extra checks
  imm: convert to accessors and !use_sg cleanup
  ppa: convert to accessors and !use_sg cleanup
  NCR5380 family: convert to accessors  !use_sg cleanup
  wd7000: proper fix for boards without sg support
  atp870u: convert to accessors and !use_sg cleanup
  scsi_debug: convert to use the data buffer accessors
  isd200: use one-element sg list in issuing commands
  usb: transport - convert to accessors and !use_sg code path removal
  usb: shuttle_usbat - convert to accessors and !use_sg code path removal
  usb: freecom  sddr09 - convert to accessors and !use_sg cleanup
  usb: protocol - convert to accessors and !use_sg code path removal
  seagate: Remove driver
  psi240i: remove driver
  in2000: convert to accessors and !use_sg cleanup
  qlogicpti: convert to accessors and !use_sg cleanup
  wd33c93: convert to accessors and !use_sg cleanup
  fd_mcs: convert to accessors and !use_sg cleanup
  aha1542: convert to accessors and !use_sg cleanup
  a3000: convert to accessors and !use_sg cleanup
  a2091: convert to accessors and !use_sg cleanup
  eata_pio: convert to accessors and !use_sg cleanup
  nsp_cs: convert to data accessors and !use_sg cleanup
  aha152x: Use scsi_eh API for REQUEST_SENSE invocation

Brian King (1):
  ibmvscsi: Set default command timeout

Christof Schmitt (11):
  zfcp: Hold queue lock when checking port/unit handle for task management c
  zfcp: Hold queue lock when checking port/unit handle for FCP command
  zfcp: Hold queue lock when checking port handle for ELS command
  zfcp: Hold queue lock when checking port/unit handle for abort command
  zfcp: Fix evaluation of port handles in abort handler
  zfcp: Reduce flood on hba trace
  zfcp: Fix deadlock when adding invalid LUN
  zfcp: Remove SCSI devices when removing complete adapter
  zfcp: Specify waiting times in ERP in seconds
  zfcp: Use also port and adapter to identify unit in messages.
  zfcp: Remove unnecessary eh_bus_reset_handler callback

Christoph Hellwig (1):
  aacraid: don't assign cpu_to_le32(int) to u8

Darrick J. Wong (2):
  libsas: Fix various sparse complaints
  libsas: Convert sas_proto users to sas_protocol

Denis Cheng (1):
  ipr: use LIST_HEAD instead of LIST_HEAD_INIT

Erez Zilber (1):
  IB/iSER: add logical unit reset support

FUJITA Tomonori (13):
  ch: remove forward declarations
  ch: fix device minor number management bug
  ch: handle class_device_create failure properly
  use dynamically allocated sense buffer
  sg: handle class_device_create failure properly
  sg: set class_data after success
  replace sizeof sense_buffer with SCSI_SENSE_BUFFERSIZE
  aic7xxx_old, eata_pio, ips, libsas: don't zero out sense_buffer in queueco
  libsas: fix sense_buffer overrun
  fix scsi_setup_command_freelist failure path race
  mpt fusion: make mptsas_smp_handler update resid
  iscsi_tcp: update 

Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-17 Thread James Bottomley
On Wed, 2007-10-17 at 13:20 +0900, FUJITA Tomonori wrote:
> On Mon, 15 Oct 2007 00:09:41 -0400
> James Bottomley <[EMAIL PROTECTED]> wrote:
> 
> > This is the accumulated updates queued for 2.6.24.  It contains the
> > usual slew of driver updates, plus some gdth and advansys rewrites.  We
> > still have some outstanding bugs in gdth and fc4 for which I'm hoping to
> > sweep fixes into the next update.
> > 
> > The patch is available here:
> > 
> > master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
> > 
> > The short changelog is:
> 
> (snip)
> 
> > James Bottomley (4):
> >   Fix device not ready printk
> >   sg: use idr to replace static arrays
> >   move ULD attachment into the prep function
> >   arcmsr: fix compile problems
> 
> The patch to beautify supported_mode and active_mode in sysfs?
> 
> http://marc.info/?l=linux-kernel=119077857701415=2

Well, I suppose losing your own patches is a sign of fairness in patch
loss ... OK I'll stick them in.

James


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-17 Thread James Bottomley
On Wed, 2007-10-17 at 13:20 +0900, FUJITA Tomonori wrote:
 On Mon, 15 Oct 2007 00:09:41 -0400
 James Bottomley [EMAIL PROTECTED] wrote:
 
  This is the accumulated updates queued for 2.6.24.  It contains the
  usual slew of driver updates, plus some gdth and advansys rewrites.  We
  still have some outstanding bugs in gdth and fc4 for which I'm hoping to
  sweep fixes into the next update.
  
  The patch is available here:
  
  master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
  
  The short changelog is:
 
 (snip)
 
  James Bottomley (4):
Fix device not ready printk
sg: use idr to replace static arrays
move ULD attachment into the prep function
arcmsr: fix compile problems
 
 The patch to beautify supported_mode and active_mode in sysfs?
 
 http://marc.info/?l=linux-kernelm=119077857701415w=2

Well, I suppose losing your own patches is a sign of fairness in patch
loss ... OK I'll stick them in.

James


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread FUJITA Tomonori
On Mon, 15 Oct 2007 00:09:41 -0400
James Bottomley <[EMAIL PROTECTED]> wrote:

> This is the accumulated updates queued for 2.6.24.  It contains the
> usual slew of driver updates, plus some gdth and advansys rewrites.  We
> still have some outstanding bugs in gdth and fc4 for which I'm hoping to
> sweep fixes into the next update.
> 
> The patch is available here:
> 
> master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
> 
> The short changelog is:

(snip)

> James Bottomley (4):
>   Fix device not ready printk
>   sg: use idr to replace static arrays
>   move ULD attachment into the prep function
>   arcmsr: fix compile problems

The patch to beautify supported_mode and active_mode in sysfs?

http://marc.info/?l=linux-kernel=119077857701415=2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Geert Uytterhoeven
On Tue, 16 Oct 2007, Boaz Harrosh wrote:
> On Tue, Oct 16 2007 at 8:49 +0200, Geert Uytterhoeven <[EMAIL PROTECTED]> 
> wrote:
> > On Mon, 15 Oct 2007, James Bottomley wrote:
> >> This is the accumulated updates queued for 2.6.24.  It contains the
> >> usual slew of driver updates, plus some gdth and advansys rewrites.  We
> >> still have some outstanding bugs in gdth and fc4 for which I'm hoping to
> >> sweep fixes into the next update.
> > 
> >> Boaz Harrosh (12):
> >>   NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
> > 
> > This change broke compilation of the mac_scsi.c driver:
> > 
> > | linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
> > | linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has 
> > no member named 'ses'
> > | linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has 
> > no member named 'ses'
> > | linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has 
> > no member named 'ses'
> > | linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has 
> > no member named 'ses'
> > 
> fix below, Sorry.
> 
> >From 1e10cf1a39ff4909696a5c7950367261b38b3345 Mon Sep 17 00:00:00 2001
> From: Boaz Harrosh <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>

Acked-by: Geert Uytterhoeven <[EMAIL PROTECTED]>

> ---
>  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 
>  #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
> 
> 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Boaz Harrosh
On Tue, Oct 16 2007 at 8:49 +0200, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote:
> On Mon, 15 Oct 2007, James Bottomley wrote:
>> This is the accumulated updates queued for 2.6.24.  It contains the
>> usual slew of driver updates, plus some gdth and advansys rewrites.  We
>> still have some outstanding bugs in gdth and fc4 for which I'm hoping to
>> sweep fixes into the next update.
> 
>> Boaz Harrosh (12):
>>   NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
> 
> This change broke compilation of the mac_scsi.c driver:
> 
> | linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
> | linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has no 
> member named 'ses'
> | linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has no 
> member named 'ses'
> | linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has no 
> member named 'ses'
> | linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has no 
> member named 'ses'
> 
> Gr{oetje,eeting}s,
> 
>   Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like 
> that.
>   -- Linus Torvalds

fix below, Sorry.

>From 1e10cf1a39ff4909696a5c7950367261b38b3345 Mon Sep 17 00:00:00 2001
From: Boaz Harrosh <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
 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 
 #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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Geert Uytterhoeven
On Mon, 15 Oct 2007, James Bottomley wrote:
> This is the accumulated updates queued for 2.6.24.  It contains the
> usual slew of driver updates, plus some gdth and advansys rewrites.  We
> still have some outstanding bugs in gdth and fc4 for which I'm hoping to
> sweep fixes into the next update.

> Boaz Harrosh (12):
>   NCR5380: Use scsi_eh API for REQUEST_SENSE invocation

This change broke compilation of the mac_scsi.c driver:

| linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
| linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has no 
member named 'ses'

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Geert Uytterhoeven
On Mon, 15 Oct 2007, James Bottomley wrote:
 This is the accumulated updates queued for 2.6.24.  It contains the
 usual slew of driver updates, plus some gdth and advansys rewrites.  We
 still have some outstanding bugs in gdth and fc4 for which I'm hoping to
 sweep fixes into the next update.

 Boaz Harrosh (12):
   NCR5380: Use scsi_eh API for REQUEST_SENSE invocation

This change broke compilation of the mac_scsi.c driver:

| linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
| linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has no 
member named 'ses'
| linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has no 
member named 'ses'

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Boaz Harrosh
On Tue, Oct 16 2007 at 8:49 +0200, Geert Uytterhoeven [EMAIL PROTECTED] wrote:
 On Mon, 15 Oct 2007, James Bottomley wrote:
 This is the accumulated updates queued for 2.6.24.  It contains the
 usual slew of driver updates, plus some gdth and advansys rewrites.  We
 still have some outstanding bugs in gdth and fc4 for which I'm hoping to
 sweep fixes into the next update.
 
 Boaz Harrosh (12):
   NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
 
 This change broke compilation of the mac_scsi.c driver:
 
 | linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
 | linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has no 
 member named 'ses'
 | linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has no 
 member named 'ses'
 | linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has no 
 member named 'ses'
 | linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has no 
 member named 'ses'
 
 Gr{oetje,eeting}s,
 
   Geert
 
 --
 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]
 
 In personal conversations with technical people, I call myself a hacker. But
 when I'm talking to journalists I just say programmer or something like 
 that.
   -- Linus Torvalds

fix below, Sorry.

From 1e10cf1a39ff4909696a5c7950367261b38b3345 Mon Sep 17 00:00:00 2001
From: Boaz Harrosh [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
---
 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

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread Geert Uytterhoeven
On Tue, 16 Oct 2007, Boaz Harrosh wrote:
 On Tue, Oct 16 2007 at 8:49 +0200, Geert Uytterhoeven [EMAIL PROTECTED] 
 wrote:
  On Mon, 15 Oct 2007, James Bottomley wrote:
  This is the accumulated updates queued for 2.6.24.  It contains the
  usual slew of driver updates, plus some gdth and advansys rewrites.  We
  still have some outstanding bugs in gdth and fc4 for which I'm hoping to
  sweep fixes into the next update.
  
  Boaz Harrosh (12):
NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
  
  This change broke compilation of the mac_scsi.c driver:
  
  | linux/drivers/scsi/NCR5380.c: In function 'NCR5380_information_transfer':
  | linux/drivers/scsi/NCR5380.c:2282: error: 'struct NCR5380_hostdata' has 
  no member named 'ses'
  | linux/drivers/scsi/NCR5380.c:2283: error: 'struct NCR5380_hostdata' has 
  no member named 'ses'
  | linux/drivers/scsi/NCR5380.c:2284: error: 'struct NCR5380_hostdata' has 
  no member named 'ses'
  | linux/drivers/scsi/NCR5380.c:2288: error: 'struct NCR5380_hostdata' has 
  no member named 'ses'
  
 fix below, Sorry.
 
 From 1e10cf1a39ff4909696a5c7950367261b38b3345 Mon Sep 17 00:00:00 2001
 From: Boaz Harrosh [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]

Acked-by: Geert Uytterhoeven [EMAIL PROTECTED]

 ---
  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
 
 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PATCH] SCSI updates for 2.6.24

2007-10-16 Thread FUJITA Tomonori
On Mon, 15 Oct 2007 00:09:41 -0400
James Bottomley [EMAIL PROTECTED] wrote:

 This is the accumulated updates queued for 2.6.24.  It contains the
 usual slew of driver updates, plus some gdth and advansys rewrites.  We
 still have some outstanding bugs in gdth and fc4 for which I'm hoping to
 sweep fixes into the next update.
 
 The patch is available here:
 
 master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
 
 The short changelog is:

(snip)

 James Bottomley (4):
   Fix device not ready printk
   sg: use idr to replace static arrays
   move ULD attachment into the prep function
   arcmsr: fix compile problems

The patch to beautify supported_mode and active_mode in sysfs?

http://marc.info/?l=linux-kernelm=119077857701415w=2
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PATCH] SCSI updates for 2.6.24

2007-10-14 Thread James Bottomley
This is the accumulated updates queued for 2.6.24.  It contains the
usual slew of driver updates, plus some gdth and advansys rewrites.  We
still have some outstanding bugs in gdth and fc4 for which I'm hoping to
sweep fixes into the next update.

The patch is available here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git

The short changelog is:

Adrian Bunk (5):
  esp_scsi: remove __dev{init,exit}
  imm: fix check-after-use
  nsp_cs: remove kernel 2.4 code
  make scsi_decode_sense_buffer and scsi_decode_sense_extras static
  scsi_error.c should #include "scsi_transport_api.h"

Alan Cox (3):
  dtc: Fix typo
  eata_pio: Clean up proc handling, bracketing and use cpu_relax()
  dtc: clean up indent damage and add printk levels

Andrew Morton (3):
  arcmsr: build fix
  ips: warning fix
  aacraid: rename check_reset

Andrew Vasquez (15):
  qla2xxx: Update version number to 8.02.00-k4.
  qla2xxx: Limit iIDMA speed adjustments.
  qla2xxx: Rework MSI-X handlers.
  qla2xxx: Clear options-flags while staging firmware-execution.
  qla2xxx: Sparse cleanups in qla_mid.c
  qla2xxx: Cleanup several 'sparse' warnings.
  qla2xxx: Use shost_priv().
  qla2xxx: Remove unused member (list) from srb_t structure.
  qla2xxx: Use the correct pointer-address during NVRAM writes.
  qla2xxx: Set correct attribute count during FDMI RPA.
  qla2xxx: Query additional RISC registers during ISP25XX firmware dump.
  qla2xxx: Correct staging of RISC while attempting to pause.
  qla2xxx: Query additional RISC information during a pause.
  qla2xxx: Add flash burst-read/write support.
  qla2xxx: Collapse and simplify ISP2XXX firmware dump routines.

Bartlomiej Zolnierkiewicz (1):
  MAINTAINERS: mark ide-scsi as Orphan

Bernhard Walle (1):
  ips: Update version information

Boaz Harrosh (12):
  gdth: !use_sg cleanup and use of scsi accessors
  gdth: Move members from SCp to gdth_cmndinfo, stage 2
  gdth: Setup proper per-command private data
  gdth: Remove gdth_ctr_tab[]
  gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes
  gdth: clean up host private data
  NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
  usb storage: use scsi_eh API in REQUEST_SENSE execution
  scsi_error: Refactoring scsi_error to facilitate in synchronous REQUEST_SE
  scsi_error: code cleanup before refactoring of scsi_send_eh_cmnd()
  ide-scsi.: convert to data accessors and !use_sg cleanup
  microtek: use data accessors and !use_sg cleanup

Christof Schmitt (5):
  zfcp: Enable debug feature before setting adapter online
  scsi_transport_fc: Introduce disable_target_scan flag
  zfcp: Remove braces for only one statement
  zfcp: Remove unnecessary assignment
  zfcp: correct indentation for nested if-else

Christoph Hellwig (5):
  gdth: switch to modern scsi host registration
  gdth: Remove virt hosts
  gdth: split out pci probing
  gdth: split out eisa probing
  gdth: split out isa probing

David Woodhouse (1):
  Fix ibmvscsi client for multiplatform iSeries+pSeries kernel

Dhaval Giani (1):
  gdth: fix CONFIG_ISA build failure

Eric Moore (16):
  mptctl : shutup uninitialized variable warnings
  mptlan: bug fix, only half the message frame is dma'd resulting in corrupt
  mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and sh
  mpt fusion: lock down ScsiLookup
  mpt fusion: Fix sparse warnings
  mpt fusion: add use of shost_priv and remove all the typecasting
  MAINTAINERS : mpt fusion mailing list change
  mpt fusion: bump version to 3.04.06
  mpt fusion: Kconfig cleanup
  mpt fusion: removing Dell copyright
  mpt fusion: removing references to hd->ioc
  mpt fusion: rename vdev to vdevice
  mpt fusion: adding/removing white space
  mpt fusion: standardize printks and debug info
  mpt fusion: Add support for ATTO 4LD: Rebranded LSI 53C1030
  Addition to pci_ids.h for ATTO Technology, Inc.

FUJITA Tomonori (17):
  srp_transport: convert to use supported_mode attribute
  fc_transport: add target driver support
  add supported_mode and active_mode attributes to the host
  tgt: fix can_queue bug
  fc4: convert to use the data buffer accessors
  sg: increase sglist_len of the sg_scatter_hold structure
  ps3rom: convert to use the data buffer accessors
  scsi_transport_srp: remove tgt dependencies
  tgt: convert ibmvstgt to use transport tsk_mgmt_response callback
  tgt: move tsk_mgmt_response callback to transport class
  tgt: convert libsrp and ibmvstgt to use srp_transport
  srp_transport: add target driver support
  tgt: add I_T nexus support
  transport_srp: add rport roles attribute
  ib_srp: convert to use the srp transport class
  ibmvscsi: convert to use the srp transport class
 

[GIT PATCH] SCSI updates for 2.6.24

2007-10-14 Thread James Bottomley
This is the accumulated updates queued for 2.6.24.  It contains the
usual slew of driver updates, plus some gdth and advansys rewrites.  We
still have some outstanding bugs in gdth and fc4 for which I'm hoping to
sweep fixes into the next update.

The patch is available here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git

The short changelog is:

Adrian Bunk (5):
  esp_scsi: remove __dev{init,exit}
  imm: fix check-after-use
  nsp_cs: remove kernel 2.4 code
  make scsi_decode_sense_buffer and scsi_decode_sense_extras static
  scsi_error.c should #include scsi_transport_api.h

Alan Cox (3):
  dtc: Fix typo
  eata_pio: Clean up proc handling, bracketing and use cpu_relax()
  dtc: clean up indent damage and add printk levels

Andrew Morton (3):
  arcmsr: build fix
  ips: warning fix
  aacraid: rename check_reset

Andrew Vasquez (15):
  qla2xxx: Update version number to 8.02.00-k4.
  qla2xxx: Limit iIDMA speed adjustments.
  qla2xxx: Rework MSI-X handlers.
  qla2xxx: Clear options-flags while staging firmware-execution.
  qla2xxx: Sparse cleanups in qla_mid.c
  qla2xxx: Cleanup several 'sparse' warnings.
  qla2xxx: Use shost_priv().
  qla2xxx: Remove unused member (list) from srb_t structure.
  qla2xxx: Use the correct pointer-address during NVRAM writes.
  qla2xxx: Set correct attribute count during FDMI RPA.
  qla2xxx: Query additional RISC registers during ISP25XX firmware dump.
  qla2xxx: Correct staging of RISC while attempting to pause.
  qla2xxx: Query additional RISC information during a pause.
  qla2xxx: Add flash burst-read/write support.
  qla2xxx: Collapse and simplify ISP2XXX firmware dump routines.

Bartlomiej Zolnierkiewicz (1):
  MAINTAINERS: mark ide-scsi as Orphan

Bernhard Walle (1):
  ips: Update version information

Boaz Harrosh (12):
  gdth: !use_sg cleanup and use of scsi accessors
  gdth: Move members from SCp to gdth_cmndinfo, stage 2
  gdth: Setup proper per-command private data
  gdth: Remove gdth_ctr_tab[]
  gdth: gdth_interrupt() gdth_get_status()  gdth_wait() fixes
  gdth: clean up host private data
  NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
  usb storage: use scsi_eh API in REQUEST_SENSE execution
  scsi_error: Refactoring scsi_error to facilitate in synchronous REQUEST_SE
  scsi_error: code cleanup before refactoring of scsi_send_eh_cmnd()
  ide-scsi.: convert to data accessors and !use_sg cleanup
  microtek: use data accessors and !use_sg cleanup

Christof Schmitt (5):
  zfcp: Enable debug feature before setting adapter online
  scsi_transport_fc: Introduce disable_target_scan flag
  zfcp: Remove braces for only one statement
  zfcp: Remove unnecessary assignment
  zfcp: correct indentation for nested if-else

Christoph Hellwig (5):
  gdth: switch to modern scsi host registration
  gdth: Remove virt hosts
  gdth: split out pci probing
  gdth: split out eisa probing
  gdth: split out isa probing

David Woodhouse (1):
  Fix ibmvscsi client for multiplatform iSeries+pSeries kernel

Dhaval Giani (1):
  gdth: fix CONFIG_ISA build failure

Eric Moore (16):
  mptctl : shutup uninitialized variable warnings
  mptlan: bug fix, only half the message frame is dma'd resulting in corrupt
  mpt fusion: fix up fusion prints using the sdev_printk, dev_printk, and sh
  mpt fusion: lock down ScsiLookup
  mpt fusion: Fix sparse warnings
  mpt fusion: add use of shost_priv and remove all the typecasting
  MAINTAINERS : mpt fusion mailing list change
  mpt fusion: bump version to 3.04.06
  mpt fusion: Kconfig cleanup
  mpt fusion: removing Dell copyright
  mpt fusion: removing references to hd-ioc
  mpt fusion: rename vdev to vdevice
  mpt fusion: adding/removing white space
  mpt fusion: standardize printks and debug info
  mpt fusion: Add support for ATTO 4LD: Rebranded LSI 53C1030
  Addition to pci_ids.h for ATTO Technology, Inc.

FUJITA Tomonori (17):
  srp_transport: convert to use supported_mode attribute
  fc_transport: add target driver support
  add supported_mode and active_mode attributes to the host
  tgt: fix can_queue bug
  fc4: convert to use the data buffer accessors
  sg: increase sglist_len of the sg_scatter_hold structure
  ps3rom: convert to use the data buffer accessors
  scsi_transport_srp: remove tgt dependencies
  tgt: convert ibmvstgt to use transport tsk_mgmt_response callback
  tgt: move tsk_mgmt_response callback to transport class
  tgt: convert libsrp and ibmvstgt to use srp_transport
  srp_transport: add target driver support
  tgt: add I_T nexus support
  transport_srp: add rport roles attribute
  ib_srp: convert to use the srp transport class
  ibmvscsi: convert to use the srp transport class