diff mbox series

[edk2,edk2-platforms,v2,15/15] Hisilicon/D06: Correct HIDs/UIDs of PCI host bridges

Message ID 20181116065702.30559-16-ming.huang@linaro.org
State New
Headers show
Series Fix D06 SBSA/SBBR issue and improve | expand

Commit Message

Ming Huang Nov. 16, 2018, 6:57 a.m. UTC
Synchronize PCI host bridges device path with the HIDs/UIDs
used in the DSDT/SSDT for PCIe.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <ming.huang@linaro.org>

---
 Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c | 28 ++++++++++----------
 1 file changed, 14 insertions(+), 14 deletions(-)

-- 
2.9.5

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c b/Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c
index d1a436d9bcd2..d13178e9259d 100644
--- a/Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c
+++ b/Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c
@@ -75,8 +75,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A04), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      2
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -99,8 +99,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A05), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      4
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -123,8 +123,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A06), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      5
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -147,8 +147,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A07), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      6
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -171,8 +171,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A08), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      8
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -195,8 +195,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A09), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      10
     },
     {
       END_DEVICE_PATH_TYPE,
@@ -219,8 +219,8 @@  STATIC EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath [ENUM_HB_NUM]
           (UINT8)(sizeof (ACPI_HID_DEVICE_PATH) >> 8)
         }
       },
-      EISA_PNP_ID(0x0A0A), // PCI
-      0
+      EISA_PNP_ID(0x0A03), // PCI
+      11
     },
     {
       END_DEVICE_PATH_TYPE,