[PATCH] [SCSI] aic7xxx: Fix warnings with CONFIG_PM=n

2007-11-12 Thread Frank Lichtenheld
Fixes the following warnings: CC [M] drivers/scsi/aic7xxx/aic79xx_osm_pci.o drivers/scsi/aic7xxx/aic79xx_osm_pci.c:101: warning: ‘ahd_linux_pci_dev_suspend’ defined but not used drivers/scsi/aic7xxx/aic79xx_osm_pci.c:121: warning: ‘ahd_linux_pci_dev_resume’ defined but not used CC [M]

[PATCH] scsi: move single_lun flag from scsi_device to scsi_target

2007-11-12 Thread Tony Battersby
Some SCSI tape medium changers that need the BLIST_SINGLELUN flag have the medium changer at one LUN and the tape drive at a different LUN. The inquiry string of the tape drive may be different from that of the medium changer. In order for single_lun to be effective, every scsi_device under a

Re: [PATCH 1/1] [v2] ibmvscsi: requeue while CRQ closed

2007-11-12 Thread Robert Jennings
CRQ send errors that return with H_CLOSED should return with SCSI_MLQUEUE_HOST_BUSY until firmware alerts the client of a CRQ transport event. The transport event will either reinitialize and requeue the requests or fail and return IO with DID_ERROR. To avoid failing the eh_* functions while

[PATCH 0/4] qla2xxx: fixes for 2.6.24 [8.02.00-k6].

2007-11-12 Thread Andrew Vasquez
This patchset contains fixes for 2.6.24. drivers/scsi/qla2xxx/qla_attr.c|2 +- drivers/scsi/qla2xxx/qla_def.h | 10 +- drivers/scsi/qla2xxx/qla_fw.h | 16 ++-- drivers/scsi/qla2xxx/qla_init.c| 19 +++ drivers/scsi/qla2xxx/qla_isr.c

[PATCH 1/4] qla2xxx: Don't explicitly read mbx registers while processing a system-error.

2007-11-12 Thread Andrew Vasquez
Callers of qla2x00_async_event() already populate the mb[] array upon invocation, doing so via the appropriate mailbox register accessors. The stale codes removed are leftover-bits kept during the FWI2 transition. Though relatively benign, the extra-reads are not valid for FWI2 boards (ISP24xx

[PATCH 3/4] qla2xxx: Properly handle Vport state-change-notifications.

2007-11-12 Thread Andrew Vasquez
From: Shyam Sundar [EMAIL PROTECTED] Drivers do SCRs for each Vport. When something changes in the fabric, firmware generates one interrupt for each RSCN. Based on the current implementation, in each case, we make recursive calls to handle RSCN for physical and each subsequent virtual ports. The

[PATCH 4/4] qla2xxx: Update version number to 8.02.00-k6.

2007-11-12 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez [EMAIL PROTECTED] --- drivers/scsi/qla2xxx/qla_version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index ae6f7a2..6e3dc40 100644 ---

[PATCH 2/4] qla2xxx: Correct NPIV support for recent ISPs.

2007-11-12 Thread Andrew Vasquez
Firmware will export to software the maximum number of vports supported for any given firmware version and ISP type. Use this information rather than the current hardcoding of limitations within the driver. Signed-off-by: Andrew Vasquez [EMAIL PROTECTED] --- drivers/scsi/qla2xxx/qla_attr.c |

[PATCH 2/2] libsas: Use new ATA configuration mechanism

2007-11-12 Thread Darrick J. Wong
Update sas_ata to use the new ata_sas_rphy mechanisms as provided by Brian King, and simplify ATA device discovery... WARNING WARNING WARNING! This patch is experimental, use at your own risk. Comments-requested-by: Darrick J. Wong [EMAIL PROTECTED] --- drivers/scsi/libsas/sas_ata.c |

[PATCH 1/2] libsas: Convert ATA bridge to use new EH

2007-11-12 Thread Darrick J. Wong
Migrate the sas_ata bridge to use the new libata EH strategy, and finally implement correct software reset. WARNING WARNING WARNING! This patch is for experimental use only; it is nowhere near complete! Especially the sas_ata_freeze() function. This patch may eat your data and kill your trees.

Re: [PATCH 3/4] scsi_data_buffer

2007-11-12 Thread Andrew Morton
On Thu, 08 Nov 2007 18:59:30 +0200 Boaz Harrosh [EMAIL PROTECTED] wrote: In preparation for bidi we abstract all IO members of scsi_cmnd, that will need to duplicate, into a substructure. - Group all IO members of scsi_cmnd into a scsi_data_buffer structure.

Re: [PATCH 3/4] scsi_data_buffer

2007-11-12 Thread FUJITA Tomonori
On Mon, 12 Nov 2007 22:06:52 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 08 Nov 2007 18:59:30 +0200 Boaz Harrosh [EMAIL PROTECTED] wrote: In preparation for bidi we abstract all IO members of scsi_cmnd, that will need to duplicate, into a substructure. - Group all IO

Re: [PATCH 3/4] scsi_data_buffer

2007-11-12 Thread Andrew Morton
On Tue, 13 Nov 2007 15:40:42 +0900 FUJITA Tomonori [EMAIL PROTECTED] wrote: On Mon, 12 Nov 2007 22:06:52 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 08 Nov 2007 18:59:30 +0200 Boaz Harrosh [EMAIL PROTECTED] wrote: In preparation for bidi we abstract all IO members of

Re: [PATCH 3/4] scsi_data_buffer

2007-11-12 Thread FUJITA Tomonori
On Mon, 12 Nov 2007 23:07:03 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 13 Nov 2007 15:40:42 +0900 FUJITA Tomonori [EMAIL PROTECTED] wrote: On Mon, 12 Nov 2007 22:06:52 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Thu, 08 Nov 2007 18:59:30 +0200 Boaz Harrosh [EMAIL