bonding: fix rx_handler locking
[linux/fpc-iii.git] / arch / blackfin / mach-bf533 / include / mach / bfin_serial_5xx.h
blob45dcaa4f3e416a2a713ae1bb596ded778a223847
1 /*
2 * Copyright 2006-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later
5 */
7 #include <asm/dma.h>
8 #include <asm/portmux.h>
10 #ifdef CONFIG_BFIN_UART0_CTSRTS
11 # define CONFIG_SERIAL_BFIN_CTSRTS
12 # ifndef CONFIG_UART0_CTS_PIN
13 # define CONFIG_UART0_CTS_PIN -1
14 # endif
15 # ifndef CONFIG_UART0_RTS_PIN
16 # define CONFIG_UART0_RTS_PIN -1
17 # endif
18 #endif
20 struct bfin_serial_res {
21 unsigned long uart_base_addr;
22 int uart_irq;
23 int uart_status_irq;
24 #ifdef CONFIG_SERIAL_BFIN_DMA
25 unsigned int uart_tx_dma_channel;
26 unsigned int uart_rx_dma_channel;
27 #endif
28 #ifdef CONFIG_SERIAL_BFIN_CTSRTS
29 int uart_cts_pin;
30 int uart_rts_pin;
31 #endif
34 struct bfin_serial_res bfin_serial_resource[] = {
36 0xFFC00400,
37 IRQ_UART0_RX,
38 IRQ_UART0_ERROR,
39 #ifdef CONFIG_SERIAL_BFIN_DMA
40 CH_UART0_TX,
41 CH_UART0_RX,
42 #endif
43 #ifdef CONFIG_SERIAL_BFIN_CTSRTS
44 CONFIG_UART0_CTS_PIN,
45 CONFIG_UART0_RTS_PIN,
46 #endif
50 #define DRIVER_NAME "bfin-uart"
52 #include <asm/bfin_serial.h>