]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Tue, 17 Nov 2009 21:41:05 +0000 (13:41 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 17 Nov 2009 21:41:05 +0000 (13:41 -0800)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/pvscsi/scsi_defs.h

index 332245563b3351099283160b1c69d3bfc8310056..5885697c62291e6e6eb504d635c873d5dab675ad 100644 (file)
@@ -1893,6 +1893,8 @@ struct {
 #define SCSI_FEAT_CODE_CORE            0x1
 #define SCSI_FEAT_CODE_MORPHING        0x2
 #define SCSI_FEAT_CODE_REMOVABLEMEDIUM 0x3
+#define SCSI_FEAT_CODE_RANDOMREADABLE  0x10
+#define SCSI_FEAT_CODE_DVDREAD         0x1F
    uint16 code;
    uint8  featureCurrent:1,
           persistent:1,
@@ -1981,6 +1983,24 @@ struct {
 SCSIRemovableMediumFeatureDescriptor;
 
 
+/*
+ * Random Readable Descriptor format.
+ */
+typedef
+#include "vmware_pack_begin.h"
+struct {
+   SCSIFeatureDescriptor feature;
+   uint32                logicalBlockSize;
+#define SCSI_RANDOM_READABLE_BLOCKING_DVD 0x10
+   uint16                blocking;
+   uint8                 pagePresent:1,
+                         reserved0:7;
+   uint8                 reserved1;
+}
+#include "vmware_pack_end.h"
+SCSIRandomReadableFeatureDescriptor;
+
+
 /*
  * Host and device status definitions.
  *