summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atareg.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-08-10 15:22:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-08-10 15:22:40 +0000
commit3e8e1784a5ceff3ea1e38dd5102b41f1846ec2cb (patch)
tree2e46b38ddd1fc5c403950a335ceedc3f48c56a73 /sys/dev/ata/atareg.h
parentfbc6fceaa31b5a131cce795b3c9ea3bdd331c0b3 (diff)
Mention if the disk supports IDLE IMMEDIATE with UNLOAD FEATURE
when listing information about it. ok grange@
Diffstat (limited to 'sys/dev/ata/atareg.h')
-rw-r--r--sys/dev/ata/atareg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/atareg.h b/sys/dev/ata/atareg.h
index 292dd6a4a24..1ed7dfa995c 100644
--- a/sys/dev/ata/atareg.h
+++ b/sys/dev/ata/atareg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atareg.h,v 1.12 2004/09/24 07:15:22 grange Exp $ */
+/* $OpenBSD: atareg.h,v 1.13 2005/08/10 15:22:39 jsg Exp $ */
/* $NetBSD: atareg.h,v 1.5 1999/01/18 20:06:24 bouyer Exp $ */
/*
@@ -191,6 +191,7 @@ struct ataparams {
#define ATA_CMD2_RWQ 0x0002
#define WDC_CMD2_DM 0x0001 /* Download Microcode supported */
u_int16_t atap_cmd_ext; /* 84: command/features supp. ext. */
+#define ATAPI_CMDE_IIUF 0x2000 /* IDLE IMMEDIATE with UNLOAD FEATURE */
#define ATAPI_CMDE_MSER 0x0004 /* Media serial number supported */
#define ATAPI_CMDE_TEST 0x0002 /* SMART self-test supported */
#define ATAPI_CMDE_SLOG 0x0001 /* SMART error logging supported */