aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-01 14:11:07 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2011-01-07 05:33:54 -0500
commit8d5b5d9c7b86e44fda29a367db3ccd2815a52f7c (patch)
tree3444029260ba184d6726bd46c48d9fa87a2fc3a5 /drivers/edac/amd64_edac.h
parentb8cfa02f833a614e80f851747c4ce14989a4cfd0 (diff)
amd64_edac: Rename CPU PCI devices
Rename variables representing PCI devices to their BKDG names for faster search and shorter, clearer code. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index 007b68a436c5..76760a8043ca 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -386,9 +386,7 @@ struct amd64_pvt {
386 struct low_ops *ops; 386 struct low_ops *ops;
387 387
388 /* pci_device handles which we utilize */ 388 /* pci_device handles which we utilize */
389 struct pci_dev *addr_f1_ctl; 389 struct pci_dev *F1, *F2, *F3;
390 struct pci_dev *dram_f2_ctl;
391 struct pci_dev *misc_f3_ctl;
392 390
393 int mc_node_id; /* MC index of this MC node */ 391 int mc_node_id; /* MC index of this MC node */
394 int ext_model; /* extended model value of this node */ 392 int ext_model; /* extended model value of this node */
@@ -518,8 +516,7 @@ struct low_ops {
518 516
519struct amd64_family_type { 517struct amd64_family_type {
520 const char *ctl_name; 518 const char *ctl_name;
521 u16 addr_f1_ctl; 519 u16 f1_id, f3_id;
522 u16 misc_f3_ctl;
523 struct low_ops ops; 520 struct low_ops ops;
524}; 521};
525 522