summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2005-04-19 12:33:26 +0000
committersos <sos@FreeBSD.org>2005-04-19 12:33:26 +0000
commit6762159f447a21c4628baf709fe2e7b25826de39 (patch)
treea83447667089a8a759ae82910264c22a56511ae6 /sys/dev/ata/ata-all.h
parent9452a25d2d8a61849660abb8d34cba673cab0d14 (diff)
downloadFreeBSD-src-6762159f447a21c4628baf709fe2e7b25826de39.zip
FreeBSD-src-6762159f447a21c4628baf709fe2e7b25826de39.tar.gz
CFA (Compact Flash) devices has a special config ID that fails the
normal ATA device check in ata-disk.c. Add support for the CFA magic.
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r--sys/dev/ata/ata-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h
index 12433c2..32bf26d 100644
--- a/sys/dev/ata/ata-all.h
+++ b/sys/dev/ata/ata-all.h
@@ -204,6 +204,7 @@
#define ATA_PC98_BANKADDR_RID 9
#define ATA_IRQ_RID 0
#define ATA_DEV(device) ((device == ATA_MASTER) ? 0 : 1)
+#define ATA_CFA_MAGIC 0x848A
#define ATAPI_MAGIC_LSB 0x14
#define ATAPI_MAGIC_MSB 0xeb
#define ATAPI_P_READ (ATA_S_DRQ | ATA_I_IN)
OpenPOWER on IntegriCloud