From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::643; helo=mail-pl1-x643.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7B3F021191751 for ; Thu, 15 Nov 2018 22:58:10 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id b5so4280676plr.4 for ; Thu, 15 Nov 2018 22:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tK+4zYcDHWFw00qSwOeoChYns3Wq3rGtdicSD9IL7Ho=; b=dcAJfB5fCYrDSzNFn9YjaOkf5upEAR83r2O0XvqbVpa941JbYQWueJ0kV+G3QsmLhL ECb+fXn/QuHqA272uhRVWAlUKjnHfbclDA7FGDI77kto/nuyKMROx5yXA64KLOaJU3H1 1STqaaeyCLBw3fI91/cGLghebC6Sa+yx3aVEU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tK+4zYcDHWFw00qSwOeoChYns3Wq3rGtdicSD9IL7Ho=; b=JZic3gDGn98P5LBDFszju03igY3DWfJhAxk1zENS1A6Bu9ZszRC2h6fNhClFaFMHX8 j9HCrpOfik0B7ebZ2gQkUejU+D30l0364/FGMdNONe/X/sEOcXCymLNnPOLX/xI1s3kw duIx1VubIMEd/G65q7IJIf7H1Lh9opPgOHk6KEzs6eM87lDkzpQzlxBF5MOczzjOBobX 4N98RBol6qKdrRvID8U6mas/75pZp6KT5hCHFCCup6vCADM4jp0FzGh3/YnAUNr6mHFo dnwu8KMA2ToRPUS2qiWtX9Mor2him3uGH340D3ga0OMO9IwaLGzx7Cx7X/qxI9SFiJTi skrQ== X-Gm-Message-State: AGRZ1gK5/70+d2kjdhMZfWOMUQIfdunEwQjbQpTsRhtngpHfezqqfRze Fubl30EMMt3Pr+onbWPxnqav7A== X-Google-Smtp-Source: AJdET5eY4NQsB77qAo08Ev2SspDYjr+tvObTP0lvfFiDUvnvk6a0Ff0B5hi9YWKhvI7If1uiwEWbeQ== X-Received: by 2002:a17:902:4a0c:: with SMTP id w12-v6mr9509300pld.63.1542351490238; Thu, 15 Nov 2018 22:58:10 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id h134sm2835905pfe.27.2018.11.15.22.58.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Nov 2018 22:58:09 -0800 (PST) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang Date: Fri, 16 Nov 2018 14:57:02 +0800 Message-Id: <20181116065702.30559-16-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20181116065702.30559-1-ming.huang@linaro.org> References: <20181116065702.30559-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v2 15/15] Hisilicon/D06: Correct HIDs/UIDs of PCI host bridges X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 06:58:10 -0000 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 --- Platform/Hisilicon/D06/Library/PciHostBridgeLib/PciHostBridgeLib.c | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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, -- 2.9.5