From 15e58a21a8f48b6a00081587fa1fa23aa9159dfd Mon Sep 17 00:00:00 2001 From: Christian Hoff Date: Thu, 14 Jun 2012 15:55:26 +0200 Subject: scsi: Fix LOAD_UNLOAD Change operation code of LOAD_UNLOAD command to 0x1b as described in section 7.3 of the SCSI Stream Commands spec. Signed-off-by: Christian Hoff Signed-off-by: Christian Borntraeger Signed-off-by: Paolo Bonzini --- hw/scsi-defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/scsi-defs.h') diff --git a/hw/scsi-defs.h b/hw/scsi-defs.h index 3c9f1b5113..6578bb9950 100644 --- a/hw/scsi-defs.h +++ b/hw/scsi-defs.h @@ -44,6 +44,7 @@ #define COPY 0x18 #define ERASE 0x19 #define MODE_SENSE 0x1a +#define LOAD_UNLOAD 0x1b #define START_STOP 0x1b #define RECEIVE_DIAGNOSTIC 0x1c #define SEND_DIAGNOSTIC 0x1d @@ -117,7 +118,6 @@ #define MAINTENANCE_IN 0xa3 #define MAINTENANCE_OUT 0xa4 #define MOVE_MEDIUM 0xa5 -#define LOAD_UNLOAD 0xa6 #define SET_READ_AHEAD 0xa7 #define READ_12 0xa8 #define WRITE_12 0xaa -- cgit v1.2.3