aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
Commit message (Collapse)AuthorAgeFilesLines
* [libata] ata_tf_to_host cleanupsJeff Garzik2005-10-301-1/+0
| | | | | | | | | | Integrate ata_exec() and ata_tf_to_host() into their only caller, ata_bus_edd(). Rename ata_tf_to_host_nolock() to ata_tf_to_host(). This makes locking a bit easier to review, and may help pave the way for future changes.
* [libata] change ata_qc_complete() to take error mask as second argJeff Garzik2005-10-301-1/+1
| | | | | | | | | | | | | | | 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.
* 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.
* | Merge branch 'upstream'Jeff Garzik2005-10-181-0/+1
|\ \ | |/
| * [PATCH] libata CHS: calculate read/write commands and protocol on the fly ↵Albert Lee2005-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (revise #6) - merge ata_prot_to_cmd() and ata_dev_set_protocol() as ata_rwcmd_protocol() - pave road for read/write multiple support - remove usage of pre-cached command and protocol values and call ata_rwcmd_protocol() instead Signed-off-by: Albert Lee <albertcc@tw.ibm.com> ============== Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'upstream'Jeff Garzik2005-10-091-10/+6
|\ \ | |/
| * [libata scsi] improve scsi error handling with ata_scsi_set_sense()Douglas Gilbert2005-10-091-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - change "xlat" and "fill" actors in libata-scsi so they are responsible for SCSI status and sense data when they return 1. This allows GOOD status or a specialized error to be set. - yield an error for mode sense requests for saved values [sat-r06] - remove static inlines for ata_bad_scsiop() and ata_bad_cdb() which are no longer used Signed-off-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [libata scsi] add ata_scsi_set_sense helperDouglas Gilbert2005-10-091-0/+2
| | | | | | | | | | | | | | | | - add extern ata_scsi_set_sense() to build SCSI fixed sense data and corresponding SCSI status Signed-off-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * libata: move atapi_request_sense() to libata-scsi moduleJeff Garzik2005-10-051-0/+3
| | | | | | | | No content changes, just moving code around.
| * [libata] improve device scanJeff Garzik2005-10-031-0/+1
| | | | | | | | | | | | | | | | Replace SCSI's legacy "bang at the door" method of probing with one directly controlled by the underlying ATA transport layer. We now only call scsi_scan_target() for devices we find, rather than probing every possible channel/id within a certain range.
* | Merge /spare/repo/linux-2.6/ Jeff Garzik2005-09-081-0/+1
|\ \ | |/
| * [libata] allow ATAPI to be enabled with new atapi_enabled module optionJeff Garzik2005-08-301-0/+1
| | | | | | | | | | | | | | | | ATAPI is getting close to being ready. To increase exposure, we enable the code in the upstream kernel, but default it to off (present behavior). Users must pass atapi_enabled=1 as a module option (if module) or on the kernel command line (if built in) to turn on discovery of their ATAPI devices.
* | Merge upstream kernel into libata 'passthru' branchJeff Garzik2005-08-291-23/+26
|\ \ | |/
| * Merge /spare/repo/linux-2.6/Jeff Garzik2005-08-291-1/+1
| |\
| | * /spare/repo/libata-dev branch 'upstream-fixes'Jeff Garzik2005-08-231-1/+1
| | |\
| | * | libata: trim trailing whitespace.Jeff Garzik2005-07-311-1/+1
| | | | | | | | | | | | | | | | Also, fixup a tabs-to-spaces block of code in ata_piix.
| * | | [libata] license change, other bitsJeff Garzik2005-08-281-21/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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: 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
* | Merge /spare/repo/linux-2.6/Jeff Garzik2005-06-221-1/+1
|\ \ | |/
| * libata: bump versionJeff Garzik2005-05-291-1/+1
| |
* | [libata] ATA passthru (arbitrary ATA command execution)Jeff Garzik2005-05-121-1/+2
|/ | | | | | | Authors: Brett Russ <russb@emc.com> John W. Linville <linville@tuxdriver.com> Andy Warner <andyw@pobox.com>
* Linux-2.6.12-rc2Linus Torvalds2005-04-161-0/+89
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!