]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/IncompatiblePciDevice: Do not use deprecated macros
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 25 Jan 2017 08:06:49 +0000 (16:06 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 10 Feb 2017 08:52:00 +0000 (16:52 +0800)
commitc1a247b8a768e1ebda569dbe9ad7ada8bce3db26
tree12c2aad4576ab039e9912a55dbc91ec28f51d92f
parent8a93fa1efb24022ac7fea1b725944f962ba9d4c9
MdeModulePkg/IncompatiblePciDevice: Do not use deprecated macros

The patch replaces the following macros:
DEVICE_ID_NOCARE (0xFF) --> MAX_UINT64
PCI_ACPI_UNUSED (0) --> 0
PCI_BAR_ALL (0xFF) --> MAX_UINT64
PCI_BAR_NOCHANGE (0) --> 0
PCI_BAR_EVEN_ALIGN --> EVEN_ALIGN (local definition)

Since the PciBus driver was updated to accept Spec defined values
in previous commit, the above replacements don't impact
functionality.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c