1
0
Fork 0

ntb_hw_amd: Add a new NTB PCI device ID

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
alistair/sunxi64-5.4-dsi
Sanjay R Mehta 2019-09-15 17:07:43 +00:00 committed by Jon Mason
parent 5e2cbf13d0
commit 5f59f6b182
2 changed files with 2 additions and 2 deletions

View 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);

View 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