summaryrefslogtreecommitdiff
path: root/include/linux/ata.h
AgeCommit message (Collapse)AuthorFilesLines
2006-12-02[PATCH] libata: add 40pin "short" cable support, honour drive side speed ↵Alan Cox1-2/+12
detection [deweerdt@free.fr: build fix] Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Frederik Deweerdt <deweerdt@free.fr> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-08-31[libata] Trim trailing whitespace.Jeff Garzik1-2/+2
2006-08-14[PATCH] libata: Add CompactFlash supportAlan Cox1-1/+19
The CFA world has some additional rules and drive modes we need to support for newer expansion cards and on embedded boxes Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-08-10[ATA] Increase lba48 max-sectors from 200 to 256.Jeff Garzik1-0/+2
Also, moved ATA_MAX_SECTORS and ATA_MAX_SECTORS_LBA48 from linux/libata.h to linux/ata.h, now that they truly reflect the standard (well... mostly; note TODO comment). This changes the performance profile (and potential bug profile) for a bunch of drivers, so be wary.
2006-06-12[PATCH] Snoop SET FEATURES - WRITE CACHE ENABLE/DISABLE command(v5)zhao, forrest1-0/+3
This patch makes libata snoop 'SET FEATURES - WRITE CACHE ENABLE/DISABLE' command, executing requisite revalidation processes to update cached data. Signed-off-by: Forrest Zhao <forrest.zhao@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-05-15[PATCH] libata-ncq: add NCQ related ATA/libata constants and macrosTejun Heo1-0/+9
Add NCQ related ATA/libata constants and macros. Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-05-15Merge branch 'irq-pio'Tejun Heo1-0/+12
Conflicts: drivers/scsi/libata-core.c include/linux/libata.h
2006-05-15[PATCH] libata-eh: add ATA and libata flags for new EHTejun Heo1-0/+13
Add ATA and libata flags to be used by new EH. Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-03-24Merge branch 'upstream'Jeff Garzik1-1/+6
Conflicts: drivers/scsi/sata_vsc.c
2006-03-22[PATCH] libata: Add the useful macros/constants needed for merging PATA stuffAlan Cox1-0/+6
HPA presence/enabled HPA commands Also add ata_id_is_cfa() as that is needed to detect and handle CF cards which currently we reject. Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-03-22[PATCH] libata-dev: Remove ATA_PROT_PIO_MULTAlbert Lee1-1/+0
Remove the ATA_PROT_PIO_MULT protocol. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-03-03[PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multipleAlbert Lee1-1/+2
Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-02-13Merge branch 'upstream'Jeff Garzik1-0/+10
2006-02-12[PATCH] libata: separate out ata_id_major_version()Tejun Heo1-0/+10
Separate out ATA major version calculation from ata_dev_identify() into ata_id_major_version(). It's preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2006-01-27Merge branch 'tmp'Jeff Garzik1-0/+12
2006-01-17Merge branch 'upstream'Jeff Garzik1-2/+8
2006-01-17Merge branch 'upstream'Jeff Garzik1-1/+7
2006-01-06Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds1-1/+5
Manual fixup for merge with Jens' "Suspend support for libata", commit ID 9b847548663ef1039dd49f0eb4463d001e596bc3. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06[PATCH] Suspend support for libataJens Axboe1-0/+2
This patch adds suspend patch to libata, and ata_piix in particular. For most low level drivers, they should just need to add the 4 hooks to work. As I can only test ata_piix, I didn't enable it for more though. Suspend support is the single most important feature on a notebook, and most new notebooks have sata drives. It's quite embarrassing that we _still_ do not support this. Right now, it's perfectly possible to suspend the drive in mid-transfer. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06[BLOCK] add FUA support to libataTejun Heo1-1/+5
Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <axboe@suse.de>
2005-11-09[PATCH] libata irq-pio: add read/write multiple supportAlbert Lee1-0/+8
- add is_multi_taskfile() to ata.h - initialize ata_device->multi_count with device identify data - use ata_pio_sectors() to support r/w multiple commands Signed-off-by: Albert Lee <albertcc@tw.ibm.com> ======== Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-28Merge branch 'master'Jeff Garzik1-7/+12
2005-10-28Merge branch 'master'Jeff Garzik1-7/+12
2005-10-22libata: const-ification bombing runJeff Garzik1-3/+3
Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect.
2005-10-22libata: handle early device PIO modes correctlyAlan Cox1-4/+9
2005-10-19Merge branch 'upstream'Jeff Garzik1-0/+4
2005-10-19[PATCH] libata CHS: LBA28/LBA48 optimization (revise #6)Albert Lee1-0/+12
- add lba_28_ok() and lba_48_ok() to ata.h. - check ending block number instead of staring block number. - use lba_28_ok() for CHS range check - LBA28/LBA48 optimization Suggested by Mark Lord and Alan Cox. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> ===== Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-19[PATCH] libata CHS: calculate read/write commands and protocol on the fly ↵Albert Lee1-0/+4
(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>
2005-10-04Merge libata upstream (which includes C/H/S support) include irq-pio branch.Jeff Garzik1-4/+18
Merge branch 'upstream'
2005-09-28[PATCH] ata: re-order speeds sensibly.Alan Cox1-3/+3
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-09-28[PATCH] libata: interrupt driven pio for libata-coreAlbert Lee1-0/+3
- add PIO_ST_FIRST for the state before sending ATAPI CDB or sending "ATA PIO data out" first data block. - add ATA_TFLAG_POLLING and ATA_DFLAG_CDB_INTR flags - remove the ATA_FLAG_NOINTR flag since the interrupt handler is now aware of the states - modify ata_pio_sector() and atapi_pio_bytes() to work in the interrupt context - modify the ata_host_intr() to handle PIO interrupts - modify ata_qc_issue_prot() to initialize states - atapi_packet_task() changed to handle "ATA PIO data out" first data block - support the pre-ATA4 ATAPI device which raise interrupt when ready to receive CDB Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-08-30Merge libata branch 'chs-support' to latest upstream kernel.Jeff Garzik1-19/+26
2005-08-29Merge /spare/repo/linux-2.6/Jeff Garzik1-0/+2
2005-08-29[libata] license change, other bitsJeff Garzik1-19/+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
2005-08-11[libata scsi] add START STOP UNIT translationDouglas Gilbert1-0/+2
2005-06-22Merge upstream kernel changes into 'C/H/S support' branch of libata.Jeff Garzik1-0/+1
2005-05-12[libata] C/H/S support, for older devicesAlbert Lee1-0/+14
2005-05-12[PATCH] libata basic detection and errata for PATA->SATA bridgesBrad Campbell1-0/+1
This patch works around an issue with WD drives (and possibly others) over SiL PATA->SATA Bridges on SATA controllers locking up with transfers > 200 sectors. Signed-off-by: Brad Campbell <brad@wasp.net.au>
2005-04-17Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+268
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!