File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 11
11
#include <linux/errno.h>
12
12
#include <linux/export.h>
13
13
#include <linux/spinlock.h>
14
+ #include <linux/pci_ids.h>
14
15
#include <asm/amd_nb.h>
15
16
16
17
#define PCI_DEVICE_ID_AMD_17H_ROOT 0x1450
17
18
#define PCI_DEVICE_ID_AMD_17H_M10H_ROOT 0x15d0
18
- #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463
19
19
#define PCI_DEVICE_ID_AMD_17H_DF_F4 0x1464
20
- #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb
21
20
#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F4 0x15ec
22
21
23
22
/* Protect the PCI config register pairs used for SMN and DF indirect access. */
Original file line number Diff line number Diff line change 23
23
#include <linux/init.h>
24
24
#include <linux/module.h>
25
25
#include <linux/pci.h>
26
+ #include <linux/pci_ids.h>
26
27
#include <asm/amd_nb.h>
27
28
#include <asm/processor.h>
28
29
@@ -41,14 +42,6 @@ static DEFINE_MUTEX(nb_smu_ind_mutex);
41
42
#define PCI_DEVICE_ID_AMD_15H_M70H_NB_F3 0x15b3
42
43
#endif
43
44
44
- #ifndef PCI_DEVICE_ID_AMD_17H_DF_F3
45
- #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463
46
- #endif
47
-
48
- #ifndef PCI_DEVICE_ID_AMD_17H_M10H_DF_F3
49
- #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb
50
- #endif
51
-
52
45
/* CPUID function 0x80000001, ebx */
53
46
#define CPUID_PKGTYPE_MASK 0xf0000000
54
47
#define CPUID_PKGTYPE_F 0x00000000
Original file line number Diff line number Diff line change 545
545
#define PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534
546
546
#define PCI_DEVICE_ID_AMD_16H_M30H_NB_F3 0x1583
547
547
#define PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 0x1584
548
+ #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463
549
+ #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb
548
550
#define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703
549
551
#define PCI_DEVICE_ID_AMD_LANCE 0x2000
550
552
#define PCI_DEVICE_ID_AMD_LANCE_HOME 0x2001
You can’t perform that action at this time.
0 commit comments