Messages in this thread | | | Date | Fri, 21 Feb 2014 15:04:47 -0600 | From | Aravind Gopalakrishnan <> | Subject | Re: [PATCH] amd64_edac: Add support for newer F16h models |
| |
On 2/21/2014 8:27 AM, Borislav Petkov wrote: > On Thu, Feb 20, 2014 at 10:28:46AM -0600, Aravind Gopalakrishnan wrote: >> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h >> index 97fbecd..e91ad27 100644 >> --- a/include/linux/pci_ids.h >> +++ b/include/linux/pci_ids.h >> @@ -528,6 +528,8 @@ >> #define PCI_DEVICE_ID_AMD_15H_NB_F5 0x1605 >> #define PCI_DEVICE_ID_AMD_16H_NB_F3 0x1533 >> #define PCI_DEVICE_ID_AMD_16H_NB_F4 0x1534 >> +#define PCI_DEVICE_ID_AMD_16H_M30H_NB_F3 0x1583 >> +#define PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 0x1584 > Just put those in arch/x86/include/asm/amd_nb.h as amd64_edac.c includes > it already and you can avoid the pci_ids.h addition. Unless there are > plans to use F{3,4} in other places too... >
F{3,4} are used by hwmon/k10temp.c and hwmon/fam15h_power.c and they will need definitions to be places here in pci_ids.h But I'm not sure if the hwmon drivers need to carry support for this model yet (will verify that)
If not, I'll remove them and resend.
Thanks, -Aravind.
| |