Commit 5f59f6b1 authored by Sanjay R Mehta's avatar Sanjay R Mehta Committed by Jon Mason

ntb_hw_amd: Add a new NTB PCI device ID

Signed-off-by: default avatarSanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 5e2cbf13
......@@ -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);
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment