OSDN Git Service
(root)
/
android-x86
/
kernel.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
156c2a1
..
e52b300
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);