Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
fd382654
Commit
fd382654
authored
Oct 14, 2009
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i7core_edac: PCI device is called NONCORE, instead of NOCORE
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
321ece4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/edac/i7core_edac.c
drivers/edac/i7core_edac.c
+3
-3
include/linux/pci_ids.h
include/linux/pci_ids.h
+2
-2
No files found.
drivers/edac/i7core_edac.c
View file @
fd382654
...
...
@@ -291,7 +291,7 @@ struct pci_id_descr pci_dev_descr[] = {
* the probing code needs to test for the other address in case of
* failure of this one
*/
{
PCI_DESCR
(
0
,
0
,
PCI_DEVICE_ID_INTEL_I7_NOCORE
)
},
{
PCI_DESCR
(
0
,
0
,
PCI_DEVICE_ID_INTEL_I7_NO
N
CORE
)
},
};
#define N_DEVS ARRAY_SIZE(pci_dev_descr)
...
...
@@ -1177,9 +1177,9 @@ int i7core_get_onedevice(struct pci_dev **prev, int devno)
* is at addr 8086:2c40, instead of 8086:2c41. So, we need
* to probe for the alternate address in case of failure
*/
if
(
pci_dev_descr
[
devno
].
dev_id
==
PCI_DEVICE_ID_INTEL_I7_NOCORE
&&
!
pdev
)
if
(
pci_dev_descr
[
devno
].
dev_id
==
PCI_DEVICE_ID_INTEL_I7_NO
N
CORE
&&
!
pdev
)
pdev
=
pci_get_device
(
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_I7_NOCORE_ALT
,
*
prev
);
PCI_DEVICE_ID_INTEL_I7_NO
N
CORE_ALT
,
*
prev
);
if
(
!
pdev
)
{
if
(
*
prev
)
{
...
...
include/linux/pci_ids.h
View file @
fd382654
...
...
@@ -2548,8 +2548,8 @@
#define PCI_DEVICE_ID_INTEL_I7_MC_CH2_ADDR 0x2c31
#define PCI_DEVICE_ID_INTEL_I7_MC_CH2_RANK 0x2c32
#define PCI_DEVICE_ID_INTEL_I7_MC_CH2_TC 0x2c33
#define PCI_DEVICE_ID_INTEL_I7_NOCORE 0x2c41
#define PCI_DEVICE_ID_INTEL_I7_NOCORE_ALT 0x2c40
#define PCI_DEVICE_ID_INTEL_I7_NO
N
CORE 0x2c41
#define PCI_DEVICE_ID_INTEL_I7_NO
N
CORE_ALT 0x2c40
#define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340
#define PCI_DEVICE_ID_INTEL_IOAT_TBG4 0x3429
#define PCI_DEVICE_ID_INTEL_IOAT_TBG5 0x342a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment