summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2005-10-21 18:46:32 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-21 18:46:32 -0400
commit11e29e21514517f3022a1f30998ac4c7b1197658 (patch)
tree195f9ce419f5141d6bab4676184d16fd600cf139 /include/linux
parent307e4dc28ee255bf22b431f242f847c9d96fe3fa (diff)
downloadop-kernel-dev-11e29e21514517f3022a1f30998ac4c7b1197658.zip
op-kernel-dev-11e29e21514517f3022a1f30998ac4c7b1197658.tar.gz
libata: handle early device PIO modes correctly
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ata.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h
index 630908c..33276d1 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -42,13 +42,18 @@ enum {
ATA_SECT_SIZE = 512,
ATA_ID_WORDS = 256,
- ATA_ID_PROD_OFS = 27,
- ATA_ID_FW_REV_OFS = 23,
ATA_ID_SERNO_OFS = 10,
- ATA_ID_MAJOR_VER = 80,
- ATA_ID_PIO_MODES = 64,
+ ATA_ID_FW_REV_OFS = 23,
+ ATA_ID_PROD_OFS = 27,
+ ATA_ID_OLD_PIO_MODES = 51,
+ ATA_ID_FIELD_VALID = 53,
ATA_ID_MWDMA_MODES = 63,
+ ATA_ID_PIO_MODES = 64,
+ ATA_ID_EIDE_DMA_MIN = 65,
+ ATA_ID_EIDE_PIO = 67,
+ ATA_ID_EIDE_PIO_IORDY = 68,
ATA_ID_UDMA_MODES = 88,
+ ATA_ID_MAJOR_VER = 80,
ATA_ID_PIO4 = (1 << 1),
ATA_PCI_CTL_OFS = 2,
OpenPOWER on IntegriCloud