This fix's compilier warnings that was reported by Satyam Sharma. Currently
this patch is there in -mm.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptctl.c a/drivers/message/fusion/mptct
to zero, thus entire message frame is
copied.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptlan.c a/drivers/message/fusion/mptlan.c
--- b/drivers/message/fusion/mptlan.c 2007-09-17 17:17:50.0 -0600
+++ a/drivers/message/fusion/mptlan.c 20
Cleaning up prints that use the xxx_printk API, in that the fusion preamble
"mptbase: iocX" follows the info provided by the print API.
The way its currently coded, the [H:C:T] print in sdev_printk will be inbetween
"mptbase" and "iocX", instead of before.
Sig
, and moved the
ScsiLookup array over to MPT_ADAPTER struct.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.h
a/drivers/message/fusion/mptbase.h
--- b/drivers/message/fusion/mptbase.h 2007-09-17 10:41:08.0 -0600
+++ a/drivers/message/fusio
s space to expression
4) mptbase: from mpt_do_upload - request[] is bad constant expression
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-09-17 10:41:08.0 -06
The driver is currently typecasting to obtain the shost hostdata. The driver is
updated to use the shost_priv macro.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptctl.c a/drivers/message/fusion/mptctl.c
--- b/drivers/message/fusion/mptctl.c 2007
I'm sending this set of patchs with hope they get into the 2.6.24 merge window.
This applied over jejb scsi-misc tip.
1) adding usage of shost_priv and removing all the typecasting
2) Fixing sparse warnings
3) locking down ScsiLookup
4) fix up fusion prints using the sdev_printk, dev_printk, and
.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
--- b/drivers/message/fusion/mptspi.c 2007-09-17 16:35:27.0 -0600
+++ a/drivers/message/fusion/mptspi.c 2007-09-17 15:05:33.0 -0600
@@ -613,60 +613,6 @@ static void mptspi_read_parameters(struc
spi_width(starget) =
issue commands to firmware,
porting them to be single threaded using the generic MPT_MGMT struct.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
--- b/drivers/message/fusion/mptsas.c 2007-09-17 16:35:06.0 -0600
+++ a/drivers/message/fusion/mptsas.c 2007-09-17 19:35:03.0
een removed.
3) [EMAIL PROTECTED] - fix's provided from SGI after testing with single
threaded internal commands
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
--- b/drivers/message/fusion/mptfc.c2007-09-17 16:35:48.0 -0600
+++ a/drivers/message/fusion/mptfc.c20
mptctl_bus_reset
4) cleanup ioc_reset callback handlers, introducing wrappers for synronizing
error recovery (mpt_set_taskmgmt_in_progress_flag,
mpt_clear_taskmgmt_in_progress_flag), as the fusion firmware only handles one
task management request at a time.
Signed-off-by: Eric Moore <[EMAIL PROTEC
, and moved the
ScsiLookup array over to MPT_ADAPTER struct.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.h
a/drivers/message/fusion/mptbase.h
--- b/drivers/message/fusion/mptbase.h 2007-09-17 10:41:08.0 -0600
+++ a/drivers/message/fusio
s space to expression
4) mptbase: from mpt_do_upload - request[] is bad constant expression
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-09-17 10:41:08.0 -06
The driver is currently typecasting to obtain the shost hostdata. The driver is
updated to use the shost_priv macro.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptctl.c a/drivers/message/fusion/mptctl.c
--- b/drivers/message/fusion/mptctl.c 2007
These set of patchs are for scsi-misc git, hence post 2.6.23 kernels.
1) adding usage of shost_priv and removing all the typecasting
2) Fixing sparse warnings
3) locking down ScsiLookup
4-9) error recovery improvements, and synchronizing internal commands (6
seperate patchs)
-
To unsubscribe from
Mailing list changed. The former list at [EMAIL PROTECTED] is no
longer in service. Please use the new email provided listed in this patch.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/MAINTAINERS a/MAINTAINERS
--- b/MAINTAINERS 2007-08-15 16:33:58.0 -0600
bump version
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.h
a/drivers/message/fusion/mptbase.h
--- b/drivers/message/fusion/mptbase.h 2007-09-13 14:30:29.0 -0600
+++ a/drivers/message/fusion/mptbase.h 2007-09-14 17:52:30.0
Adding 949X, 949E, and 1078 to Kconfig. Adding "depends on FUSION" required
in the FUSION_LOGGING section, and fixing a spelling error.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/Kconfig a/drivers/message/fusion/Kconfig
--- b/driver
Some other vender has concerns over this copyright, and Dell has approved
removing it.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptsas.c a/drivers/message/fusion/mptsas.c
--- b/drivers/message/fusion/mptsas.c 2007-09-14 17:09:59.0 -0600
Cleaning up code by accesing the ioc pointer directly instead of via hd->ioc.
In the future, most data members of struct MPT_SCSI_HOST will be either deleted
or moved to struct MPT_ADAPTER.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptfc.c
common naming of vdevice through out driver
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptctl.c a/drivers/message/fusion/mptctl.c
--- b/drivers/message/fusion/mptctl.c 2007-09-14 12:35:20.0 -0600
+++ a/drivers/message/fusion/mptctl.c 2007
cleaning up some white space that was introduce in a recent "cb_idx int to u8"
patch.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-09-14 17:23:24
aks
http://marc.info/?l=linux-scsi&m=118678345904954&w=2
[patch 30/30] message/fusion: remove redundant memset
http://marc.info/?l=linux-scsi&m=118678345816541&w=2
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff --git a/drivers/message/fusion/Kconfig b/driver
These set of patchs are for scsi-misc git, hence post 2.6.23 kernels. These
basically cleaning up a large part of the code.
Contents of this series of patchs:
1) mm merges
2) standardize printks and debug info
3) adding/removing white space
4) rename vdev to vdevice
5) removing references to hd
ttp://marc.info/?l=linux-scsi&m=118678345816541&w=2
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig
index 3c44a2f..9b87c2f 100644
--- a/drivers/message/fusion/Kconfig
+++ b/drivers/message/fusion/Kconfig
@@ -1,
.
signed-off-by: Sathya Prakash <[EMAIL PROTECTED]>
signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/Kconfig a/drivers/message/fusion/Kconfig
--- b/drivers/message/fusion/Kconfig2007-08-14 15:50:10.0 -0600
+++ a/drivers/message/fusion/Kconfig2
A new PCI_VENDOR_ID for pci_ids.h.
signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/include/linux/pci_ids.h a/include/linux/pci_ids.h
--- b/include/linux/pci_ids.h 2007-08-08 16:50:40.0 -0600
+++ a/include/linux/pci_ids.h 2007-08-14 16:03:40.0 -0600
@@ -
l the ioc_reset callbacks are called for
every registered driver. When mptspi_ioc_reset is called, the hd object has
not be initialized. The fix is to return when hd is NULL. This object will
be setup once mptspi_probe has completed calling scsi_host_alloc.
Signed-off-by: Eric Moore <[EMAIL PROTECT
component, not the
volume. In addition to this fix, there are a couple other cases to address
hidden raid components. For instance task_abort and device reset are not
supported by mpt fw for hidden raid components, a bus reset would be required
or target reset to volume.
Signed-off-by: Eric Moore
nice cosmetic cleaning of eh thread callback funtions
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptscsih.c
a/drivers/message/fusion/mptscsih.c
--- b/drivers/message/fusion/mptscsih.c 2007-06-13 15:37:26.0 -0600
+++ a/drivers/message/
James, These patchs apply over the scsi-misc tree, and over the patchs I posted
to lsml earlier in the week.
[PATCH 1/2] mpt fusion: cleanup eh handlers
[PATCH 2/2] mpt fusion: fix for mounted raid volume filesytem that goes
read-only
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
bump version
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.h
a/drivers/message/fusion/mptbase.h
--- b/drivers/message/fusion/mptbase.h 2007-06-13 15:36:18.0 -0600
+++ a/drivers/message/fusion/mptbase.h 2007-06-13 15:40:23.0
rewrite of mpt_fc_log_info to use the enum/defines from mpi_log_fc.h
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-06-13 14:46:35.0 -0600
+++ a/drivers/m
remove unused header
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/linux_compat.h
a/drivers/message/fusion/linux_compat.h
--- b/drivers/message/fusion/linux_compat.h 2007-04-25 21:08:32.0
-0600
+++ a/drivers/message/fusion/linux_co
fc inband managment header deleted
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/lsi/mpi_inb.h
a/drivers/message/fusion/lsi/mpi_inb.h
--- b/drivers/message/fusion/lsi/mpi_inb.h 2007-06-12 15:29:07.0
-0600
+++ a/drivers/message/fusi
mpi header update
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/lsi/mpi.h
a/drivers/message/fusion/lsi/mpi.h
--- b/drivers/message/fusion/lsi/mpi.h 2007-04-25 21:08:32.0 -0600
+++ a/drivers/message/fusion/lsi/mpi.h 2007-06-12 15:29:07.000
Update assocated fusion sources with new support email address.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-06-12 12:21:58.0 -0600
+++ a/drivers/m
LSI has a new distribution list for linux support and associated inquires. The
previous list at [EMAIL PROTECTED] has been deleted. I will continue
maintaining this driver, as well as others at LSI.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
--- b/MAINTAINERS 2007-06-12
returning DID_BUS_BUSY,
instead we return the status as is. Retry hanlding seems to be properly
handled in scsi_softirq_done, where a busy sam status would only occurr for the
time specified by (cmd->allowed +1) * cmd->timeout_per_command.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
d
same time use the settingsneeded for SAS and Fibre Channel.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-03-15 18:20:01.0 -0600
+++ a/drivers/message/
infinite loop of dv to host reset. This will
prevent that case, as we merely program old values. If host reset is
called outside context of domain validation, then we can call
spi_dv_device. Please apply.
This applies over scsi-misc tree.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -u
hanged to using memcmp. This replaces the prevous patch.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptscsih.c
a/drivers/message/fusion/mptscsih.c
--- b/drivers/message/fusion/mptscsih.c 2007-01-27 19:09:00.0 -0700
+++ a/drivers/message/
export the lun to int lossy transform
> because it
> will encourage bad uses.
I've removed usage of scsilun_to_int.
Now I use int_to_scsilun to convert vdevice->lun, then added a new function
mptscsih_cmp_scsilun which compares the two luns. This applies over all the
previous patch
bump version, and fix email addr for lsi support
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2007-01-28 12:57:29.0 -0700
+++ a/drivers/message/fusion/mpt
misc error handling bug fix's
- properly interpret iocstatus returned after task management request
- clear tmState after a failed doorbell
- cleanup mptscsih_taskmgmt_complete
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/mes
patch will issue target reset immediately from ISR context, and will
queue remaining target resets to be issued after the previous one completes.
The delayed work tasks are spawned during the target reset completion.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/
Return proper sas address to sas transport layer for parent phys that
form a wide port. Current implementation returns a different address
for each phy, incremented by one from the base address.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptsas.c a/d
various string updates for iocstatus, logingo, and fw asyn events.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/Makefile a/drivers/message/fusion/Makefile
--- b/drivers/message/fusion/Makefile 2007-01-28 12:57:29.0 -0700
+++ a/drivers/m
inactive raid support, e.g. exposing hidden raid components
belonging to a volume that are inactive. Also misc bug fix's for
various raid asyn events.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--
helpfull debug for mptspi module
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/Makefile a/drivers/message/fusion/Makefile
--- b/drivers/message/fusion/Makefile 2007-01-28 12:57:29.0 -0700
+++ a/drivers/message/fusion/Makefile 2007-01-28
Move some functions that only apply to the mptspi module over from mptscsih.c
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptscsih.c
a/drivers/message/fusion/mptscsih.c
--- b/drivers/message/fusion/mptscsih.c 2007-01-28 12:57:29.0 -0700
Add support for greater than 255 target and luns.
Kill the hd->Target[] field, and change all references
of bus_id/target_id, to channel/id.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/Makefile a/drivers/message/fusion/Makefile
--- b/driver
export symbol to be used in 1st fusion patch
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/scsi/scsi_scan.c a/drivers/scsi/scsi_scan.c
--- b/drivers/scsi/scsi_scan.c 2007-01-24 19:19:28.0 -0700
+++ a/drivers/scsi/scsi_scan.c 2007-01-28 12:42:12.0
export define to be used in 3rd fusion patch
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/scsi/scsi_transport_spi.c
a/drivers/scsi/scsi_transport_spi.c
--- b/drivers/scsi/scsi_transport_spi.c 2007-01-24 19:19:28.0 -0700
+++ a/drivers/scsi/scsi_transport_spi.
debug
4 - iocstatus, loginfo, and event debug updates
5 - inactive raid support, and raid event bug fix's
6 - serialize target resets in mptsas.c
7 - report wide port sas address's for hba phys
8 - error handling bug fix's
9 - bump version
Signed-off-by: Eric Moore <[EMAI
Here are the lastest mpi headers for mpt fusion driver, which defines
the firmware to driver interface.
(sorry about repost, I hadn't mentioned the driver in previous email)
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/lsi/mpi.h
a/drivers/mes
Here are latest mpi headers (firmware/driver interface).
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/lsi/mpi.h
a/drivers/message/fusion/lsi/mpi.h
--- b/drivers/message/fusion/lsi/mpi.h 2006-11-29 14:57:37.0 -0700
+++ a/drivers/message/fusi
My fibre channel drives fail to
> > be recognized by my LSIFC909 card.
>
> Please send the output of `lspci -vn'
> -
Recompile the driver with MPT_DEBUG_INIT enabled in the driver Makefile,
and repost the output.
Eric Moore
-
To unsubscribe from this list: send the line
bump version
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.h
a/drivers/message/fusion/mptbase.h
--- b/drivers/message/fusion/mptbase.h 2006-12-25 01:41:05.0 -0700
+++ a/drivers/message/fusion/mptbase.h 2006-12-25 01:45:41.0
* Add modinfo driver version support.
* Change copyright year to 2007.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c 2006-12-23 21:00:32.0 -0700
+++ a/d
* Endian fix's for warnings found in ppc environment.
* Fix compile time warning when calling scsi_device_reprobe, where
in newer kernels this API expects its return value to be examined.
* Fix compile errors when debug messages are enabled.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]
FC/SAS for which it
solved a failover issue.
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptscsih.c
a/drivers/message/fusion/mptscsih.c
--- b/drivers/message/fusion/mptscsih.c 2006-12-25 01:51:26.0 -0700
+++ a/drivers/message/fusion/mptscsih.c 2
an infinite number of them.
Signed-off-by: Michael Reed <[EMAIL PROTECTED]>
Signed-off-by: Eric Moore <[EMAIL PROTECTED]>
diff -uarpN b/drivers/message/fusion/mptscsih.c
a/drivers/message/fusion/mptscsih.c
--- b/drivers/message/fusion/mptscsih.c 2006-12-23 21:00:32.0 -0700
+
LSILOGIC MPT FUSION DRIVERS (FC/SAS/SPI)
P: Eric Moore
-M: [EMAIL PROTECTED]
-M: [EMAIL PROTECTED]
-L: [EMAIL PROTECTED]
+M: [EMAIL PROTECTED]
+M: [EMAIL PROTECTED]
+L: [EMAIL PROTECTED]
L: linux-scsi@vger.kernel.org
W: http://www.lsilogic.com/support
S
On Tuesday, July 19, 2005 9:12 PM, Matt Domsch wrote:
What you illustrated above is not going to work.
If your doing #ifndef around a function, such as scsi_device_online, it's
not going to compile
when scsi_device_online is already implemented in the kernel tree.
The routine scsi_device_online i
65 matches
Mail list logo