summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ata/atavar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ata/atavar.h b/sys/dev/ata/atavar.h
index 8e8cb7c5f2f..e536d55e41d 100644
--- a/sys/dev/ata/atavar.h
+++ b/sys/dev/ata/atavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atavar.h,v 1.1 1999/07/18 21:25:17 csapuntz Exp $ */
+/* $OpenBSD: atavar.h,v 1.2 1999/07/22 02:51:15 csapuntz Exp $ */
/* $NetBSD: atavar.h,v 1.13 1999/03/10 13:11:43 bouyer Exp $ */
/*
@@ -69,6 +69,10 @@ struct ata_drive_datas {
*/
u_int8_t state;
+#define ACAP_LEN 0x01 /* 16 byte commands */
+ /* 0x20-0x40 reserved for ATAPI_CFG_DRQ_MASK */
+ u_int8_t atapi_cap;
+
/* Number of DMA errors. Reset to 0 after every successful transfers. */
u_int8_t n_dmaerrs;
/* downgrade mode after this many successive errors */