scsi: Remove references to SET_WINDOW
SET_WINDOW command is vendor-specific only. So we shouldn't try to emulate it. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
		
				
					committed by
					
						 Kevin Wolf
						Kevin Wolf
					
				
			
			
				
	
			
			
			
						parent
						
							5f71d32f0d
						
					
				
				
					commit
					3790372c96
				
			| @@ -350,7 +350,6 @@ static void scsi_req_xfer_mode(SCSIRequest *req) | ||||
|     case SEARCH_HIGH_12: | ||||
|     case SEARCH_EQUAL_12: | ||||
|     case SEARCH_LOW_12: | ||||
|     case SET_WINDOW: | ||||
|     case MEDIUM_SCAN: | ||||
|     case SEND_VOLUME_TAG: | ||||
|     case WRITE_LONG_2: | ||||
| @@ -544,7 +543,6 @@ static const char *scsi_command_name(uint8_t cmd) | ||||
|         [ SEND_DIAGNOSTIC          ] = "SEND_DIAGNOSTIC", | ||||
|         [ ALLOW_MEDIUM_REMOVAL     ] = "ALLOW_MEDIUM_REMOVAL", | ||||
|  | ||||
|         [ SET_WINDOW               ] = "SET_WINDOW", | ||||
|         [ READ_CAPACITY            ] = "READ_CAPACITY", | ||||
|         [ READ_10                  ] = "READ_10", | ||||
|         [ WRITE_10                 ] = "WRITE_10", | ||||
|   | ||||
| @@ -49,7 +49,6 @@ | ||||
| #define SEND_DIAGNOSTIC       0x1d | ||||
| #define ALLOW_MEDIUM_REMOVAL  0x1e | ||||
|  | ||||
| #define SET_WINDOW            0x24 | ||||
| #define READ_CAPACITY         0x25 | ||||
| #define READ_10               0x28 | ||||
| #define WRITE_10              0x2a | ||||
|   | ||||
		Reference in New Issue
	
	Block a user