mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
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>
This commit is contained in:
parent
abe105a4d8
commit
e1ced09797
8 changed files with 408 additions and 337 deletions
|
@ -705,7 +705,8 @@ static int __init octeon_pci_setup(void)
|
|||
*/
|
||||
cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1);
|
||||
|
||||
if (IS_ERR(platform_device_register_simple("co_pci_edac", 0, NULL, 0)))
|
||||
if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
|
||||
-1, NULL, 0)))
|
||||
pr_err("Registation of co_pci_edac failed!\n");
|
||||
|
||||
octeon_pci_dma_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue