Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-10 Thread Andrew Vasquez
ita wrote: > > > > This fixes the wrong position of the comment introduced by > > > > scsi-rename-random32-to-prandom_u32.patch in the -mm tree. > > > > > > > > Signed-off-by: Akinobu Mita > > > > Cc: "James E.J. Bottomley" > &

Re: [2.6 patch] scsi/qla4xxx/ql4_isr.c: remove dead code

2008-02-19 Thread Andrew Vasquez
On Tue, 19 Feb 2008, James Bottomley wrote: > On Tue, 2008-02-19 at 18:35 -0800, Andrew Vasquez wrote: > > On Tue, 19 Feb 2008, James Bottomley wrote: > > > > > On Tue, 2008-02-19 at 21:29 +0200, Adrian Bunk wrote: > > > > This patch removes dead

Re: [2.6 patch] scsi/qla4xxx/ql4_isr.c: remove dead code

2008-02-19 Thread Andrew Vasquez
On Tue, 19 Feb 2008, James Bottomley wrote: > On Tue, 2008-02-19 at 21:29 +0200, Adrian Bunk wrote: > > This patch removes dead code spotted by the Coverity checker. > > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > > > --- > > > > drivers/scsi/qla4xxx/ql4_isr.c | 18 +--

Re: [PATCH] qla2xxx: fix compilation compile

2008-02-17 Thread Andrew Vasquez
gned-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> Acked-by: Andrew Vasquez <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: 2.6.24 regression w/ QLA2300

2008-02-05 Thread Andrew Vasquez
On Tue, 05 Feb 2008, Alan D. Brunelle wrote: > > and send the resultant kernel logs? > > Here's the output to the console (if there are other logs you need, > let me know). I'll try the patch next, and sorry, hadn't realized > merges were still coming in under 2.6.24 in Linus' tree... > > QLogi

Re: 2.6.24 regression w/ QLA2300

2008-02-05 Thread Andrew Vasquez
On Tue, 05 Feb 2008, Andrew Vasquez wrote: > > Could you load the (default 2.6.24) driver with > > ql2xextended_error_logging modules parameter set: > > > > # insmod qla2xxx ql2xextended_error_logging=1 > > > > and send the resultant kernel logs? >

Re: 2.6.24 regression w/ QLA2300

2008-02-05 Thread Andrew Vasquez
On Tue, 05 Feb 2008, Andrew Vasquez wrote: > On Tue, 05 Feb 2008, Alan D. Brunelle wrote: > > > commit 9b73e76f3cf63379dcf45fcd4f112f5812418d0a > > Merge: 50d9a12... 23c3e29... > > Author: Linus Torvalds <[EMAIL PROTECTED]> > > Date: Fri Jan 25 17:19:

Re: 2.6.24 regression w/ QLA2300

2008-02-05 Thread Andrew Vasquez
7;m certainly willing to help narrow down to the specific part in > this patch... That's a rather large patch... :( Any chance you could git-bisect? Also, could you send your .config file you are using? Thanks, Andrew Vasquez - To unsubscribe from this list: send the line "unsubscri

[PATCH 02/11] qla2xxx: Add MODULE_FIRMWARE hint for ISP25XX firmware.

2008-01-31 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_os.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 3954ed2..bbdfd81 100644 --- a/drivers/scsi/qla2xxx/qla_os.c

[PATCH 11/11] qla2xxx: Update version number to 8.02.00-k8.

2008-01-31 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 2c2f6b4..c5742cc 100644 --- a/drivers/scsi/q

[PATCH 09/11] qla2xxx: Access the proper 'physical' port in FC-transport callbacks.

2008-01-31 Thread Andrew Vasquez
t_port_type (port_type) - get_fc_host_stats Also, added PORT_SPEED_8GB case in the speed attribute for 8Gb HBAs. Signed-Off-by: Seokmann Ju <[EMAIL PROTECTED]> Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 11 +++ drivers/scsi/qla2

