summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGrigoriy Orlov <gluk@cvs.openbsd.org>2002-06-15 10:59:07 +0000
committerGrigoriy Orlov <gluk@cvs.openbsd.org>2002-06-15 10:59:07 +0000
commitcf4f693dd15fde77963d7aead249fc514251b2ee (patch)
tree65a92afef6aee61a79717e65b99918d6cc1f207a /sys
parentb0134880aace06cfbbee085b056a93391a6da9af (diff)
Move ATA SMART defines to atactl.
No kernel parts use this constants. From Alexander Yurchenko <grange@rt.mipt.ru>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/wdcreg.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/ic/wdcreg.h b/sys/dev/ic/wdcreg.h
index ff1ab42357b..26cee7d5fe7 100644
--- a/sys/dev/ic/wdcreg.h
+++ b/sys/dev/ic/wdcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdcreg.h,v 1.6 2002/06/02 01:37:22 csapuntz Exp $ */
+/* $OpenBSD: wdcreg.h,v 1.7 2002/06/15 10:59:06 gluk Exp $ */
/* $NetBSD: wdcreg.h,v 1.22 1999/03/07 14:02:54 bouyer Exp $ */
/*-
@@ -178,17 +178,6 @@
#define ATAPI_SETMAXEXT 0x37 /* Set Max Address Ext */
#define ATAPI_WRITEMULTIEXT 0x39 /* Write Multi Ext */
-/* SubCommands for SMART operations */
-#define ATAPI_SMART_READ 0xD0 /* SMART read data */
-#define ATAPI_SMART_AUTOSAVE 0xD2 /* SMART en-/disable attr. autosave */
-#define ATAPI_SMART_SAVE 0xD3 /* SMART save attributes */
-#define ATAPI_SMART_OFFLINE 0xD4 /* SMART execute offline immediately */
-#define ATAPI_SMART_READLOG 0xD5 /* SMART read log */
-#define ATAPI_SMART_WRITELOG 0xD6 /* SMART write log */
-#define ATAPI_SMART_EN 0xD8 /* SMART enable operations */
-#define ATAPI_SMART_DS 0xD9 /* SMART disable operations */
-#define ATAPI_SMART_STATUS 0xDA /* SMART return status */
-
/* Bytes used by ATAPI_PACKET_COMMAND ( feature register) */
#define ATAPI_PKT_CMD_FTRE_DMA 0x01
#define ATAPI_PKT_CMD_FTRE_OVL 0x02