s3c24x0.c (210396) | s3c24x0.c (210397) |
---|---|
1/* $NetBSD: s3c2410.c,v 1.4 2003/08/27 03:46:05 bsh Exp $ */ 2 3/* 4 * Copyright (c) 2003 Genetec corporation. All rights reserved. 5 * Written by Hiroyuki Bessho for Genetec corporation. 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 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 1/* $NetBSD: s3c2410.c,v 1.4 2003/08/27 03:46:05 bsh Exp $ */ 2 3/* 4 * Copyright (c) 2003 Genetec corporation. All rights reserved. 5 * Written by Hiroyuki Bessho for Genetec corporation. 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 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/arm/s3c2xx0/s3c24x0.c 210396 2010-07-22 23:12:19Z andrew $"); | 33__FBSDID("$FreeBSD: head/sys/arm/s3c2xx0/s3c24x0.c 210397 2010-07-22 23:23:39Z andrew $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/reboot.h> 39#include <sys/malloc.h> 40#include <sys/module.h> 41#include <sys/bus.h> --- 33 unchanged lines hidden (view full) --- 75 int prio; 76 int unit; 77 struct { 78 int type; 79 u_long start; 80 u_long count; 81 } res[2]; 82} s3c24x0_children[] = { | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/reboot.h> 39#include <sys/malloc.h> 40#include <sys/module.h> 41#include <sys/bus.h> --- 33 unchanged lines hidden (view full) --- 75 int prio; 76 int unit; 77 struct { 78 int type; 79 u_long start; 80 u_long count; 81 } res[2]; 82} s3c24x0_children[] = { |
83 { "rtc", 0, -1, { 84 { SYS_RES_IOPORT, S3C24X0_RTC_PA_BASE, S3C24X0_RTC_SIZE }, 85 { 0 }, 86 } }, |
|
83 { "timer", 0, -1, { { 0 }, } }, 84 { "uart", 1, 0, { 85 { SYS_RES_IRQ, S3C24X0_INT_UART0, 1 }, 86 { SYS_RES_IOPORT, S3C24X0_UART_PA_BASE(0), 87 S3C24X0_UART_BASE(1) - S3C24X0_UART_BASE(0) }, 88 } }, 89 { "uart", 1, 1, { 90 { SYS_RES_IRQ, S3C24X0_INT_UART1, 1 }, --- 561 unchanged lines hidden --- | 87 { "timer", 0, -1, { { 0 }, } }, 88 { "uart", 1, 0, { 89 { SYS_RES_IRQ, S3C24X0_INT_UART0, 1 }, 90 { SYS_RES_IOPORT, S3C24X0_UART_PA_BASE(0), 91 S3C24X0_UART_BASE(1) - S3C24X0_UART_BASE(0) }, 92 } }, 93 { "uart", 1, 1, { 94 { SYS_RES_IRQ, S3C24X0_INT_UART1, 1 }, --- 561 unchanged lines hidden --- |