Remove the special logic on EFI_PCI_DEVICE_ENABLE in PciBus driver. And update driver...
authorlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 15 Oct 2007 07:44:27 +0000 (07:44 +0000)
committerlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 15 Oct 2007 07:44:27 +0000 (07:44 +0000)
commitf3f10e86c8545f4176403a034814798ea8ce75e9
tree7d821b35b16efae5feba5e96ae0d960324ceba4a
parenta9e163ec41d27ab1fc2887deb99696bb3a9da46d
Remove the special logic on EFI_PCI_DEVICE_ENABLE in PciBus driver. And update drivers that use this macro. The reason is that
PciIoAttributes() in PciIo.c treats EFI_PCI_DEVICE_ENABLE specially so that when EFI_PCI_DEVICE_ENABLE is passed in, only the supported bits of driver will be enabled. Now many drivers use EFI_PCI_DEVICE_ENABLE to enable PCI device even if some of them don't support some of the attributes like EFI_PCI_IO_ATTRIBUTE_MEMORY. This doesn't conform to UEFI 2.0 spec.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4115 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/idebus.c
edk2/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
edk2/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
edk2/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
edk2/MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
edk2/Nt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c