diff options
author | David Daney <david.daney@cavium.com> | 2012-11-15 16:58:59 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 12:15:26 -0500 |
commit | e1ced09797776dfd4a2a7b04b9ee7e97ab1e64be (patch) | |
tree | 473934ca424e0e10f235bcd9ae97781349af5495 /arch/mips/pci | |
parent | abe105a4d8c5ee2aa2acef33c5d163e5d187598f (diff) |
MIPS/EDAC: Improve OCTEON EDAC support.
Some initialization errors are reported with the existing OCTEON EDAC
support patch. Also some parts have more than one memory controller.
Fix the errors and add multiple controllers if present.
Signed-off-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pci-octeon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-octeon.c b/arch/mips/pci/pci-octeon.c index 8eb2ee345d03..5b5ed76c6f47 100644 --- a/arch/mips/pci/pci-octeon.c +++ b/arch/mips/pci/pci-octeon.c | |||
@@ -705,7 +705,8 @@ static int __init octeon_pci_setup(void) | |||
705 | */ | 705 | */ |
706 | cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1); | 706 | cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1); |
707 | 707 | ||
708 | if (IS_ERR(platform_device_register_simple("co_pci_edac", 0, NULL, 0))) | 708 | if (IS_ERR(platform_device_register_simple("octeon_pci_edac", |
709 | -1, NULL, 0))) | ||
709 | pr_err("Registation of co_pci_edac failed!\n"); | 710 | pr_err("Registation of co_pci_edac failed!\n"); |
710 | 711 | ||
711 | octeon_pci_dma_init(); | 712 | octeon_pci_dma_init(); |