aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-defs.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2011-07-22 16:44:46 +0200
committerKevin Wolf <kwolf@redhat.com>2011-08-01 12:10:28 +0200
commitf37bd73b76e7f1e300e6acfe1bb6d3b2bc63714b (patch)
tree80dc3ed1e4a726e6810a8cfe16b910f75da58105 /hw/scsi-defs.h
parent5e30a07d6d70d3073ff61e6db79d61c2b688502f (diff)
scsi-disk: Remove 'drive_kind'
Instead of using its own definitions scsi-disk should be using the device type of the parent device. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-defs.h')
-rw-r--r--hw/scsi-defs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/scsi-defs.h b/hw/scsi-defs.h
index f644860831..27010b74c0 100644
--- a/hw/scsi-defs.h
+++ b/hw/scsi-defs.h
@@ -164,6 +164,7 @@
#define TYPE_DISK 0x00
#define TYPE_TAPE 0x01
+#define TYPE_PRINTER 0x02
#define TYPE_PROCESSOR 0x03 /* HP scanners use this */
#define TYPE_WORM 0x04 /* Treated as ROM by our system */
#define TYPE_ROM 0x05
@@ -171,6 +172,9 @@
#define TYPE_MOD 0x07 /* Magneto-optical disk -
* - treated as TYPE_DISK */
#define TYPE_MEDIUM_CHANGER 0x08
-#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
+#define TYPE_STORAGE_ARRAY 0x0c /* Storage array device */
+#define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */
+#define TYPE_RBC 0x0e /* Simplified Direct-Access Device */
+#define TYPE_OSD 0x11 /* Object-storage Device */
#define TYPE_NO_LUN 0x7f