/** @file\r
16550 UART Serial Port library functions\r
\r
+ (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
)\r
{\r
UINTN PciLibAddress;\r
- UINTN PrimaryBusNumber;\r
UINTN BusNumber;\r
UINTN SubordinateBusNumber;\r
UINT32 ParentIoBase;\r
//\r
// Retrieve and verify the bus numbers in the PCI to PCI Bridge\r
//\r
- PrimaryBusNumber = PciRead8 (PciLibAddress + PCI_BRIDGE_PRIMARY_BUS_REGISTER_OFFSET);\r
BusNumber = PciRead8 (PciLibAddress + PCI_BRIDGE_SECONDARY_BUS_REGISTER_OFFSET);\r
SubordinateBusNumber = PciRead8 (PciLibAddress + PCI_BRIDGE_SUBORDINATE_BUS_REGISTER_OFFSET);\r
if (BusNumber == 0 || BusNumber > SubordinateBusNumber) {\r