Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: d428ca6fe2ffcddbb39e81cd68d0e7d32c2f360b
      
https://github.com/tianocore/edk2/commit/d428ca6fe2ffcddbb39e81cd68d0e7d32c2f360b
  Author: Mayank Kumar <[email protected]>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M MdePkg/Include/IndustryStandard/Atapi.h

  Log Message:
  -----------
  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 <[email protected]>


  Commit: c9eb3717b46063e0241970425eea292acf6162f2
      
https://github.com/tianocore/edk2/commit/c9eb3717b46063e0241970425eea292acf6162f2
  Author: Mayank Kumar <[email protected]>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c

  Log Message:
  -----------
  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 <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/fe5210821190...c9eb3717b460

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to