aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/fusion
AgeCommit message (Collapse)AuthorFilesLines
2006-03-12[SCSI] mptscsih: remove unused page 1 setting functionJames Bottomley1-44/+0
It was actually rendered unused by the move to the spi transport class, but never taken out. Signed-off-by: James Bottomley <[email protected]>
2006-03-01[SCSI] mptspi: Add transport class Domain ValidationJames Bottomley6-2459/+774
This is the first half of a patch to add the generic domain validation to mptspi. It also creates a secondary "virtual" channel for raid component devices since these are now exported with no_uld_attach. What Eric and I would have really liked is to export all physical components on channel 0 and all raid components on channel 1. Unfortunately, this would result in device renumbering on platforms with mixed RAID/Physical devices which was considered unacceptable for userland stability reasons. Still to be done is to plug back the extra parameter setting and DV pieces on reset and hotplug. Signed-off-by: James Bottomley <[email protected]>
2006-02-27[SCSI] mptsas: add support for enclosure and bay identifier attributesChristoph Hellwig1-35/+161
Adds support to retrieve the enclosure and bay identifiers. This patch is from Eric with minor modifications from me, rewritten from a buggy patch of mine, based on the earlier CSMI implementation from Eric.. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-27[SCSI] drivers/message/fusion/mptfc.c: make 2 functions staticAdrian Bunk1-2/+2
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-27[SCSI] fusion - mptlan - remove wierd humor printMoore, Eric1-4/+1
Removes wierd humor, and bad language printk in mptlan. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl -adding asyn event notification supportMoore, Eric2-0/+80
Adding aen support. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl -firmware download fixMoore, Eric1-15/+20
Fix's firmware download ioctl to work with SAS. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl - backplane istwi fixMoore, Eric3-125/+63
Moving the toolbox call from mptbase.c, over to mptctl.c, and using the mptctl infastructure to issue the call. The existing code is hanging on certain HP platforms when this ioctl is issued, and this patch fix's that. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl -sense width fixMoore, Eric1-2/+6
Bug fix for correctly setting sense width for the MPTCOMMAND ioctl. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl - Event Log FixMoore, Eric3-5/+4
Use the hard coded value MPTCTL_EVENT_LOG_SIZE to fix bug where in certain cases, the ioc->eventLogSize was initialized. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mtctl - change to wait_event_timeoutMoore, Eric1-6/+5
Change from using wait_event_interruptible_timeout to wait_event_timeout. Also delete white space and duplicate line of code. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl - adding support for bus_type=SASMoore, Eric2-4/+8
Add bus_type recognization in ioctl path for SAS. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-02-04[SCSI] fusion - mptctl - MPTCOMMAND - adding function types.Moore, Eric1-0/+21
This adds support for new function types in the existing MPTCOMMAND ioctl. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: add message sanity checkMoore, Eric1-1/+14
This adds a sanity check in the interrupt routine insures incoming message frames are a valid message frames. The code for setting 0xdeadbeaf in the freed message frames, apparently was already submitted by Christoph in previous patch submission. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: unloading the driver - only set asyn narrow for configured ↵Moore, Eric1-6/+8
devices This patch inhibits sending spi negotiation parameters for non-configured devices from the slave_destroy function. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: unloading the driver results in panic - fixMoore, Eric1-4/+10
The ioc->alt_ioc->alt_ioc pointer is not getting cleared during driver unload time. This dangling pointer can result in panic in certain circumstances, such as error recovery, or firmware download in flashless environments. This only impacts dual functions controllers, such as 1030. Please apply. This patch also includes a small cosmetic name change for mpt_spi_log_info. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] mptsas: don't complain on bogus slave_alloc callsChristoph Hellwig1-2/+1
When people use the userspace scanning facilities on SAS hardware the LLDD gets bogus slave_alloc calls. Just fail those gracefully instead of printing a warning in mptsas and another one in the midlayer. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: add task managment response code infoMoore, Eric1-0/+41
Adding verbose message returned from firmware when a task mangment request fails. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: add MSI supportChristoph Hellwig1-0/+11
On Mon, Jan 16, 2006 at 06:53:24PM -0700, Moore, Eric wrote: > Adding MSI support, and command line for enabling > it. By default, the command line option has MSI disabled. mpt_msi_enable is initialized to 0 implicitly, no need to do that. Also replace if (mpt_msi_enable == 1) tests with just if (mpt_msi_enable). Updated patch below: Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: overrun tape fixMoore, Eric1-1/+2
Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2006-01-31[SCSI] fusion: add verbose messages for RAID actionsMoore, Eric1-0/+136
A customer request to send raid asyn actions from firmware to the event syslog. This shows when raid volumes go degraded, or complete resync, or volumes created/deleted, etc. Signed-off-by: Eric Moore <[email protected]> Signed-off-by: James Bottomley <[email protected]>
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]>