aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_vsc.c
Commit message (Collapse)AuthorAge
* Merge branch 'master' into upstreamJeff Garzik2006-06-22
|\ | | | | | | | | | | | | | | Conflicts: drivers/scsi/libata-core.c drivers/scsi/libata-scsi.c include/linux/pci_ids.h
| * [PATCH] PCI: Move various PCI IDs to header fileBrent Casavant2006-06-21
| | | | | | | | | | | | | | | | | | | | Move various QLogic, Vitesse, and Intel storage controller PCI IDs to the main header file. Signed-off-by: Brent Casavant <bcasavan@sgi.com> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | [PATCH] libata: convert several bmdma-style controllers to new EH, take #3Tejun Heo2006-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert sata_sis, svw, uli and vsc drivers to new EH. All the drivers used to specify ATA_FLAG_SATA_RESET to tell libata to use SATA hardreset instead of SRST. This patch makes all the converted drivers use the standard bmdma error handler which uses both SRST and SATA hardreset. All the controllers should be able to perform SRST but still needs verification. If some of the controllers can't do SRST, it will be very easy to spot as it will show up during boot probing. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | [PATCH] libata-hp: hook warmplugTejun Heo2006-05-31
| | | | | | | | | | | | Hook transportt->user_scan() and hostt->slave_destroy(). Signed-off-by: Tejun Heo <htejun@gmail.com>
* | [PATCH] PATCH: libata. Add ->data_xfer methodAlan Cox2006-05-24
| | | | | | | | | | | | | | | | | | | | | | We need to pass the device in order to do per device checks such as 32bit I/O enables. With the changes to include dev->ap we now don't have to add parameters however just clean them up. Also add data_xfer methods to the existing drivers except ata_piix (which is in the other block of patches). If you reject the piix one just add a data_xfer to it... Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | Merge branch 'upstream'Jeff Garzik2006-04-12
|\ \
| * | Merge branch 'master'Jeff Garzik2006-04-11
| |\| | | | | | | | | | | | | | | | | | | Conflicts: drivers/scsi/libata-scsi.c include/linux/libata.h
| | * [PATCH] move ->eh_strategy_handler to the transport classChristoph Hellwig2006-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overriding the whole EH code is a per-transport, not per-host thing. Move ->eh_strategy_handler to the transport class, same as ->eh_timed_out. Downside is that scsi_host_alloc can't check for the total lack of EH anymore, but the transition period from old EH where we needed it is long gone already. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | | Merge branch 'upstream'Jeff Garzik2006-04-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/scsi/libata-core.c drivers/scsi/pdc_adma.c drivers/scsi/sata_mv.c drivers/scsi/sata_nv.c drivers/scsi/sata_promise.c drivers/scsi/sata_qstor.c drivers/scsi/sata_sx4.c drivers/scsi/sata_vsc.c include/linux/libata.h
| * | [PATCH] libata: rename ATA_FLAG_PORT_DISABLED to ATA_FLAG_DISABLEDTejun Heo2006-04-02
| |/ | | | | | | | | | | | | | | Rename ATA_FLAG_PORT_DISABLED to ATA_FLAG_DISABLED for consistency. (ATA_FLAG_* are always about ports). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | Merge branch 'upstream'Jeff Garzik2006-03-24
|\| | | | | | | | | | | Conflicts: drivers/scsi/libata-core.c
| * [libata] export ata_dev_pair; trim trailing whitespaceJeff Garzik2006-03-24
| | | | | | | | | | | | | | | | Mostly, trim trailing whitespace. Also: * export ata_dev_pair * move ata_dev_classify export closer to ata_dev_pair export
* | [libata] irq-pio: fix build breakageJeff Garzik2006-03-24
| |
* | Merge branch 'upstream'Jeff Garzik2006-03-24
|\| | | | | | | | | | | Conflicts: drivers/scsi/sata_vsc.c
| * Merge branch 'master'Jeff Garzik2006-03-22
| |\
| | * [SCSI] libata: implement minimal transport template for ->eh_timed_outTejun Heo2006-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SCSI midlayer has moved hostt->eh_timed_out to transport template. As libata doesn't need full-blown transport support yet, implement minimal transport for libata. No transport class or whatsoever, just empty transport template with ->eh_timed_out hook. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
| * | [libata sata_vsc, sata_svw] Convert #define'd constants to enumsJeff Garzik2006-03-21
| | | | | | | | | | | | Also, bump sata_vsc version.
| * | [libata] sata_vsc: fix inconsistent NULL checkingDan Williams2006-03-21
| |/ | | | | | | | | | | | | Also, cleanup interrupt mask content and note in Kconfig that this driver supports the Intel 31244. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | sata_vsc build fixJeff Garzik2006-02-20
| |
* | Merge branch 'upstream'Jeff Garzik2006-02-20
|\|
| * Merge branch 'master'Jeff Garzik2006-02-20
| |\
| | * [PATCH] Necessary evil to get sata_vsc to initialize with Intel iq3124h hbaDan Williams2006-02-17
| | | | | | | | | | | | | | | | | | | | | | | | * libata does not care about error interrupts, so handle them locally * the interrupts that are ignored only appear to happen at init time Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | | Merge branch 'upstream'Jeff Garzik2006-02-13
|\| |
| * | [PATCH] libata: kill sht->max_sectorsTejun Heo2006-02-12
| | | | | | | | | | | | | | | | | | | | | | | | The previous dev->max_sectors patch made sht->max_sectors meaningless. Kill all initializations of sht->max_sectors. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | | Merge branch 'upstream'Jeff Garzik2006-02-10
|\| |
| * | [PATCH] libata: use ata_scsi_timed_out()Tejun Heo2006-02-10
| |/ | | | | | | | | | | | | Make all libata low level drivers use ata_scsi_timed_out(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'upstream'Jeff Garzik2006-01-17
|\|
| * [BLOCK] update libata to use new blk_ordered for barriersTejun Heo2006-01-06
| | | | | | | | | | | | | | | | Reflect changes in SCSI midlayer and updated to use new ordered request implementation Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <axboe@suse.de>
* | Merge branch 'upstream'Jeff Garzik2005-11-18
|\|
| * [libata] bump versionsJeff Garzik2005-11-16
| |
* | Merge branch 'master'Jeff Garzik2005-11-11
|\|
| * [libata] constify PCI ID table in several driversJeff Garzik2005-11-10
| |
* | Merge branch 'upstream'Jeff Garzik2005-11-09
|\|
| * [libata] eliminate use of drivers/scsi/scsi.h compatibility header/definesJeff Garzik2005-11-07
| |
* | Merge branch 'master'Jeff Garzik2005-10-30
|\|
| * [libata] use dev_printk() throughout driversJeff Garzik2005-10-30
| | | | | | | | | | | | A few drivers were not following the standard meme of printing out their driver name and version at module load time; this is fixed as well.
* | Merge branch 'upstream'Jeff Garzik2005-10-30
|\|
| * [libata] ensure ->tf_read() hook reads Status and Error registersJeff Garzik2005-10-29
| | | | | | | | | | | | | | | | | | | | We want ->tf_read() to get a complete snapshot of all taskfile registers, without requiring the callers to manually call ata_chk_status() and ata_chk_err() themselves. This also fixes a minor bug in sata_vsc where the lower bits of the feature register were incorrectly placed in the HOB (high order bits) portion of struct ata_taskfile.
* | Merge branch 'master'Jeff Garzik2005-10-28
|\|
| * libata: const-ification bombing runJeff Garzik2005-10-22
| | | | | | | | | | | | | | Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect.
| * [PATCH] iomem annotations (sata_vsc)Al Viro2005-10-21
| | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] libata: interrupt driven pio for LLDAlbert Lee2005-09-28
|/ | | | | | | | | | | | | | | | | | | | | libata.h: libata-core: Add ATA_FLAG_PIO_POLLING flag for LLDs that expect interrupt for command completion only. sata_nv.c: sata_vsc.c: irq handler is wrapper around ata_host_intr(), can handle PIO interrupts. sata_promise.c: sata_sx4.c: sata_qstor.c: sata_mv.c: Private irq handler. Polling mode ATA_FLAG_PIO_POLLING used for compatibility. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [libata] update several drivers to use pci_iomap()/pci_iounmap()Jeff Garzik2005-08-30
|
* Merge /spare/repo/linux-2.6/Jeff Garzik2005-08-29
|\
| * [PATCH] fix atapi_packet_task vs. intr race (take 2)Tejun Heo2005-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interrupts from devices sharing the same IRQ could cause ata_host_intr to finish commands being processed by atapi_packet_task if the commands are using ATA_PROT_ATAPI_NODATA or ATA_PROT_ATAPI_DMA protocol. This is because libata interrupt handler is unaware that interrupts are not expected during that period. This patch adds ATA_FLAG_NOINTR flag to tell the interrupt handler that we're not expecting interrupts. Note that once proper HSM is implemented for interrupt-driven PIO, this should be merged into it and this flag will be removed. ahci.c is a different kind of beast, so it's left alone. * The following drivers use ata_qc_issue_prot and ata_interrupt, so changes in libata core will do. ata_piix sata_sil sata_svw sata_via sata_sis sata_uli * The following drivers use ata_qc_issue_prot and custom intr handler. They need this change to work correctly. sata_nv sata_vsc * The following drivers use custom issue function and intr handler. Currently all custom issue functions don't support ATAPI, so this change is irrelevant, updated for consistency and to avoid later mistakes. sata_promise sata_qstor sata_sx4 Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * libata: trim trailing whitespace.Jeff Garzik2005-07-31
| | | | | | | | Also, fixup a tabs-to-spaces block of code in ata_piix.
* | [libata] license change, other bitsJeff Garzik2005-08-28
|/ | | | | | | | | | | - changes license of all code from OSL+GPL to plain ole GPL - except for NVIDIA, who hasn't yet responded about sata_nv - copyright holders were already contacted privately - adds info in each driver about where hardware/protocol docs may be obtained - where I have made major contributions, updated copyright dates
* Automatic merge of /spare/repo/netdev-2.6 branch use-after-unmap2005-05-29
|\
| * libata: Fix use-after-iounmapJeff Garzik2005-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jens Axboe pointed out that the iounmap() call in libata was occurring too early, and some drivers (ahci, probably others) were using ioremap'd memory after it had been unmapped. The patch should address that problem by way of improving the libata driver API: * move ->host_stop() call after all ->port_stop() calls have occurred. * create default helper function ata_host_stop(), and move iounmap() call there. * add ->host_stop_prewalk() hook, use it in sata_qstor.c (hi Mark). sata_qstor appears to require the host-stop-before-port-stop ordering that existed prior to applying the attached patch.
* | [PATCH] drivers/scsi/sata_vsc: add #include req'd for DMA_32BIT_MASK constantdomen@coderock.org2005-05-27
|/ | | | | | | | | | | | | | | | The previous patch did not compile cleanly on all architectures so here's a fixed one which #includes <linux/dma-mapping.h>. Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() This patch includes dma-mapping.h explicitly because it caused errors on some architectures otherwise. See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> diff -puN drivers/scsi/sata_vsc.c~dma_mask-drivers_scsi_sata_vsc drivers/scsi/sata_vsc.c