Remove the special logic on EFI_PCI_DEVICE_ENABLE in PciBus driver. And update driver...
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 15 Oct 2007 07:44:27 +0000 (07:44 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 15 Oct 2007 07:44:27 +0000 (07:44 +0000)
commit96f6af14d68faa2b65368a6f779a1c3af2e7658b
treee57846a9a1bbef1848dc1397004465b79db2136a
parentc8c6d794df25bfabc28c3624bd5c442c542b6234
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4115 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/idebus.c
IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
Nt32Pkg/Library/EdkGenericBdsLib/BdsBoot.c