sg_modes: SAT ATA Power condition mode page
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@191 6180dd3e-e324-4e3e-922d-17de1ae2f315
diff --git a/ChangeLog b/ChangeLog
index 7772a78..f5fb8a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,14 +2,15 @@
some description at the top of its ".c" file. All utilities in the main
directory have their own "man" pages. There is also a sg3_utils man page.
-Changelog for sg3_utils-1.27 [20080725] [svn: r190]
+Changelog for sg3_utils-1.27 [20080805] [svn: r191]
- sg_get_config: add OSSC feature [mmc6r02]
- sg_dd: flock flag (does LOCK_EX|LOCK_NB)
- switch open on input for sg device nodes, first open
read-write and if that fails try opening read-only
- sg_map26: fix for lk 2.6.26 when CONFIG_SYSFS_DEPRECATED_V2
is not defined
- - sg_map26: output cdb when verbose option given
+ - output cdb when verbose option given
+ - sg_modes: add ATA power condition mode page
- sg3_utils.spec: correction to configure call
Changelog for sg3_utils-1.26 [20080625] [svn: r183]
diff --git a/debian/changelog b/debian/changelog
index 025074c..bb27a94 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@
* New upstream version
- -- Doug Gilbert <dgilbert@interlog.com> Thu, 24 Jul 2008 16:00:00 -0400
+ -- Doug Gilbert <dgilbert@interlog.com> Tue, 05 Aug 2008 02:00:00 +0200
sg3-utils (1.26-0.1) unstable; urgency=low
diff --git a/sg3_utils.spec b/sg3_utils.spec
index edab564..b38f984 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -79,7 +79,7 @@
%{_libdir}/*.la
%changelog
-* Thu Jul 24 2008 - dgilbert at interlog dot com
+* Tue Aug 05 2008 - dgilbert at interlog dot com
- sg_dd: add flock support
* sg3_utils-1.27
diff --git a/src/sg_modes.c b/src/sg_modes.c
index 99bce2c..9343586 100644
--- a/src/sg_modes.c
+++ b/src/sg_modes.c
@@ -26,7 +26,7 @@
*/
-static char * version_str = "1.29 20080218";
+static char * version_str = "1.30 20080805";
#define DEF_ALLOC_LEN (1024 * 4)
#define DEF_6_ALLOC_LEN 252
@@ -528,6 +528,7 @@
{0xc, 0x0, "Notch and partition (obsolete)"},
{0xd, 0x0, "Power condition (obsolete, moved to 0x1a)"},
{0x10, 0x0, "XOR control"},
+ {0x1a, 0xf1, "ATA Power condition"},
{0x1c, 0x1, "Background control"},
};