[PATCH 07/11] qla2xxx: Move RISC-interrupt-register modifications to qla2x00_request_irqs().

2008-01-31 Thread Andrew Vasquez
There's no functional change involved with this update, instead it simply migrates the "set cleared interrupt state" codes to a more approprate method, qla2x00_request_irqs(), and cleans-up the driver's probe() logic. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]>

[PATCH 10/11] qla2xxx: Correct issue where incorrect init-fw mailbox command was used on non-NPIV capable ISPs.

2008-01-31 Thread Andrew Vasquez
-condition 'if' check. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_mbx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 0c10c0b..99d29ff 100644 --

[PATCH 08/11] qla2xxx: Correct issue where vport-state was not updated during an ISP_ABORT_NEEDED requst.

2008-01-31 Thread Andrew Vasquez
ann Ju <[EMAIL PROTECTED]> Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_os.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 4b4c32f..0b52ee7 10

[PATCH 05/11] qla2xxx: Cleanse memory allocation logic during probe.

2008-01-31 Thread Andrew Vasquez
allocation of SFP data until requested. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 13 ++ drivers/scsi/qla2xxx/qla_os.c | 330 --- 2 files changed, 112 insertions(+), 231 deletions(-) diff --git a/drivers/scsi/q

[PATCH 06/11] qla2xxx: Consolidate RISC-parity enablement codes.

2008-01-31 Thread Andrew Vasquez
Collapse duplicate codes called during probe() and RISC-reset into qla2x00_setup_chip(). Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c | 70 +- drivers/scsi/qla2xxx/qla_os.c | 12 --- 2 files chang

[PATCH 04/11] qla2xxx: Clear EFT buffer before firmware reinitialization.

2008-01-31 Thread Andrew Vasquez
To insure that there is no stale data present during EFT re-registration. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/q

[PATCH 03/11] qla2xxx: Cleanup any outstanding SRB resources during shutdown.

2008-01-31 Thread Andrew Vasquez
Refactor SRB-failure completion codes in the process. Also, signal the DPC routine to complete sooner as backend processing at shutdown-time is superflous. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_gbl.h |1 + drivers/scsi/qla2xxx/qla_init.c

[PATCH 01/11] qla2xxx: Correct resource_size_t usages.

2008-01-31 Thread Andrew Vasquez
apped accesses to the hardware, the patch below should take care of it without introducing to many structural changes to code flow. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_sup.c | 36 +++- 1 files changed, 15 insert

[PATCH 0/11] qla2xxx: updates/fixes for 2.6.24 [8.02.00-k8].

2008-01-31 Thread Andrew Vasquez
x/qla_version.h |2 +- 10 files changed, 233 insertions(+), 359 deletions(-) Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: qla_sup.c: compilation warning

2008-01-24 Thread Andrew Vasquez
c6ce4a3d04e2e) requires some additional fixups to cleanup the structure-pointer castings used during IO mapped accesses to the chip. There's only a small number of locations, where the driver uses IO mapped accesses to the hardware, the patch below should take care of it without introdu

Re: [PATCH 2/8] scsi-drivers Don't use SG_ALL as allocation size

2008-01-17 Thread Andrew Vasquez
On Thu, 17 Jan 2008, Boaz Harrosh wrote: > > I don't forsee any issues with maintaining SG_ALL (~0) usage within > > qla2xxx and qla4xxx, as the number of unused entries on the HBA's > > request-queue shall ultimately be the rate-limiting factor. > > > > -- > Please forgive me I have forgot to pu

Re: [PATCH 0/14] qla2xxx: updates for 2.6.24 [8.02.00-k7].

2008-01-17 Thread Andrew Vasquez
On Thu, 17 Jan 2008, James Bottomley wrote: > On Thu, 2008-01-17 at 09:33 -0800, Andrew Vasquez wrote: > > On Thu, 17 Jan 2008, Andrew Vasquez wrote: > > > > > This patchset updates the qla2xxx driver to 8.02.00-k7. > > ... > > > > > > BTW

Re: [PATCH 2/8] scsi-drivers Don't use SG_ALL as allocation size

2008-01-17 Thread Andrew Vasquez
On Thu, 17 Jan 2008, Boaz Harrosh wrote: > below list of drivers have used SG_ALL as a size to > preallocate maximum possible command's sg-count. > This is no longer possible since the maximum is not > set at compile time but as a run time configuration. > > A better schema can be advis

Re: [PATCH 0/14] qla2xxx: updates for 2.6.24 [8.02.00-k7].

2008-01-17 Thread Andrew Vasquez
On Thu, 17 Jan 2008, Andrew Vasquez wrote: > This patchset updates the qla2xxx driver to 8.02.00-k7. ... BTW: Small typo in the subject, it's obvious these patches aren't for 2.6.24, instead, meant for the next merge window of 2.6.25... - To unsubscribe from this list:

[PATCH] qla2xxx: Add Fibre Channel Event (FCE) tracing support.

2008-01-17 Thread Andrew Vasquez
inally, the FCE buffer will be extracted during a firmware-dump scenario. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/Makefile |2 +- drivers/scsi/qla2xxx/qla_dbg.c | 22 + drivers/scsi/qla2xxx/qla_dbg.h | 19 drivers/scsi/qla2xxx/qla_def.

[PATCH] qla2xxx: Trace-Control naming cleanups.

2008-01-17 Thread Andrew Vasquez
In preparation for FCE (Fibre Channel Event) tracing support. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |3 -- drivers/scsi/qla2xxx/qla_fw.h |7 + drivers/scsi/qla2xxx/qla_gbl.h |4 ++- drivers/scsi/qla2xxx/qla_init.c

[PATCH] qla2xxx: Use completion routines.

2008-01-17 Thread Andrew Vasquez
From: Marcus Barrow <[EMAIL PROTECTED]> Instead of abusing the semaphore interfaces for mailbox command completions. Additional cleanups and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |4 +- drivers/scsi/qla2xxx/qla_gbl.h |2 -

[PATCH] qla2xxx: Issue correct MBC_INITIALIZE_FIRMWARE command.

2008-01-17 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> There is a case where 54xx HBA loads MID firmware as it use 24xx firmware. In this case, the driver should issue MBC_MID_INITIALIZE FIRMWARE even though the HBA doesn't support NPIV. This patch make changes in the driver so that could behave accordingly. Sig

[PATCH] qla2xxx: Code cleanups.

2008-01-17 Thread Andrew Vasquez
_speed() - qla_mbx.c: qla24xx_get_vp_database() - qla_mbx.c: qla24xx_get_vp_entry() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Small modifications and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_a

[PATCH] qla2xxx: Correct late-memset() of EFT buffer.

2008-01-17 Thread Andrew Vasquez
Original code would clear the buffer after the firmware had already been initialized to use the buffer, thus potentially and inadvertantly clearing data previously DMA'd by the firmware. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c |2

[PATCH] qla2xxx: Update version number to 8.02.00-k7.

2008-01-17 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 6e3dc40..2c2f6b4 100644 --- a/drivers/scsi/q

[PATCH] qla2xxx: Add a filter to compare port_name against the physical on vport creation.

2008-01-17 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> During vport creation, there was a possibility to get create a vport with same port_name as pport. A new filter has added to compare given port_name with the port_name of the pport. Signed-Off-by: Seokmann Ju <[EMAIL PROTECTED]> Signed-of

[PATCH] qla2xxx: Don't schedule the DPC routine to perform an issue-lip request.

2008-01-17 Thread Andrew Vasquez
As the driver depends on the DPC routine to handle bottom-half loop resynchronization in order to recover from the issue-lip request. The issue_lip call is sleeping context capable, so just issue the reset function there. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- driver

[PATCH] qla2xxx: Restrict MSI/MSI-X enablement on select ISP2432-type HBAs.

2008-01-17 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 5d2dc92..22216fe 100644 --- a/drivers/scsi/q

