mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
PCI: Fix PCIe Endpoint device IDs
PCIe device ids 0x229a and 0x229c belongs to Root port, so this driver is binding instead of pcieport. Tegra PCIe Endpoint production device ids are 0x1ad4 and 0x1ad5, correct the device ids accordingly. Bug 4477934 Change-Id: Ia86c4dcc6b4527e984a473c941713ef58dd6f74d Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3067109 Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2337fafd34
commit
fc47fbceba
@@ -1,8 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* PCIe DMA EPF test framework for Tegra PCIe
|
||||
* PCIe DMA EPF test framework for Tegra PCIe.
|
||||
*
|
||||
* Copyright (C) 2021-2024 NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <nvidia/conftest.h>
|
||||
@@ -297,7 +297,7 @@ static int pcie_dma_epf_probe(struct pci_epf *epf)
|
||||
epf->event_ops = &pci_epf_dma_test_event_ops;
|
||||
|
||||
epfnv->header.vendorid = PCI_VENDOR_ID_NVIDIA;
|
||||
epfnv->header.deviceid = 0x1AD6;
|
||||
epfnv->header.deviceid = 0x1AD4;
|
||||
epfnv->header.baseclass_code = PCI_BASE_CLASS_MEMORY;
|
||||
epfnv->header.interrupt_pin = PCI_INTERRUPT_INTA;
|
||||
epf->header = &epfnv->header;
|
||||
|
||||
Reference in New Issue
Block a user