projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ecb8f
)
NTB: Add Hygon Device ID
author
Jiasen Lin
<linjiasen@hygon.cn>
Sun, 17 Nov 2019 21:48:36 +0000
(16:48 -0500)
committer
Jon 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
patch
|
blob
|
history
diff --git
a/drivers/ntb/hw/amd/ntb_hw_amd.c
b/drivers/ntb/hw/amd/ntb_hw_amd.c
index 156c2a18a239458d0f81f9eb82d9db367db2d52d..e52b300b2f5b709730a730b676f45d8c257040b7 100644
(file)
--- 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);