aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/fusion
AgeCommit message (Collapse)AuthorFilesLines
2006-01-31[SCSI] fusion: increase reply frame size from 0x40 to 0x50 bytesMoore, Eric1-1/+1
Increasing the reply frame size by 16 bytes, to be in sync with the other fusion drivers. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: setting timeouts in eh threads appropiatley for fc/sas/spiChristoph Hellwig1-3/+17
On Mon, Jan 16, 2006 at 06:53:13PM -0700, Moore, Eric wrote: > The task managment request timeout in the eh threads was set > for U320 timing, which is between 2-5 seconds. > This is too small for FC and SAS. > According to the firmware engineers, Fibre needs to be 40 seconds > and SAS needs to be 10 seconds. The timeout selection should probably be done in a little helper instead of duplicated in a few places. Updated patch below. Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: mptsas, increase discovery timout to 300 secondsMoore, Eric1-6/+9
Increase the port enable timeout only for SAS from 30 to 300 seconds. A customer request for the handling large topologies. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: spi bus reset when driver loadsMoore, Eric2-1/+17
This patch is for spi. This issues bus reset when driver loads. Handling cases when initator has negotiated for packetized, and target negotiated for non-packetized; effectly this bus reset is getting both target and initiator on the same sheet of music. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: fix compileJames Bottomley2-2/+3
The prior fusion patches moved an invocation of a function, mptscsih_TMHandler(), static to mptscsih.c into mptsas.c Make the function unstatic, move the header to mptscsih.h and export it. Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: bump versionMoore, Eric1-2/+2
Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: FC rport code fixesMichael Reed3-63/+151
This fix's problems with recent fc submission regarding i/o being redirected to the wrong target. Signed-off-by: Michael Reed <[email protected]> Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: move sas persistent event handling over to the mptsas moduleMoore, Eric3-19/+17
This moves code intented for SAS from the generic mptscsih module over to the mptsas module. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: target reset when drive is being removedMoore, Eric1-1/+23
The issuing of the target reset used in device hot removal case so the firmware queue is flushed out off outstanding commands. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: add support for raid hot add/del supportMoore, Eric1-25/+173
RAID event support. This will hot add and remove raid volumes when managment application creates and deletes the volumes. The driver is basically responding to firmware asyn events, and reporting the changes to the above layers. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[PATCH] Unlinline a bunch of other functionsArjan van de Ven1-2/+2
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-14[SCSI] mptfc: need to select transport attrsJames Bottomley1-0/+1
Now that mptfc actually uses the transport class, it can't be built without it. Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion - fix pci express bugMoore, Eric1-4/+4
The fix is to write 'MPI_HIM_DIM' to the Host Interrupt Mask register, when enabling interrupts. Instead of the tilde of MPI_HIM_RIM. Apparently writing '1's to some of the reserved bits was causing all the bits to go to `1`, which effectly disabled all interrupts. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion - mpi header udpateMoore, Eric8-102/+554
This updates mpi headers in fusion drivers to version 1.5.12. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion - adding raid support in mptsasMoore, Eric2-1/+27
The SAS RAID volumes are reported beyond the expected number of phys. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion - adding support for FC949ESMoore, Eric2-0/+6
Add software recognition for the new LSI Logic Fibre Channel controller. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] mptfusion - fc transport attributesMichael Reed4-27/+613
Signed-off-by: Michael Reed <[email protected]> Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion: kzalloc / kcalloc conversionChristoph Hellwig6-75/+35
Convert kmalloc + memset to kzalloc or kcalloc in fusion. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] fusion: convert semaphores to mutexesChristoph Hellwig3-11/+11
Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-14[SCSI] mptsas: support basic hotplugChristoph Hellwig2-31/+308
Adds hotplug support for SAS end devices. Unfortunately the fusion firmware doesn't generate similar events for expanders addition/removal so we can't support them yet. Eric has an idea about a clever scheme to find out about expander changes so that'll be added later on. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-10[PATCH] don't include ioctl32.h in driversChristoph Hellwig1-2/+0
These days ioctl32.h is only used for communication of fs/compat.c and fs/compat_ioctl.c and doesn't contain anything of interest to drivers. Remove inclusion in various drivers. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-13[SCSI] mptfusion - bump versionMoore, Eric Dean1-2/+2
Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-13[SCSI] mptfusion - mapping fixs required support for transport layers.Moore, Eric Dean7-417/+411
This utilizes the hostdata area that is hung off of scsi_target and scsi_device for saving unique firmware mapping. This will be required for supporting new Fibre and SPI transport support. This also fixs problems in error handling error code for SAS controllers, in which the incorrect mapping was passed to the firmware. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-13[SCSI] mptfusion - prep for removing domain validationMoore, Eric Dean1-111/+114
This moves some functions around from within the #define MPTSCSIH_ENABLE_DOMAIN_VALIDATION area, in preperation for generic domain validation. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-13[SCSI] mptfusion - bus_type, change SCSI to SPIMoore, Eric Dean3-23/+23
This changes to SPI for the bus_type enumeration. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-13[SCSI] mptfusion - cleaning up xxx_probe error handlingMoore, Eric Dean3-21/+30
This cleans the returning failure conditions of the mptsas/mptfc/mptspi probe routines. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-13[SCSI] mptfusion - adding = THIS_MODULEMoore, Eric Dean3-0/+3
Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-12-02Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6Linus Torvalds3-2/+75
2005-12-01[SCSI] mptfusion : dv performance fixMoore, Eric Dean3-2/+75
Syncronization for Domain Validation workqueue and the initiation of the alternate controller. Its possible that dv could be terminated if the workqueue on the 1st channel doesn complete in time before the 2nd channel begins initialization. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-11-29Revert "[PATCH] drivers/message/fusion/mptbase.c: make code static"Linus Torvalds2-2/+6
This reverts commit 252ac865535e1ea9cc2d28be83f477d8d8b961a2. It impacts the LSI customers using the mptstm target mode drivers (source tar-ball at ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/mptstm-1.00.13-src.tar.gz for those who care). Signed-off-by: Linus Torvalds <[email protected]>
2005-11-09[PATCH] drivers/message/fusion/mptbase.c: make code staticAdrian Bunk2-6/+2
This patch makes the following previously global and EXPORT_SYMBOL'ed code static: - struct mpt_proc_root_dir - int mpt_stm_index Signed-off-by: Adrian Bunk <[email protected]> Cc: James Bottomley <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-11-09[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reasonOlaf Hering5-5/+0
This patch removes almost all inclusions of linux/version.h. The 3 #defines are unused in most of the touched files. A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is unfortunatly in linux/version.h. There are also lots of #ifdef for long obsolete kernels, this was not touched. In a few places, the linux/version.h include was move to where the LINUX_VERSION_CODE was used. quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'` search pattern: /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-11-07[PATCH] message: fix-up schedule_timeout() usageNishanth Aravamudan2-10/+6
Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan <[email protected]> Cc: "Moore, Eric Dean" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[SCSI] mptsas: white space fixes and version bumpChristoph Hellwig2-10/+13
Various whitespace and comment fixes from Eric, aswell as a version bump. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-10-28[SCSI] mptsas: add support for PHY resetsChristoph Hellwig2-0/+100
Support PHY resets in mptsas. Thanks to Eric for various bug fixes and improvements. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-10-28[SCSI] sas: add flag for locally attached PHYsChristoph Hellwig1-3/+7
Add a flag to mark a PHY as attached to the HBA as opposed to beeing on an expander. This is needed because various features are only supported on those. This is a crude hack, the proper fix would be to use different classes for host-attached vs expander phys. I'm looking into that. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-10-28[SCSI] mptsas: support link error attributesChristoph Hellwig1-73/+153
.. and the fusion part. I had to move around the debug functions around a little bit so they are below the transport class methods. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-10-21[PATCH] mptsas: fix phy identifiersEric Moore1-4/+8
This fixes handling of the phy identifiers in mptsas. Signed-off-by: Eric Moore <[email protected]> [ split it a pre-2.6.14 portion from Eric's bigger patch ] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-09-19[SCSI] fusion SAS support (mptsas driver) minor fixMoore, Eric Dean2-1/+1
On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote: > Looks good to me, except for the spurious scsi_print_command prototype > in mptscsih.h. The attached patch addresses that concern. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-19[SCSI] fusion SAS support (mptsas driver) updatesMoore, Eric Dean9-400/+549
Summary of Changes: * splitting mpt_interrupt per Christophs suggestion about a month ago * rename ScsiCfgData to SpiCfgData structure, then move all the raid related info into new structure called RaidCfgData. This is done because SAS supports RAID, as well as SPI, so the raid stuff should be seperate. * incorrect timeout calculation for cntdn inside WaitForDoorbellAck and WaitForDoortbellInt * add support for interpreting SAS Log Info * Increase Event Log Size from 0xA to 0x32 * Fix bug in mptsas/mptfc/mptspi - when controller has Initiator Mode Disabled, and only running in TargetMode, the mptctl would panic when loading. The fix is to return 0, instead of -ENODEV, in SCSI LLD respective probe routines * Fix bug in mptlan.c - driver will panic if there is host reset, due to dev being set to zero in mpt_lan_ioc_reset * Fix's for SPI - Echo Buffer * Several fix's in mptscsih_io_done - FCP Response info, RESIDUAL_MISMATCH, Data Underrun, etc. * Cleanup Error Handling - EH handlers, mptscsih_flush_cmds, and zeroing out ScsiLookup from mptscsih_qcmd * Cleanup asyn event handling from mptscsih -> mptscsih_event_process. Also added support for SAS Persistent Table Full, an asyn event Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-19[SCSI] fusion SAS support (mptsas driver)Christoph Hellwig3-0/+1253
Adds the actual mptsas driver, based upon the LSI driver with new work for SAS transport class integration from Eric Moore and me. This obviously depends on the SAS transport class. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-19[SCSI] fusion core changes for SAS supportChristoph Hellwig3-87/+472
- various bits for SAS support from the LSI driver. - use the device private data for the fusion target private data. this should be using the midlayer target data framework, but we can't move over to that until fusion has been switched to the generic DV code - use target ID and channel from the fusion target private data, because those in scsi_device will be different for mptsas Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-04[SCSI] fusion: whitespace fixesChristoph Hellwig3-155/+174
Acked by: Moore, Eric Dean <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-04[SCSI] fusion: endianess fixesChristoph Hellwig3-16/+16
Assorted endianess fixes. I'll work on full endianess annotations later. Acked by: Moore, Eric Dean <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-04[SCSI] fusion: update LSI headersChristoph Hellwig6-44/+415
Acked by: Moore, Eric Dean <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-09-04[SCSI] fusion: extended config header supportChristoph Hellwig4-44/+81
Acked by: Moore, Eric Dean <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-07-26Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6Linus Torvalds4-63/+24
2005-07-07[PATCH] pm: more u32 vs. pm_message_t fixesPavel Machek2-14/+2
Few more u32 vs. pm_message_t fixes. Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-07-01[SCSI] - mptfusion - convert to new change_queue_depth APIMoore, Eric Dean4-55/+24
Convert driver to use new change_queue_depth API. Signed-off-by: Eric Moore <[email protected]> Fixed up rejections and Signed-off-by: James Bottomley <[email protected]>
2005-06-27[PATCH] PCI: make drivers use the pci shutdown callback instead of the ↵Greg Kroah-Hartman4-12/+8
driver core callback. Now we can change the pci core to always set this pointer, as pci drivers should use it, not the driver core callback. Signed-off-by: Greg Kroah-Hartman <[email protected]>