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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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