From: VMware, Inc <> Date: Tue, 17 Nov 2009 21:41:05 +0000 (-0800) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2009.11.16-210370~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7fe507600c4ff8b5eaf83f7c33b4b8f86c8049;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/modules/linux/pvscsi/scsi_defs.h b/open-vm-tools/modules/linux/pvscsi/scsi_defs.h index 332245563..5885697c6 100644 --- a/open-vm-tools/modules/linux/pvscsi/scsi_defs.h +++ b/open-vm-tools/modules/linux/pvscsi/scsi_defs.h @@ -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. *