]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - atacmds.h
Imported Upstream version 6.2+svn3841
[mirror_smartmontools-debian.git] / atacmds.h
index a0d965dee40ee9d91ed9fc46c5c9b054dfbe8d12..21d809584a9522f788a21fc786157066b9939a3f 100644 (file)
--- a/atacmds.h
+++ b/atacmds.h
@@ -25,7 +25,7 @@
 #ifndef ATACMDS_H_
 #define ATACMDS_H_
 
-#define ATACMDS_H_CVSID "$Id: atacmds.h 3632 2012-10-09 10:10:53Z chrfranke $"
+#define ATACMDS_H_CVSID "$Id: atacmds.h 3825 2013-07-06 21:38:25Z samm2 $"
 
 #include "dev_interface.h" // ata_device
 
@@ -835,6 +835,12 @@ int ataDoesSmartWork(ata_device * device);
 // returns 1 if SMART supported, 0 if not supported or can't tell
 int ataSmartSupport(const ata_identify_device * drive);
 
+// Return values:
+//  1: Write Cache Reordering enabled
+//  2: Write Cache Reordering disabled
+// -1: error
+int ataGetSetSCTWriteCacheReordering(ata_device * device, bool enable, bool persistent, bool set);
+
 // Return values:
 //  1: SMART enabled
 //  0: SMART disabled