mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	MdePkg: ATAPI: Add ATA_CMD_MODE_SENSE6 Definition
ATA_CMD_MODE_SENSE6 is used to query certain properties of an ATA device, including its write protection state. This definition will be used in the next commit of this series to query if a SCSI disk is write protected. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
		 Mayank Kumar
					Mayank Kumar
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							fe52108211
						
					
				
				
					commit
					d428ca6fe2
				
			| @ -503,6 +503,7 @@ typedef union { | ||||
| #define ATA_CMD_PREVENT_ALLOW_MEDIA_REMOVAL  0x1E              ///< defined in ATAPI Removable Rewritable Media Devices | ||||
| #define ATA_CMD_MODE_SELECT                  0x55              ///< defined in ATAPI Removable Rewritable Media Devices | ||||
|  | ||||
| #define ATA_CMD_MODE_SENSE6                         0x1A       ///< defined in ATAPI Removable Rewritable Media Devices | ||||
| #define ATA_CMD_MODE_SENSE                          0x5A       ///< defined in ATAPI Removable Rewritable Media Devices | ||||
| #define ATA_PAGE_CODE_READ_WRITE_ERROR              0x01       ///< defined in ATAPI Removable Rewritable Media Devices | ||||
| #define ATA_PAGE_CODE_CACHING_PAGE                  0x08       ///< defined in ATAPI Removable Rewritable Media Devices | ||||
|  | ||||
		Reference in New Issue
	
	Block a user