]> Git Repo - linux.git/commitdiff
ntb_hw_amd: Add a new NTB PCI device ID
authorSanjay R Mehta <[email protected]>
Sun, 15 Sep 2019 17:07:43 +0000 (17:07 +0000)
committerJon Mason <[email protected]>
Mon, 23 Sep 2019 21:20:40 +0000 (17:20 -0400)
Signed-off-by: Sanjay R Mehta <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h

index 2859cc99b73e65beaecc45e620cbda7898fd0daa..e9286cf241f0741462541ac9271099d12ab5e90d 100644 (file)
@@ -1124,7 +1124,8 @@ static const struct file_operations amd_ntb_debugfs_info = {
 };
 
 static const struct pci_device_id amd_ntb_pci_tbl[] = {
-       {PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NTB)},
+       {PCI_VDEVICE(AMD, 0x145b)},
+       {PCI_VDEVICE(AMD, 0x148b)},
        {0}
 };
 MODULE_DEVICE_TABLE(pci, amd_ntb_pci_tbl);
index 8f3617a46292dbc31e6d46e2adb8a3d34fb929b8..3aac994f3e771bbd243d4cbbd66b77a0ad249dc9 100644 (file)
@@ -52,7 +52,6 @@
 #include <linux/ntb.h>
 #include <linux/pci.h>
 
-#define PCI_DEVICE_ID_AMD_NTB  0x145B
 #define AMD_LINK_HB_TIMEOUT    msecs_to_jiffies(1000)
 #define AMD_LINK_STATUS_OFFSET 0x68
 #define NTB_LIN_STA_ACTIVE_BIT 0x00000002
This page took 0.061678 seconds and 4 git commands to generate.