Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ata Name the ATA SECURITY commands.



details:   https://anonhg.NetBSD.org/src/rev/4566b2cca344
branches:  trunk
changeset: 783814:4566b2cca344
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jan 09 17:55:04 2013 +0000

description:
Name the ATA SECURITY commands.

diffstat:

 sys/dev/ata/atareg.h |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r d3b30d59ba40 -r 4566b2cca344 sys/dev/ata/atareg.h
--- a/sys/dev/ata/atareg.h      Wed Jan 09 17:45:13 2013 +0000
+++ b/sys/dev/ata/atareg.h      Wed Jan 09 17:55:04 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atareg.h,v 1.41 2012/10/19 17:09:07 drochner Exp $     */
+/*     $NetBSD: atareg.h,v 1.42 2013/01/09 17:55:04 riastradh Exp $    */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.
@@ -127,7 +127,13 @@
 #define        WDCC_STANDBY_IMMED      0xe0    /* enter standby mode */
 #define        WDCC_CHECK_PWR          0xe5    /* check power mode */
 
-#define WDCC_SECURITY_FREEZE   0xf5    /* freeze locking state */
+/* Security feature set */
+#define        WDCC_SECURITY_SET_PASSWORD      0xf1
+#define        WDCC_SECURITY_UNLOCK            0xf2
+#define        WDCC_SECURITY_ERASE_PREPARE     0xf3
+#define        WDCC_SECURITY_ERASE_UNIT        0xf4
+#define        WDCC_SECURITY_FREEZE            0xf5
+#define        WDCC_SECURITY_DISABLE_PASSWORD  0xf6
 
 /* Big Drive support */
 #define        WDCC_READ_EXT           0x24    /* read 48-bit addressing */



Home | Main Index | Thread Index | Old Index