Deleted Added
full compact
at91.c (157891) at91.c (158531)
1/*-
2 * Copyright (c) 2005 Olivier Houchard. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005 Olivier Houchard. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/sys/arm/at91/at91.c 157891 2006-04-20 04:12:02Z imp $");
26__FBSDID("$FreeBSD: head/sys/arm/at91/at91.c 158531 2006-05-13 23:41:16Z cognet $");
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/bus.h>
31#include <sys/kernel.h>
32#include <sys/malloc.h>
33#include <sys/module.h>
34

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

309 AT91RM92_BASE + AT91RM92_TWI_BASE, AT91RM92_TWI_SIZE,
310 AT91RM92_IRQ_TWI
311 },
312 {
313 "ate", 0,
314 AT91RM92_BASE + AT91RM92_EMAC_BASE, AT91RM92_EMAC_SIZE,
315 AT91RM92_IRQ_EMAC
316 },
27
28#include <sys/param.h>
29#include <sys/systm.h>
30#include <sys/bus.h>
31#include <sys/kernel.h>
32#include <sys/malloc.h>
33#include <sys/module.h>
34

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

309 AT91RM92_BASE + AT91RM92_TWI_BASE, AT91RM92_TWI_SIZE,
310 AT91RM92_IRQ_TWI
311 },
312 {
313 "ate", 0,
314 AT91RM92_BASE + AT91RM92_EMAC_BASE, AT91RM92_EMAC_SIZE,
315 AT91RM92_IRQ_EMAC
316 },
317#ifndef SKYEYE_WORKAROUNDS
317 {
318 "uart", 0,
319 AT91RM92_BASE + AT91RM92_DBGU_BASE, AT91RM92_DBGU_SIZE,
320 AT91RM92_IRQ_SYSTEM
321 },
322 {
323 "uart", 1,
324 AT91RM92_BASE + AT91RM92_USART0_BASE, AT91RM92_USART_SIZE,

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

334 AT91RM92_BASE + AT91RM92_USART2_BASE, AT91RM92_USART_SIZE,
335 AT91RM92_IRQ_USART2
336 },
337 {
338 "uart", 4,
339 AT91RM92_BASE + AT91RM92_USART3_BASE, AT91RM92_USART_SIZE,
340 AT91RM92_IRQ_USART3
341 },
318 {
319 "uart", 0,
320 AT91RM92_BASE + AT91RM92_DBGU_BASE, AT91RM92_DBGU_SIZE,
321 AT91RM92_IRQ_SYSTEM
322 },
323 {
324 "uart", 1,
325 AT91RM92_BASE + AT91RM92_USART0_BASE, AT91RM92_USART_SIZE,

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

335 AT91RM92_BASE + AT91RM92_USART2_BASE, AT91RM92_USART_SIZE,
336 AT91RM92_IRQ_USART2
337 },
338 {
339 "uart", 4,
340 AT91RM92_BASE + AT91RM92_USART3_BASE, AT91RM92_USART_SIZE,
341 AT91RM92_IRQ_USART3
342 },
343#else
342 {
344 {
345 "uart", 0,
346 AT91RM92_BASE + AT91RM92_USART0_BASE, AT91RM92_USART_SIZE,
347 AT91RM92_IRQ_USART0
348 },
349#endif
350 {
343 "at91_ssc", 0,
344 AT91RM92_BASE + AT91RM92_SSC0_BASE, AT91RM92_SSC_SIZE,
345 AT91RM92_IRQ_SSC0
346 },
347 {
348 "at91_ssc", 1,
349 AT91RM92_BASE + AT91RM92_SSC1_BASE, AT91RM92_SSC_SIZE,
350 AT91RM92_IRQ_SSC1

--- 316 unchanged lines hidden ---
351 "at91_ssc", 0,
352 AT91RM92_BASE + AT91RM92_SSC0_BASE, AT91RM92_SSC_SIZE,
353 AT91RM92_IRQ_SSC0
354 },
355 {
356 "at91_ssc", 1,
357 AT91RM92_BASE + AT91RM92_SSC1_BASE, AT91RM92_SSC_SIZE,
358 AT91RM92_IRQ_SSC1

--- 316 unchanged lines hidden ---