|
@@ -1,6 +1,6 @@
|
|
|
/** @file
|
|
|
|
|
|
- Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved.<BR>
|
|
|
+ Copyright (c) 2020 - 2023, Ampere Computing LLC. All rights reserved.<BR>
|
|
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
|
@@ -94,7 +94,7 @@ BuildRootComplexData (
|
|
|
RootComplex = &mRootComplexList[RCIndex];
|
|
|
RootComplex->Active = ConfigFound ? RootComplexConfig.RCStatus[RCIndex] : TRUE;
|
|
|
RootComplex->DevMapLow = ConfigFound ? RootComplexConfig.RCBifurcationLow[RCIndex] : 0;
|
|
|
- RootComplex->DevMapHigh = ConfigFound ? RootComplexConfig.RCBifurcationLow[RCIndex] : 0;
|
|
|
+ RootComplex->DevMapHigh = ConfigFound ? RootComplexConfig.RCBifurcationHigh[RCIndex] : 0;
|
|
|
RootComplex->Socket = RCIndex / AC01_PCIE_MAX_RCS_PER_SOCKET;
|
|
|
RootComplex->ID = RCIndex % AC01_PCIE_MAX_RCS_PER_SOCKET;
|
|
|
RootComplex->CsrBase = mCsrBase[RCIndex];
|