aboutsummaryrefslogtreecommitdiff
path: root/drivers/message
AgeCommit message (Collapse)AuthorFilesLines
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-02-03[PATCH] I2O: fix and workaround for Motorola/Freescale controllerMarkus Lidel2-0/+21
- This controller violates the I2O spec for the I/O registers. The patch contains a workaround which moves the registers to the proper location. (originally author: Matthew Starzewski) - If a message frame is beyond the mapped address range a error is returned. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-02-03[PATCH] I2O: don't disable PCI device if it is enabled before probingMarkus Lidel1-15/+14
If PCI device is enabled before probing, it will not be disabled at exit. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[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] fix up message/i2o/pci.cJames Bottomley1-1/+1
There was a use before initialisation of c->name 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-14[SCSI] I2O: move pci_request_regions() just behind pci_enable_device()Salyzyn, Mark1-5/+5
The problem in dpt_i2o could be the pci config space accesses it triggers as it loads, dangerous to do if there is any I/O activity going on in the other driver (probable if a boot driver I guess). I approve this patch to dpt_i2o.c, and am applying it to the Adaptec branch of the driver. Thanks for the investigation Ryoji. --- In linux 2.6.15, data transfer does hang when both dpt_i2o and i2o_block drivers are loaded. It seems that location of pci_request_regions() are wrong. I moved it just behind pci_enable_device() like other drivers, and it becomes fine. Signed-off-by: Ryoji Kamei <[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]>
2006-01-10spelling: s/retreive/retrieve/Adrian Bunk1-1/+1
Signed-off-by: Adrian Bunk <[email protected]>
2006-01-08[PATCH] Add block_device_operations.getgeo block device methodChristoph Hellwig1-10/+8
HDIO_GETGEO is implemented in most block drivers, and all of them have to duplicate the code to copy the structure to userspace, as well as getting the start sector. This patch moves that to common code [1] and adds a ->getgeo method to fill out the raw kernel hd_geometry structure. For many drivers this means ->ioctl can go away now. [1] the s390 block drivers are odd in this respect. xpram sets ->start to 4 always which seems more than odd, and the dasd driver shifts the start offset around, probably because of it's non-standard sector size. Signed-off-by: Christoph Hellwig <[email protected]> Cc: Jens Axboe <[email protected]> Cc: <[email protected]> Cc: Jeff Dike <[email protected]> Cc: Paolo Giarrusso <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Neil Brown <[email protected]> Cc: Markus Lidel <[email protected]> Cc: Russell King <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: James Bottomley <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds1-1/+1
Manual fixup for merge with Jens' "Suspend support for libata", commit ID 9b847548663ef1039dd49f0eb4463d001e596bc3. Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: Lindent runMarkus Lidel3-32/+29
Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: OptimizingMarkus Lidel8-35/+22
- make i2o_iop_free() static inline (from Adrian Bunk) - changed kmalloc() + memset(0) into kzalloc() Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: BeautifyingMarkus Lidel9-26/+20
Fix some typos and minor code beautifying. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: BugfixesMarkus Lidel4-24/+20
- Removed some kmalloc's with __GFP_ZERO and replace it with memset() because it didn't work properly. - Fixed returned message frame in i2o_cfg_passthru() which caused raidutils to display wrong error message in case a disk was missing. - Fixed size of printk() in i2o_scsi.c. - Fixed get_device() and put_device() in probing of the I2O controller. Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: Remove wrong I2O device classMarkus Lidel4-114/+68
Removed wrong I2O device class, which was only needed to add sysfs attributes. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: SPARC fixesMarkus Lidel5-101/+111
Fix lot of BE <-> LE bugs which prevent it from working on SPARC. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[PATCH] I2O: changed I2O API to create I2O messages in kernel memoryMarkus Lidel8-426/+412
Changed the I2O API to create I2O messages first in kernel memory and then transfer it at once over the PCI bus instead of sending each quad-word over the PCI bus. Signed-off-by: Markus Lidel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-06[BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn()Tejun Heo1-1/+1
add @uptodate argument to end_that_request_last() and @error to rq_end_io_fn(). there's no generic way to pass error code to request completion function, making generic error handling of non-fs request difficult (rq->errors is driver-specific and each driver uses it differently). this patch adds @uptodate to end_that_request_last() and @error to rq_end_io_fn(). for fs requests, this doesn't really matter, so just using the same uptodate argument used in the last call to end_that_request_first() should suffice. imho, this can also help the generic command-carrying request jens is working on. Signed-off-by: tejun heo <[email protected]> Signed-Off-By: Jens Axboe <[email protected]>
2006-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds8-558/+567