diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-01-19 12:15:10 -0500 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-03-17 09:46:26 -0400 |
commit | df71a053241548b728d3bf45b0c11ed092a20319 (patch) | |
tree | a82963dc5b4365b456a4b3054b052268291f5c37 /drivers/edac/amd64_edac.h | |
parent | a3b7db09a6d5a6b8d237766b0b320447bb609bc5 (diff) |
amd64_edac: Enable driver on F15h
Add the PCI device ids required for driver registration. Remove
pvt->ctl_name and use the family descriptor directly, instead. Then,
bump driver version and fixup its format. Finally, enable DRAM ECC
decoding on F15h.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 4de31c89c605..4ece4f4ea581 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h | |||
@@ -144,7 +144,7 @@ | |||
144 | * sections 3.5.4 and 3.5.5 for more information. | 144 | * sections 3.5.4 and 3.5.5 for more information. |
145 | */ | 145 | */ |
146 | 146 | ||
147 | #define EDAC_AMD64_VERSION "v3.3.0" | 147 | #define EDAC_AMD64_VERSION "3.4.0" |
148 | #define EDAC_MOD_STR "amd64_edac" | 148 | #define EDAC_MOD_STR "amd64_edac" |
149 | 149 | ||
150 | /* Extended Model from CPUID, for CPU Revision numbers */ | 150 | /* Extended Model from CPUID, for CPU Revision numbers */ |
@@ -170,6 +170,8 @@ | |||
170 | /* | 170 | /* |
171 | * PCI-defined configuration space registers | 171 | * PCI-defined configuration space registers |
172 | */ | 172 | */ |
173 | #define PCI_DEVICE_ID_AMD_15H_NB_F1 0x1601 | ||
174 | #define PCI_DEVICE_ID_AMD_15H_NB_F2 0x1602 | ||
173 | 175 | ||
174 | 176 | ||
175 | /* | 177 | /* |
@@ -367,10 +369,6 @@ struct amd64_pvt { | |||
367 | 369 | ||
368 | /* place to store error injection parameters prior to issue */ | 370 | /* place to store error injection parameters prior to issue */ |
369 | struct error_injection injection; | 371 | struct error_injection injection; |
370 | |||
371 | /* family name this instance is running on */ | ||
372 | const char *ctl_name; | ||
373 | |||
374 | }; | 372 | }; |
375 | 373 | ||
376 | static inline u64 get_dram_base(struct amd64_pvt *pvt, unsigned i) | 374 | static inline u64 get_dram_base(struct amd64_pvt *pvt, unsigned i) |