NTB: Add Hygon Device ID
authorJiasen Lin <linjiasen@hygon.cn>
Sun, 17 Nov 2019 21:48:36 +0000 (16:48 -0500)
committerJon Mason <jdmason@kudzu.us>
Sat, 7 Dec 2019 21:29:44 +0000 (16:29 -0500)
Signed-off-by: Jiasen Lin <linjiasen@hygon.cn>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c

index 156c2a18a239458d0f81f9eb82d9db367db2d52d..e52b300b2f5b709730a730b676f45d8c257040b7 100644 (file)
@@ -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);