//\r
// If it is a PPB\r
//\r
- if (!IsListEmpty (&PciIoDevice->ChildList)) {\r
+ if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {\r
Status = StartPciDevicesOnBridge (\r
Controller,\r
PciIoDevice,\r
(*NumberOfChildren)++;\r
}\r
\r
- if (!IsListEmpty (&PciIoDevice->ChildList)) {\r
+ if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {\r
Status = StartPciDevicesOnBridge (\r
Controller,\r
PciIoDevice,\r