diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-25 15:22:54 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-02-10 16:52:00 +0800 |
commit | 9b6483237984d9819809eb13119db8fb1026be31 (patch) | |
tree | 86cac29a1dc3e4945fd7d1bfaea9307daa53c076 /BaseTools/Source/Python/AutoGen/GenC.py | |
parent | 33bed7561f27802b3a24dcf30978a639c73d835f (diff) | |
download | edk2-9b6483237984d9819809eb13119db8fb1026be31.tar.gz edk2-9b6483237984d9819809eb13119db8fb1026be31.tar.bz2 edk2-9b6483237984d9819809eb13119db8fb1026be31.zip |
MdeModulePkg/PciSioSerialDxe: Use MAX_UINT8 instead of PCI_BAR_ALL
When BarIndex equals to 0xFF, default value 0 is used as the BAR
index. Though PCI_BAR_ALL and MAX_UINT8 shares the same value,
using PCI_BAR_ALL is like to match any BAR not BAR 0, it's more
proper to use MAX_UINT8 here.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenC.py')
0 files changed, 0 insertions, 0 deletions