mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ntb_hw_amd: Add a new NTB PCI device ID
Signed-off-by: Sanjay R Mehta <[email protected]> Signed-off-by: Jon Mason <[email protected]>
This commit is contained in:
parent
5e2cbf13d0
commit
5f59f6b182
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue