Deleted Added
full compact
orion.c (186899) orion.c (186909)
1/*-
2 * Copyright (C) 2008 MARVELL INTERNATIONAL LTD.
3 * All rights reserved.
4 *
5 * Developed by Semihalf.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 2008 MARVELL INTERNATIONAL LTD.
3 * All rights reserved.
4 *
5 * Developed by Semihalf.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/arm/mv/orion/orion.c 186899 2009-01-08 13:20:28Z raj $");
33__FBSDID("$FreeBSD: head/sys/arm/mv/orion/orion.c 186909 2009-01-08 18:31:43Z raj $");
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/bus.h>
38
39#include <machine/bus.h>
40
41#include <arm/mv/mvreg.h>

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

107 MV_PCI_IO_BASE, MV_PCI_IO_SIZE, 3, 0x51,
108 MV_PCI_MEM_BASE, MV_PCI_MEM_SIZE, 3, 0x59,
109 platform_pci_get_irq, -1
110 },
111
112 { 0, 0, 0 }
113};
114
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/bus.h>
38
39#include <machine/bus.h>
40
41#include <arm/mv/mvreg.h>

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

107 MV_PCI_IO_BASE, MV_PCI_IO_SIZE, 3, 0x51,
108 MV_PCI_MEM_BASE, MV_PCI_MEM_SIZE, 3, 0x59,
109 platform_pci_get_irq, -1
110 },
111
112 { 0, 0, 0 }
113};
114
115struct resource_spec mv_gpio_spec[] = {
115struct resource_spec mv_gpio_res[] = {
116 { SYS_RES_MEMORY, 0, RF_ACTIVE },
117 { SYS_RES_IRQ, 0, RF_ACTIVE },
118 { SYS_RES_IRQ, 1, RF_ACTIVE },
119 { SYS_RES_IRQ, 2, RF_ACTIVE },
120 { SYS_RES_IRQ, 3, RF_ACTIVE },
121 { -1, 0 }
122};
123

--- 67 unchanged lines hidden ---
116 { SYS_RES_MEMORY, 0, RF_ACTIVE },
117 { SYS_RES_IRQ, 0, RF_ACTIVE },
118 { SYS_RES_IRQ, 1, RF_ACTIVE },
119 { SYS_RES_IRQ, 2, RF_ACTIVE },
120 { SYS_RES_IRQ, 3, RF_ACTIVE },
121 { -1, 0 }
122};
123

--- 67 unchanged lines hidden ---