//\r
Attributes &= ~(UINT64)(EFI_PCI_IO_ATTRIBUTE_EMBEDDED_DEVICE |\r
EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM |\r
- EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE |\r
- EFI_PCI_IO_ATTRIBUTE_BUS_MASTER);\r
+ EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE);\r
\r
//\r
// Record the new attribute of the Root Bridge\r
}\r
//\r
// The upstream bridge should be also set to revelant attribute\r
- // expect for IO and Mem\r
+ // expect for IO, Mem and BusMaster\r
//\r
UpStreamAttributes = Attributes &\r
(~(EFI_PCI_IO_ATTRIBUTE_IO |\r
- EFI_PCI_IO_ATTRIBUTE_MEMORY\r
+ EFI_PCI_IO_ATTRIBUTE_MEMORY |\r
+ EFI_PCI_IO_ATTRIBUTE_BUS_MASTER\r
)\r
);\r
UpStreamBridge = PciIoDevice->Parent;\r