[PATCH] qla2xxx: Wait for FLASH write-protection to complete after a write.

2008-01-17 Thread Andrew Vasquez
Some flash parts have a slow enable write-protection (WP) operation whereby subsequent FLASH accesses would fail if the WP operation had not completed. Software now polls the SPI's status-register for WP completion. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/s

[PATCH] qla2xxx: Retrieve additional HBA port statistics from recent ISPs.

2008-01-17 Thread Andrew Vasquez
HBAs supporting these additional counters include ISP24xx and ISP25xx type boards. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 44 -- drivers/scsi/qla2xxx/qla_def.h | 22 ++--- drivers/scsi/qla2xxx/qla_gbl.h

[PATCH] qla2xxx: Fix for 32-bit platforms with 64-bit resources.

2008-01-17 Thread Andrew Vasquez
ect a small typo in a printk() where the wrong region number was displayed. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |3 +-- drivers/scsi/qla2xxx/qla_os.c | 22 +++--- 2 files changed, 8 insertions(+), 17 deletions(-) d

[PATCH] qla2xxx: Consolidate duplicate sense-data handling codes.

2008-01-17 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c | 85 ++- 1 files changed, 31 insertions(+), 54 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 53cbaff..5d2dc92 100644

[PATCH 0/14] qla2xxx: updates for 2.6.24 [8.02.00-k7].

2008-01-17 Thread Andrew Vasquez
r. - Issue correct MBC_INITIALIZE_FIRMWARE command. - Update version number to 8.02.00-k7. Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.

Re: [PATCH] qla2xyz: fix section mismatch

2008-01-10 Thread Andrew Vasquez
On Thu, 10 Jan 2008, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix section mismatch: qla2x00_remove_one() should not be __devexit. > > WARNING: vmlinux.o(.text+0xb014f5): Section mismatch: reference to > .exit.text: (between 'qla2xxx_pci_error_detected' and > 'qla2xxx_p

Re: Number of devices that SCSI can support

2008-01-09 Thread Andrew Vasquez
On Wed, 09 Jan 2008, Matthew Wilcox wrote: > On Wed, Jan 09, 2008 at 09:05:52AM -0600, James Bottomley wrote: > > On Tue, 2008-01-08 at 19:22 -0700, Matthew Wilcox wrote: > > > On Tue, Jan 08, 2008 at 04:55:46PM -0800, Vinay Venkataraghavan wrote: > > > > Is there a limit on the number of devices

Re: [patch 18/30] scsi/qla2xxx/: possible cleanups

2007-12-21 Thread Andrew Vasquez
On Fri, 21 Dec 2007, Andrew Morton wrote: > On Fri, 14 Dec 2007 10:20:04 -0800 Andrew Vasquez <[EMAIL PROTECTED]> wrote: > > It is, though, not widely publicized: > > > > git://avgit01.qlogic.com/qla2xxx-upstream > > > > The repo is torndown and rebas

Re: [PATCH] drivers/scsi/: Spelling fixes

2007-12-17 Thread Andrew Vasquez
|4 ++-- > drivers/scsi/lpfc/lpfc.h |2 +- > drivers/scsi/lpfc/lpfc_mbox.c |2 +- > drivers/scsi/megaraid/megaraid_mbox.c | 10 +- > drivers/scsi/psi240i.c|2 +- > drivers/scsi/qla2xxx/qla_gs.c |2 +- qla2xxx bi

Re: [patch 18/30] scsi/qla2xxx/: possible cleanups

2007-12-14 Thread Andrew Vasquez
On Fri, 14 Dec 2007, Andrew Morton wrote: > > Could you drop this patch from your queue. I'll carry it in my tree > > (along with additional code removals) for 2.6.25 submission. > > > > I'll normally carry patches until they turn up in a subsystem tree or > mainline and will drop them then. T

Re: [patch 18/30] scsi/qla2xxx/: possible cleanups

2007-12-14 Thread Andrew Vasquez
la2x00_get_serdes_params() > - qla_mbx.c: qla2x00_get_idma_speed() > - qla_mbx.c: qla24xx_get_vp_database() > - qla_mbx.c: qla24xx_get_vp_entry() > - qla_os.c: remove some unneeded function prototypes > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Cc: Andrew Vasqu

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

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

2007-11-12 Thread Andrew Vasquez
and above) and peek into the incorrect regions of registers. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 1

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

2007-11-12 Thread Andrew Vasquez
ports. The fix is to also take into consideration the vp_idx, which is set by the firmware to indicate the vport the RSCN was meant for. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-)

[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 --- a/drivers/scsi/q

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

2007-11-12 Thread Andrew Vasquez
y read mbx registers while processing a system-error. - Correct NPIV support for recent ISPs. - Properly handle Vport state-change-notifications. - Update version number to 8.02.00-k6. Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the line "unsubscribe linux-scsi&

[PATCH 8/8] qla2xxx: Update version number to 8.02.00-k5.

2007-10-19 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 2d551a3..ae6f7a2 100644 --- a/drivers/scsi/q

[PATCH 5/8] qla2xxx: Make driver (mostly) legacy I/O port free.

2007-10-19 Thread Andrew Vasquez
Recent ISPs need only the single MMIO BAR to manipulate HW registers. Unfortunately, ISP21xx, ISP22xx, ISP23xx, and ISP63xx type cards still require the I/O mapped region to manipulate the FLASH via the two HW flash-registers (flash_address and flash_data). Signed-off-by: Andrew Vasquez <[EM

[PATCH 7/8] qla2xxx: Correct display of ISP serial-number.

2007-10-19 Thread Andrew Vasquez
The original serial-number calculations based on WWPN no longer apply to newer ISPs (ISP24xx and ISP25xx). These newer board's serial number reside in the VPD. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |3 +++ 1 files changed, 3 inser

[PATCH 4/8] qla2xxx: Fix issue where final flash-segment updates were falling into the slow-path write handler.

2007-10-19 Thread Andrew Vasquez
Original implementation would not use the burst-write mechanisms for requests equal to OPTROM_BURST_DWORDS transfer dwords. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_sup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/driver

[PATCH 6/8] qla2xxx: Correct residual-count handling discrepancies during UNDERRUN handling.

2007-10-19 Thread Andrew Vasquez
consistent with what earlier firmwares did by explicitly cracking open the FCP_RSP statuses and clearing SS_RESIDUAL_UNDER. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/driver

[PATCH 3/8] qla2xxx: Handle unaligned sector writes during NVRAM/VPD updates.

2007-10-19 Thread Andrew Vasquez
Since both NVRAM and VPD regions of the flash reside on unaligned sector boundaries, during update, the driver must perform a read-modify-write operation to the composite NVRAM/VPD region. This affects ISP25xx type boards only. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- driver

[PATCH 2/8] qla2xxx: Defer explicit interrupt-polling processing to init-time scenarios.

2007-10-19 Thread Andrew Vasquez
As the intermixing may cause issues where HCCR bits could be cleared inappropriately during MSI/MSI-X interrupt handling. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_iocb.c |2 +- drivers/scsi/qla2xxx/qla_mbx.c |2 +- 2 files changed, 2 inse

[PATCH 1/8] qla2xxx: Resync with latest HBA SSID specification -- 2.2u.

2007-10-19 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_devtbl.h |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_devtbl.h b/drivers/scsi/qla2xxx/qla_devtbl.h index dd43541..d78d35e 100644 --- a/drivers/scsi/q

[PATCH 0/8] qla2xxx: Driver updates for 2.6.24 [8.02.00-k5].

2007-10-19 Thread Andrew Vasquez
river (mostly) legacy I/O port free. - Correct residual-count handling discrepancies during UNDERRUN handling. - Correct display of ISP serial-number. - Update version number to 8.02.00-k5. Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the line "unsubscribe linu

Re: [patch 3/7] qla2xxx printk fixes

2007-10-17 Thread Andrew Vasquez
6 has type 'dma_addr_t' > > Cc: James Bottomley <[EMAIL PROTECTED]> > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Acked-by: Andrew Vasquez <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-09 Thread Andrew Vasquez
On Tue, 09 Oct 2007, James Smart wrote: > Why do you prefer request_firmware() vs something over sysfs ? > > Does environments like the kdump kernel also have access to data needed > by request_firmware() ? There's already much in the way of automation and infrastructure present in supporting

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-08 Thread Andrew Vasquez
On Mon, 08 Oct 2007, Darrick J. Wong wrote: > On Mon, Oct 08, 2007 at 03:48:32PM -0700, Andrew Vasquez wrote: > > > So how about factoring that out to a transport-level interface. How > > about something along the lines of the following patch, whereby the > > software

Re: [PATCH] aic94xx: Use request_firmware() to provide SAS address if the adapter lacks one

2007-10-08 Thread Andrew Vasquez
On Mon, 08 Oct 2007, Darrick J. Wong wrote: > If the aic94xx chip doesn't have a SAS address in the chip's flash memory, > use the request_firmware() interface to get one from userspace. This > way, there's no debate as to who or how an address gets generated--it's > totally up to the administrat

[PATCH 14/19] qla2xxx: Use shost_priv().

2007-09-20 Thread Andrew Vasquez
Drop usage of legacy to_qla_host() macro. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 88 +++--- drivers/scsi/qla2xxx/qla_dbg.c |2 +- drivers/scsi/qla2xxx/qla_def.h |2 - drivers/scsi/qla2xxx/qla

[PATCH 13/19] qla2xxx: Remove unused member (list) from srb_t structure.

2007-09-20 Thread Andrew Vasquez
This change reduces by as much as 16% the memory footprint for each allocated sbr_t structure requested from the mempool. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 12/19] qla2xxx: Retrieve max-NPIV support capabilities from FW.

2007-09-20 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |2 +- drivers/scsi/qla2xxx/qla_def.h |2 +- drivers/scsi/qla2xxx/qla_gbl.h |4 ++-- drivers/scsi/qla2xxx/qla_init.c | 16 +++-

[PATCH 16/19] qla2xxx: Sparse cleanups in qla_mid.c

2007-09-20 Thread Andrew Vasquez
Make several needlessly global functions static: - qla2x00_mark_vp_devices_dead() - qla24xx_configure_vp() Remove unused function qla24xx_modify_vport(). Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_mid.c | 34 ++ 1

[PATCH 15/19] qla2xxx: Cleanup several 'sparse' warnings.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_iocb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 3a5e78c..7f6a89b 100644 --- a/drivers/scsi/qla2xxx/qla_

[PATCH 10/19] qla2xxx: Set correct attribute count during FDMI RPA.

2007-09-20 Thread Andrew Vasquez
Also remove legacy '/proc' name during OS_DEVICE_NAME registration. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |2 +- drivers/scsi/qla2xxx/qla_gs.c |6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/driv

[PATCH 11/19] qla2xxx: Use the correct pointer-address during NVRAM writes.

2007-09-20 Thread Andrew Vasquez
Original code, incorrectly passed the address-of a pointer rather than the pointer value itself. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_at

[PATCH 08/19] qla2xxx: Query additional RISC registers during ISP25XX firmware dump.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_dbg.c | 18 ++ drivers/scsi/qla2xxx/qla_dbg.h |2 ++ drivers/scsi/qla2xxx/qla_fw.h |2 +- 3 files changed, 21 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_d

[PATCH 09/19] qla2xxx: Correct infinite-login-retry issue.

2007-09-20 Thread Andrew Vasquez
From: Ravi Anand <[EMAIL PROTECTED]> Where the DPC logic would get jammed into continuously reloging-into a port. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_os.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/

[PATCH 06/19] qla2xxx: Query additional RISC information during a pause.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_fw.h |4 ++- drivers/scsi/qla2xxx/qla_isr.c | 53 2 files changed, 56 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_fw.h b/drivers/scsi/q

[PATCH 07/19] qla2xxx: Correct staging of RISC while attempting to pause.

2007-09-20 Thread Andrew Vasquez
There's no need to reset the RISC prior to pausing. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_dbg.c | 23 ++- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/s

[PATCH 04/19] qla2xxx: Allow region-based flash-part accesses.

2007-09-20 Thread Andrew Vasquez
From: Joe Carnuccio <[EMAIL PROTECTED]> Additional cleanups and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 108 --- drivers/scsi/qla2xxx/qla_def.h |2 + drivers/scsi/qla2xxx/qla_fw.h |2 +

[PATCH 05/19] qla2xxx: Add PCI error recovery support.

2007-09-20 Thread Andrew Vasquez
From: Seokmann Ju <[EMAIL PROTECTED]> Additional cleanups and Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_def.h |1 + drivers/scsi/qla2xxx/qla_isr.c | 28 +- drivers/scsi/qla2xxx/qla_os.c | 114 +

[PATCH 02/19] qla2xxx: Add flash burst-read/write support.

2007-09-20 Thread Andrew Vasquez
Newer ISPs support a mechanism to read and write flash-memory via the firmware LOAD/DUMP memory mailbox command routines. When supported, utilizing these mechanisms significantly reduces overall access times. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla

[PATCH 19/19] qla2xxx: Update version number to 8.02.00-k4.

2007-09-20 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 18095b9..2d551a3 100644 --- a/drivers/scsi/q

[PATCH 18/19] qla2xxx: Rework MSI-X handlers.

2007-09-20 Thread Andrew Vasquez
risc. Also, since the msi-x registered handlers are optimised for a particular vector, it is preferable to handle the one vector received per invocation of the handler. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c |7 ++- 1 files changed, 2

[PATCH 17/19] qla2xxx: Clear options-flags while staging firmware-execution.

2007-09-20 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_mbx.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index ec48871..c53ec67 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c

[PATCH 03/19] qla2xxx: Limit iIDMA speed adjustments.

2007-09-20 Thread Andrew Vasquez
Do not adjust the iIDMA speed on ports which have a faster link-speed than the HBA itself. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_in

[PATCH 0/19] qla2xxx: Driver update [8.02.00-k4].

2007-09-20 Thread Andrew Vasquez
- Use shost_priv(). - Cleanup several 'sparse' warnings. - Sparse cleanups in qla_mid.c - Clear options-flags while staging firmware-execution. - Rework MSI-X handlers. - Update version number to 8.02.00-k4. Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the li

Re: [PATCH 4/5] qla2xxx: add target mode support

2007-09-05 Thread Andrew Vasquez
On Sat, 01 Sep 2007, FUJITA Tomonori wrote: > This adds target mode support to qla2xxx. > > With set ql2enable_target_mode module parameter to 1, the driver runs > in target mode. By default, ql2enable_target_mode is set to 0, and the > driver should work in initiator mode as before. > > The dri

[CORRECTED PATCH 4/6] qla2xxx: Correct 8GB iIDMA support.

2007-08-13 Thread Andrew Vasquez
Original implementation manipulated the FC_GS values for port-speed. Transition the codes to use the driver's own internal representations as this makes for a reduction in duplicate 'conversion' codes throughout the driver. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]&g

[PATCH 4/6] qla2xxx: Correct 8GB iIDMA support.

2007-08-12 Thread Andrew Vasquez
Original implementation manipulated the FC_GS values for port-speed. Transition the codes to use the driver's own internal representations as this makes for a reduction in duplicate 'conversion' codes throughout the driver. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]&

[PATCH 5/6] qla2xxx: Correct mailbox register dump for FWI2 capable ISPs.

2007-08-12 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_dbg.c | 21 + 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index 563d18f..c668034 100644 --- a/driver

[PATCH 6/6] qla2xxx: Update version number to 8.02.00-k3.

2007-08-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 dd1f8ce..18095b9 100644 --- a/drivers/scsi/q

[PATCH 2/6] qla2xxx: Don't modify parity bits during ISP25XX restart.

2007-08-12 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 374abe1..8da0586 100644 --- a/drivers/scsi/qla2xxx/qla_

[PATCH 3/6] qla2xxx: Correct management-server login-state synchronization issue.

2007-08-12 Thread Andrew Vasquez
Transitioning link-state via NOS/OLS requires a relogin to a fabric's Management Server. Request relogin when the firmware issues a point-to-point asynchronous event (0x8030). Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_isr.c |1 + 1 files

[PATCH 1/6] qla2xxx: Allocate enough space for the full PCI descriptor.

2007-08-12 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_os.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 93c0c7e..acca898 100644 --- a/drivers/scsi/qla2xxx/qla_os.c

[PATCH 0/6] qla2xxx: fixes for 2.6.23 [8.02.00-k3].

2007-08-12 Thread Andrew Vasquez
XX restart. - Correct management-server login-state synchronization issue. - Correct 8GB iIDMA support. - Correct mailbox register dump for FWI2 capable ISPs. - Update version number to 8.02.00-k3. Regards, Andrew Vasquez QLogic Corporation - To unsubscribe from this list: send the line "un

Re: [PATCH 64] drivers/scsi/qla2xxx/qla_init.c: mostly kmalloc + memset conversion to k[cz]alloc

2007-07-31 Thread Andrew Vasquez
scsi/qla2xxx/qla_init.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) Acked-by: Andrew Vasquez <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 4/9] qla2xxx: Validate mid-layer 'underflow' during check-condition handling.

