pci-octeon.c (e23c34bb41da65f354fb7eee04300c56ee48f60c) pci-octeon.c (6774def6422f6eac53f1828c317bf3b08a8f5a60)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2005-2009 Cavium Networks
7 */
8#include <linux/kernel.h>

--- 694 unchanged lines hidden (view full) ---

703 /*
704 * Clear any errors that might be pending from before the bus
705 * was setup properly.
706 */
707 cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1);
708
709 if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
710 -1, NULL, 0)))
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2005-2009 Cavium Networks
7 */
8#include <linux/kernel.h>

--- 694 unchanged lines hidden (view full) ---

703 /*
704 * Clear any errors that might be pending from before the bus
705 * was setup properly.
706 */
707 cvmx_write_csr(CVMX_NPI_PCI_INT_SUM2, -1);
708
709 if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
710 -1, NULL, 0)))
711 pr_err("Registation of co_pci_edac failed!\n");
711 pr_err("Registration of co_pci_edac failed!\n");
712
713 octeon_pci_dma_init();
714
715 return 0;
716}
717
718arch_initcall(octeon_pci_setup);
712
713 octeon_pci_dma_init();
714
715 return 0;
716}
717
718arch_initcall(octeon_pci_setup);