[PATCH] mpt fusion: Power Management fixes for MPT SAS PCI-E controllers

2008-02-11 Thread Prakash, Sathya
This patch was submitted as [PATCH 2/3] yesterday, since it did not reach the list due to CC errors sending this again. It is regenerated against new git tree. The system power state changes like hibernation and standby are not happening properly with 106XE controllers, this patch modifies the

Patches not reaching the list

2008-02-10 Thread Prakash, Sathya
I tried to send few patches on last friday, out of which only one reached the list I resent the rest two and again only on reached the list Again I have resent the third patch two times, but they are still to reach the list. I am using mutt as E-mail client. I am sending this E-mail also from

RE: [PATCH 1/3] mpt fusion: Request I/O resources only whenrequired

2008-02-09 Thread Prakash, Sathya
Thanks James for pointing the missing of checkpatch.pl check. I will do it before submitting the future patches. -Original Message- From: James Bottomley [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 10:54 PM To: Prakash, Sathya Cc: linux-scsi@vger.kernel.org; Moore, Eric

[PATCH 3/3] mpt fusion: Avoid racing when mptsas and mptcl module are loaded in parallel

2008-02-08 Thread Prakash, Sathya
This patch sets the IOC pointer in drvrdata of pcidev before adding the IOC into the list of IOCs. Without this patch the driver oops when the mptsas and mptctl modules are loaded in parallel. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git a/drivers/message/fusion/mptbase.c

RE: [PATCH 3/3] mpt fusion: Avoid racing when mptsas and mptclmodule are loaded in parallel

2008-02-08 Thread Prakash, Sathya
:17 PM To: Prakash, Sathya Cc: linux-scsi@vger.kernel.org; Moore, Eric Subject: Re: [PATCH 3/3] mpt fusion: Avoid racing when mptsas and mptclmodule are loaded in parallel On Fri, 2008-02-08 at 16:35 +0530, Prakash, Sathya wrote: This patch sets the IOC pointer in drvrdata of pcidev before adding

[PATCH 1/3] mpt fusion: Request I/O resources only when required

2008-02-08 Thread Prakash, Sathya
This patch modifies the I/O resource allocation behavior of FUSION driver. The current version of driver allocates the I/O resources even if they are not required and this creates trouble in low resource environments. This driver now uses pci_enable_device_mem/pci_enable_device functions to

[PATCH 1/3]: IO resource allocation using pci_request_selected_regions API

2008-01-11 Thread Prakash, Sathya
This patch modifies the IO resource allocation behavior of FUSION driver. By using the pci_select_bars and pci_request_selected_regions API The IORESOURCE_IO will be requested only when the driver needs the IO resource. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git

[PATCH 1/3] mpt fusion: IO resource allocation using pci_request_selected_regions API [Resent]

2008-01-11 Thread Prakash, Sathya
This patch modifies the IO resource allocation behavior of FUSION driver. By using the pci_select_bars and pci_request_selected_regions API The IORESOURCE_IO will be requested only when the driver needs the IO resource. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git

[PATCH 3/3] mpt fusion: Fix for module load error when mptctl and mptsas are loaded in parallel

2008-01-11 Thread Prakash, Sathya
This patch fixes a panic at mptctl_probe - mutex_init if the mptsas and mptcl module are loaded in parallel, this is because IOC is NULL, the fix is in mpt_device_register to call probe only with non-zero IOC pointer. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git

[PATCH 2/3] mpt fusion: Fix for module unload problem in flash less controller environment

2008-01-11 Thread Prakash, Sathya
This patch fixes the module unload problem in flash less 1030 controller environment where firmware download boot functionality is invoked. The problem is due to the firmware download is being done in the reverse order, which this patch solves by insureing the download occurs to the last

[PATCH 1/6] mpt fusion: Add support for ATTO 4LD: Rebranded LSI 53C1030

2007-08-14 Thread Prakash, Sathya
Add support for ATTO UL4D, they are rebranded 53C1030. The changes are 1. Adding a new PCI vendor ID in pci table 2. The spi_port_page_2 is in different format than that of LSI generic spi_port_page_2 and hence mapping code is added. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff

[PATCH 2/6] mpt fusion: Usage of high priority request FIFO to send task management commands

2007-08-14 Thread Prakash, Sathya
Added support for sending the task management requests through High priority request FIFO instead of Doorbell writes when firmware support High priority FIFO. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c

[PATCH 3/6] mpt fusion: Changing call back indices to u8 from int

2007-08-14 Thread Prakash, Sathya
The call back index requires only u8 but in lot of places it is referred as int, now everywhere the call back index variables are declared as u8 with uniform name cb_idx signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git a/drivers/message/fusion/mptbase.c

[PATCH 4/6] mpt fusion: Creation of mptsas.h header file

2007-08-14 Thread Prakash, Sathya
The data structure definitions from mptsas.c are moved to a new header file mptsas.h signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index ffbf0e5..5951fe0 100644 --- a/drivers/message/fusion/mptsas.c +++

[PATCH 5/6] mpt fusion: Link speed change display support

2007-08-14 Thread Prakash, Sathya
When there is state change in FC links, a message is displayed with old and new link speed. signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 04ef0a3..1197eba 100644 --- a/drivers/message/fusion/mptbase.h

[PATCH 0/5] mpt fusion: Add logging support

2007-07-24 Thread Prakash, Sathya
The patches in this patch set adds support for logging facility that can be used to debug a number of Fusion MPT related problems. The logging support can be enabled or disabled changing the kernel configuration flag CONFIF_FUSION_LOGGING The debug level can be programmed on the fly via SysFS

[PATCH 1/5] mpt fusion: Changes for logging support in Kconfig, Makefile, mptbase.h and addition of mptdebug.h

2007-07-24 Thread Prakash, Sathya
This patch adds a new file mptdebug.h in the fusion source directory, which contains different debug macros. The existing debug macros and flags are removed from the mptbase.h and Makefile In Kconfig a new configuration parameter FUSION_LOGGING is added to enable/disable the logging support

[PATCH 2/5] mpt fusion: Changes in mptbase.c for logging support

2007-07-24 Thread Prakash, Sathya
This patch contains changes in mptbase.c to support logging in MPT fusion drivers. The changes are majorly in debug printks, the existing debugprintk are modified accroding to new debug macros defined in the file mptbdebug.h A new module parameter mpt_debug_level is added to pass the debug level

[PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Prakash, Sathya
This patch contains changes in mptscsih.c to support logging in MPT fusion drivers. The changes are majorly in debug printks, the existing debugprintk are modified accroding to new debug macros defined in the file mptbdebug.h A new sysfs attribute is added to retrieve and modify the debug

[PATCH 5/5] mpt fusion: Changes in mptctl.c for logging support

2007-07-24 Thread Prakash, Sathya
This patch contains changes in mptctl.c to support logging in MPT fusion drivers The changes are majorly in debug printks, the existing debugprintk are modified accroding to new debug macros defined in the file mptbdebug.h signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff -Naurp

Re: [PATCH 3/5] mpt fusion: Changes in mptscsih.c for logging support

2007-07-24 Thread Prakash, Sathya
Resubmitting the patch with the following change: In function mptscsih_info_scsiio(), the bufflen and resid fields of the Scsi_cmnd structure were accessed directly in the previous patch. In this modified patch data accessor functions are used to access those fields. signed-off-by: Sathya

Re: [PATCH] mpt fusion: add support for Brocade branded LSI FC HBA

2007-07-17 Thread Prakash, Sathya
Resubmitting with Eric Moore suggested modifications: --- Add support for Brocade 410/420 4Gbit FC HBAs. They are re-branded LSI HBAs [LSI7104EP-LC/LSI7204EP-LC] This patch should be applied over the following patches: 1. mpt fusion: deregister from transport layer if PCI registration failed 2.

[PATCH]mpt fusion: add sysfs attributes to display IOC parameters

2007-07-03 Thread Prakash, Sathya
New sysfs scsi_host attributes are added to provide information about, Firmware version, BIOS version, Driver version, MPI version and other product related information. Signed-off-by: Sathya Prakash [EMAIL PROTECTED] --- diff -Naurp b/drivers/message/fusion/mptbase.c