]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/ScsiBusDxe: Clean up Peripheral Type check
authorZurcher, Christopher J <christopher.j.zurcher@intel.com>
Fri, 27 Sep 2019 02:19:59 +0000 (10:19 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Sun, 29 Sep 2019 08:43:46 +0000 (16:43 +0800)
commit1ff7ed2cfa64ba9870221f1eee72b05905e0a0b5
treedf6cb36a86efba2fcdd5692e3c691af0233cb382
parent43bb4e379b20759284ea499d17c8f503a127b666
MdeModulePkg/ScsiBusDxe: Clean up Peripheral Type check

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1546

Replacing "magic numbers" in the Peripheral Type check with defines for
the reserved range from IndustryStandard/Scsi.h

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Christopher J Zurcher <christopher.j.zurcher@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c