Module Name: src
Committed By: riastradh
Date: Wed Jan 9 17:55:04 UTC 2013
Modified Files:
src/sys/dev/ata: atareg.h
Log Message:
Name the ATA SECURITY commands.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ata/atareg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ata/atareg.h
diff -u src/sys/dev/ata/atareg.h:1.41 src/sys/dev/ata/atareg.h:1.42
--- src/sys/dev/ata/atareg.h:1.41 Fri Oct 19 17:09:07 2012
+++ src/sys/dev/ata/atareg.h Wed Jan 9 17:55:04 2013
@@ -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 */