2007-07-22 Thread Andrew Vasquez
z Harrosh <[EMAIL PROTECTED]> Thanks for catching that. If need be: Acked-off-by: Andrew Vasquez <[EMAIL PROTECTED]> > --- > drivers/scsi/qla2xxx/qla_isr.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/d

Re: [PATCH 8/9] qla2xxx: Add ISP25XX support.

2007-07-19 Thread Andrew Vasquez
On Thu, 19 Jul 2007, James Bottomley wrote: > On Thu, 2007-07-19 at 15:06 -0700, Andrew Vasquez wrote: > > + dmp_reg = (uint32_t __iomem *)((uint8_t __iomem *)reg + 0xF0); > > + WRT_REG_DWORD(dmp_reg, 0xB010); > > + dmp_reg = (uint32_t __iome

[PATCH 8/9] qla2xxx: Add ISP25XX support.

2007-07-19 Thread Andrew Vasquez
Large code-reuse from ISP24xx, consolidate RISC memory extraction routines during firmware-dump. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c |2 +- drivers/scsi/qla2xxx/qla_dbg.c | 919 +++ drivers/scsi/q

[PATCH 9/9] qla2xxx: Update version number to 8.02.00-k2.

2007-07-19 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 fd2f10a..dd1f8ce 100644 --- a/drivers/scsi/q

[PATCH 5/9] qla2xxx: Re-factor isp_operations to static structures.

2007-07-19 Thread Andrew Vasquez
In preparation for new ISP types. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_attr.c | 23 ++-- drivers/scsi/qla2xxx/qla_def.h|2 +- drivers/scsi/qla2xxx/qla_gs.c | 33 +++-- drivers/scsi/qla2xxx/qla_init.c | 54 driver

[PATCH 6/9] qla2xxx: Use PCI-X/PCI-Express read control interfaces.

2007-07-19 Thread Andrew Vasquez
Original from Peter Oruba <[EMAIL PROTECTED]>. Additional cleanups included. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c | 25 - 1 files changed, 4 insertions(+), 21 deletions(-) diff --git a/drivers/scsi/qla2xxx/

[PATCH 7/9] qla2xxx: Use pci_try_set_mwi().

2007-07-19 Thread Andrew Vasquez
As the "must-check" return-value of pci_set_msi() is never really checked. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> --- drivers/scsi/qla2xxx/qla_init.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/driv

  1   2   3   >