edk2/MdeModulePkg/Bus
Mayank Kumar c9eb3717b4 MdeModulePkg: ScsiDiskDxe: Query Write Protected State
Currently, only SCSI attached CDROMs are marked as read only
SCSI devices. Write failures have been seen to occur when a
read only disk is attached as a SCSI device, because the device
is never queried for its write protected state and the disk is
listed as writeable.

This adds a new mode sense query to determine if a SCSI disk is
write protected. If so, the proper BlockIO media property is set
to read only, to ensure that all layers know this is a read only
disk.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2025-10-16 12:25:52 +00:00
..
Ata MdeModulePkg: Update AtaPassThru to UEFI 2.10A 2025-01-09 12:40:45 +08:00
I2c/I2cDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Isa MdeModulePkg : Clear keyboard queue buffer after reading 2025-10-09 08:02:51 +00:00
Pci MdeModulePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
Scsi MdeModulePkg: ScsiDiskDxe: Query Write Protected State 2025-10-16 12:25:52 +00:00
Sd MdeModulePkg: Update ReceiveData and SendData function description 2024-03-13 02:48:38 +00:00
Spi MdeModulePkg/SpiNorFlashJedecSfdp: Initialize AddressSize 2025-06-13 15:47:59 +00:00
Ufs MdeModulePkg: Support conditional UFS initialization 2025-08-08 09:06:56 +08:00
Usb MdeModulePkg : Clear keyboard queue buffer after reading 2025-10-09 08:02:51 +00:00