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>
This commit is contained in:
parent
5e2cbf13d0
commit
5f59f6b182
@ -1124,7 +1124,8 @@ static const struct file_operations amd_ntb_debugfs_info = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct pci_device_id amd_ntb_pci_tbl[] = {
|
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}
|
{0}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(pci, amd_ntb_pci_tbl);
|
MODULE_DEVICE_TABLE(pci, amd_ntb_pci_tbl);
|
||||||
|
@ -52,7 +52,6 @@
|
|||||||
#include <linux/ntb.h>
|
#include <linux/ntb.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
||||||
#define PCI_DEVICE_ID_AMD_NTB 0x145B
|
|
||||||
#define AMD_LINK_HB_TIMEOUT msecs_to_jiffies(1000)
|
#define AMD_LINK_HB_TIMEOUT msecs_to_jiffies(1000)
|
||||||
#define AMD_LINK_STATUS_OFFSET 0x68
|
#define AMD_LINK_STATUS_OFFSET 0x68
|
||||||
#define NTB_LIN_STA_ACTIVE_BIT 0x00000002
|
#define NTB_LIN_STA_ACTIVE_BIT 0x00000002
|
||||||
|
Loading…
Reference in New Issue
Block a user