summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pdc_adma.c
Commit message (Collapse)AuthorAgeFilesLines
* Move libata to drivers/ata.Jeff Garzik2006-08-101-740/+0
|
* Merge branch 'tj-upstream-pci_register_driver' of ↵Jeff Garzik2006-08-101-1/+1
|\ | | | | | | git://htj.dyndns.org/libata-tj into upstream
| * [PATCH] libata: replace pci_module_init() with pci_register_driver()Pavel Roskin2006-08-101-1/+1
| | | | | | | | | | | | | | Replace pci_module_init() with pci_register_driver(). Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Tejun Heo <htejun@gmail.com>
* | [PATCH] libata: Use ATA_FLAG_PIO_POLLING for pdc_admaAlbert Lee2006-08-101-1/+2
|/ | | | | | | | | | | pdc_adma was overlooked and broken by the irq-pio patch: Only HSM_ST_LAST interrupts should be delivered to this LLDD. Adding ATA_FLAG_PIO_POLLING to pdc_adma fixes the problem (temporarily), before we convert the irq handler of pdc_adma to handle all interrupts. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] irq-flags: scsi: Use the new IRQF_ constantsThomas Gleixner2006-07-021-1/+1
| | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] libata: add missing ->data_xfer for pdc_admaTejun Heo2006-06-111-0/+1
| | | | | | | | | | | | | | | pdc_adma use libata-core PIO path but were left out during ->data_xfer conversion. Initialize with proper callbacks. This patch is against the current libata-dev#ALL. Controllers which implement their own PIO HSM (ahci and sil24) don't need ->data_xfer, so the above two are the only drivers which were left out during conversion. From: "Barry K. Nathan" <barryn@pobox.com> Signed-off-by: Barry K. Nathan <barryn@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata-hp: hook warmplugTejun Heo2006-05-311-0/+1
| | | | | | Hook transportt->user_scan() and hostt->slave_destroy(). Signed-off-by: Tejun Heo <htejun@gmail.com>
* Merge branch 'upstream'Jeff Garzik2006-04-121-1/+0
|\
| * Merge branch 'master'Jeff Garzik2006-04-111-1/+0
| |\ | | | | | | | | | | | | | | | | | | Conflicts: drivers/scsi/libata-scsi.c include/linux/libata.h
| | * [PATCH] move ->eh_strategy_handler to the transport classChristoph Hellwig2006-04-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-1/+1
|\ \ \ | |/ /
| * | [libata] bump versionsJeff Garzik2006-04-021-1/+1
| | |
* | | Merge branch 'upstream'Jeff Garzik2006-04-021-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-2/+2
| |/ | | | | | | | | | | | | | | 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-241-2/+1
|\ \ | |/ | | | | | | | | Conflicts: drivers/scsi/sata_vsc.c
| * Merge branch 'master'Jeff Garzik2006-03-221-1/+0
| |\
| | * [SCSI] libata: implement minimal transport template for ->eh_timed_outTejun Heo2006-03-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | [PATCH] libata: make code actually compile with debugging onAlan Cox2006-03-211-1/+1
| |/ | | | | | | Signed-off-by: Jeff Garzik <jeff@garzik.org>
* | Merge branch 'upstream'Jeff Garzik2006-02-131-1/+0
|\ \ | |/
| * [PATCH] libata: kill sht->max_sectorsTejun Heo2006-02-121-1/+0
| | | | | | | | | | | | | | | | 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-101-0/+1
|\ \ | |/
| * [PATCH] libata: use ata_scsi_timed_out()Tejun Heo2006-02-101-0/+1
| | | | | | | | | | | | | | 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 'tmp'Jeff Garzik2006-01-271-2/+2
|\ \ | |/
| * [PATCH] libata: return AC_ERR_* from issue functionsTejun Heo2006-01-261-2/+2
| | | | | | | | | | | | | | | | | | Return AC_ERR_* mask from issue fuctions instead of 0/-1. This enables things like failing a qc with AC_ERR_HSM when the device doesn't set DRDY when the qc is about to be issued. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'upstream'Jeff Garzik2005-12-061-6/+5
|\ \ | |/
| * [PATCH] libata: move err_mask to ata_queued_cmdAlbert Lee2005-12-061-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | - remove err_mask from the parameter list of the complete functions - move err_mask to ata_queued_cmd - initialize qc->err_mask when needed - for each function call to ata_qc_complete(), replace the err_mask parameter with qc->err_mask. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> =============== Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'master'Jeff Garzik2005-11-111-1/+1
|\ \ | |/
| * [libata] constify PCI ID table in several driversJeff Garzik2005-11-101-1/+1
| |
* | Merge branch 'upstream'Jeff Garzik2005-11-091-2/+1
|\ \ | |/
| * [libata] eliminate use of drivers/scsi/scsi.h compatibility header/definesJeff Garzik2005-11-071-2/+1
| |
* | Merge branch 'master'Jeff Garzik2005-11-051-4/+4
|\ \ | |/
| * Merge branch 'master'Jeff Garzik2005-10-301-7/+6
| |\
| * \ Merge branch 'upstream'Jeff Garzik2005-10-301-5/+8
| |\ \
| * \ \ Merge branch 'master'Jeff Garzik2005-10-291-1/+1
| |\ \ \
| * \ \ \ Merge branch 'upstream'Jeff Garzik2005-10-281-13/+13
| |\ \ \ \
| * \ \ \ \ Merge branch 'master'Jeff Garzik2005-10-281-1/+1
| |\ \ \ \ \
| * | | | | | libata: add ata_sg_is_last() helper, use it in several driversJeff Garzik2005-10-181-4/+4
| | | | | | |
* | | | | | | Merge branch 'master'Jeff Garzik2005-10-301-12/+14
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | [libata] use dev_printk() throughout driversJeff Garzik2005-10-301-7/+6
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+8
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | [libata pdc_adma] fix for new irq-driven PIO codeJeff Garzik2005-10-301-2/+2
| | | | |
* | | | | Merge branch 'upstream'Jeff Garzik2005-10-301-14/+14
|\ \ \ \ \ | |/ / / /
| * | | | [libata] ensure ->tf_read() hook reads Status and Error registersJeff Garzik2005-10-291-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | [libata pdc_adma] minor fixes and cleanupsJeff Garzik2005-10-281-13/+13
| | |/ | |/| | | | | | | | | | | | | | | | | | | Changes mostly from Mark Lord. - fix bugs in probe-time error handling - only complete qc if not NULL - check port-level polling flags
* | | Merge branch 'master'Jeff Garzik2005-10-281-1/+1
|\ \ \ | |/ /
| * | libata: const-ification bombing runJeff Garzik2005-10-221-1/+1
| |/ | | | | | | | | | | | | Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect.
* | [libata pdc_adma] update for removal of ATA_FLAG_NOINTRJeff Garzik2005-10-181-2/+2
|/
* [libata pdc_adma] license update, minor cleanupJeff Garzik2005-10-111-16/+18
| | | | | | | from me: change from OSL+GPL to GPL (with approval) from Mark: Gets rid of an unneeded control bit, slightly increasing throughput.
* libata: add new driver pdc_adma for PDC ADMA ATA cardsMark Lord2005-10-101-0/+737
OpenPOWER on IntegriCloud