]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
MdeModulePkg/ScsiDiskDxe: Update proper device name for ScsiDisk drive
authorCheripally Gopi <gopic@ami.com>
Wed, 26 Oct 2022 12:07:25 +0000 (17:37 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 31 Oct 2022 02:46:52 +0000 (02:46 +0000)
commit52199bf5326a8355d28b2d395db483f7c77d5a4d
treeb384cfdf97398d01cc241c264b589b9795065c29
parentd98efb468211ab508710eac91761238e1f5c1d51
MdeModulePkg/ScsiDiskDxe: Update proper device name for ScsiDisk drive

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4100

ScsiDiskDxe driver updates ControllerNameTable with common string
"SCSI Disk Device" for all SCSI disks. Due to this, when multiple
SCSI disk devices connected, facing difficulty in identifying correct SCSI
disk device. As per SCSI spec, standard Inquiry Data is having the fields
to know Vendor and Product information. Updated "ControllerNameTable" with
Vendor and Product information. So that, device specific name can be
retrieved using ComponentName protocol.

Cc: Vasudevan Sambandan <vasudevans@ami.com>
Cc: Sundaresan Selvaraj <sundaresans@ami.com>
Signed-off-by: Cheripally Gopi <gopic@ami.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf