summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiasen Lin <linjiasen@hygon.cn>2019-11-17 22:48:36 +0100
committerJon Mason <jdmason@kudzu.us>2019-12-07 22:29:44 +0100
commit9b5b99a89f641555d9d00452afb0a8aea4471eba (patch)
treef94e75a7e0e0ae453c16f01cfd6b16b8639187dd
parentLinux 5.4-rc1 (diff)
downloadlinux-9b5b99a89f641555d9d00452afb0a8aea4471eba.tar.xz
linux-9b5b99a89f641555d9d00452afb0a8aea4471eba.zip
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);