aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiasen Lin <linjiasen@hygon.cn>2019-11-17 16:48:36 -0500
committerJon Mason <jdmason@kudzu.us>2019-12-07 16:29:44 -0500
commit9b5b99a89f641555d9d00452afb0a8aea4471eba (patch)
treef94e75a7e0e0ae453c16f01cfd6b16b8639187dd
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
download96b-common-9b5b99a89f641555d9d00452afb0a8aea4471eba.tar.gz
NTB: Add Hygon Device ID
Signed-off-by: Jiasen Lin <linjiasen@hygon.cn> Signed-off-by: Jon Mason <jdmason@kudzu.us>
-rw-r--r--drivers/ntb/hw/amd/ntb_hw_amd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ntb/hw/amd/ntb_hw_amd.c b/drivers/ntb/hw/amd/ntb_hw_amd.c
index 156c2a18a239..e52b300b2f5b 100644
--- a/drivers/ntb/hw/amd/ntb_hw_amd.c
+++ b/drivers/ntb/hw/amd/ntb_hw_amd.c
@@ -1139,6 +1139,7 @@ static const struct ntb_dev_data dev_data[] = {
static const struct pci_device_id amd_ntb_pci_tbl[] = {
{ PCI_VDEVICE(AMD, 0x145b), (kernel_ulong_t)&dev_data[0] },
{ PCI_VDEVICE(AMD, 0x148b), (kernel_ulong_t)&dev_data[1] },
+ { PCI_VDEVICE(HYGON, 0x145b), (kernel_ulong_t)&dev_data[0] },
{ 0, }
};
MODULE_DEVICE_TABLE(pci, amd_ntb_pci_tbl);