summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_promise.c
Commit message (Collapse)AuthorAgeFilesLines
* [SCSI] remove Scsi_Host_Template typedefChristoph Hellwig2005-11-091-1/+1
| | | | Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
* [libata] use dev_printk() throughout driversJeff Garzik2005-10-301-1/+2
| | | | | | 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.
* [libata] change ata_qc_complete() to take error mask as second argJeff Garzik2005-10-301-9/+7Star
| | | | | | | | | | | | | | | The second argument to ata_qc_complete() was being used for two purposes: communicate the ATA Status register to the completion function, and indicate an error. On legacy PCI IDE hardware, the latter is often implicit in the former. On more modern hardware, the driver often completely emulated a Status register value, passing ATA_ERR as an indication that something went wrong. Now that previous code changes have eliminated the need to use drv_stat arg to communicate the ATA Status register value, we can convert it to a mask of possible error classes. This will lead to more flexible error handling in the future.
* [PATCH] libata: add support for Promise SATA 300 TX2plus PDC40775Ed Kear2005-10-281-0/+2
| | | | | | | | | I'm using this card in a RAID1 with 2 new SATA drives with no problems. Card - SATA 300 TX2plus PDC40775 (3d73) Signed-off-by: Ed Kear <ed@kear.net> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [libata sata_promise] add pci idJeff Garzik2005-10-281-0/+2
| | | | Contributed by Daniel Mueller @ Siemens AG.
* libata: const-ification bombing runJeff Garzik2005-10-221-6/+6
| | | | | | | 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_promise)Al Viro2005-10-211-4/+4
| | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] libata: indent and whitespace changeAlbert Lee2005-09-281-3/+3
| | | | | 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-301-4/+4
|
* [libata] __iomem annotations for various driversJeff Garzik2005-08-301-6/+6
|
* Merge /spare/repo/linux-2.6/Jeff Garzik2005-08-301-15/+30
|\
| * Merge /spare/repo/linux-2.6/Jeff Garzik2005-08-291-1/+11
| |\
| | * libata: fix EH lockingJeff Garzik2005-08-261-0/+5
| | | | | | | | | | | | | | | Wrap ata_qc_complete() calls in EH context in spinlocks, to prevent races (mainly in ATAPI code paths).
| | * /spare/repo/libata-dev branch 'upstream-fixes'Jeff Garzik2005-08-231-1/+1
| | |\
| | * | [PATCH] fix atapi_packet_task vs. intr race (take 2)Tejun Heo2005-08-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | [PATCH] sata_promise: Add PDC40519 idDaniel Drake2005-08-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Promise TX4200 is a 4-port SATA controller based on the PDC40519 chip. It meets the description of the 20319, so just a simple ID needs to be added to support this hardware. Thanks to Martin Povolný for testing. Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| | * | [PATCH] sata_promise: Add PDC40718 idOtto Meier2005-08-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otto Meier recently submitted a patch to support the PDC40718 chip (marketed as SATA300 TX4, a 4-port SATA controller). Signed-off-by: Otto Meier <gf435@gmx.net> Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * | | [libata] license change, other bitsJeff Garzik2005-08-291-14/+19
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* / | [libata sata_promise] Do not attempt to use SATA phy on PATA controllersJeff Garzik2005-08-291-7/+43
|/ /
* / libata: release prep (bump versions, etc.)Jeff Garzik2005-08-231-1/+1
|/ | | | | | - bump versions where necessary - remove two duplicated+outdated doc comments - add MODULE_VERSION() to AHCI driver
* Automatic merge of /spare/repo/linux-2.6/.git branch HEAD2005-06-041-0/+3
|\
| * libata: Fix use-after-iounmapJeff Garzik2005-05-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] sata_promise: add PCI ID for FastTrak TX2200 2-portsFrancisco Javier2005-05-261-0/+2
| |
* | [libata sata_promise] pdc20619 (PATA) supportTobias Lorenz2005-05-121-1/+25
|/
* Linux-2.6.12-rc2Linus Torvalds2005-04-171-0/+682
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!