Line 132... |
Line 132... |
|
|
/*
|
/*
|
* IRQ_timeout - How long the timeout should be for each IRQ
|
* IRQ_timeout - How long the timeout should be for each IRQ
|
* should be after the IRQ has been active.
|
* should be after the IRQ has been active.
|
*/
|
*/
|
|
#ifdef CONFIG_OR32
|
|
static struct async_struct *IRQ_ports[32];
|
|
static struct rs_multiport_struct rs_multiport[32];
|
|
static int IRQ_timeout[32];
|
|
#else
|
static struct async_struct *IRQ_ports[16];
|
static struct async_struct *IRQ_ports[16];
|
static struct rs_multiport_struct rs_multiport[16];
|
static struct rs_multiport_struct rs_multiport[16];
|
static int IRQ_timeout[16];
|
static int IRQ_timeout[16];
|
|
#endif
|
static volatile int rs_irq_triggered;
|
static volatile int rs_irq_triggered;
|
static volatile int rs_triggered;
|
static volatile int rs_triggered;
|
static int rs_wild_int_mask;
|
static int rs_wild_int_mask;
|
|
|
#ifdef CONFIG_COLDFIRE
|
#ifdef CONFIG_COLDFIRE
|
Line 229... |
Line 235... |
{ 0, BASE_BAUD, 0x208, 25, STD_COM_FLAGS }, /* ttyS1 */
|
{ 0, BASE_BAUD, 0x208, 25, STD_COM_FLAGS }, /* ttyS1 */
|
{ 0, BASE_BAUD, 0x210, 25, STD_COM_FLAGS }, /* ttyS2 */
|
{ 0, BASE_BAUD, 0x210, 25, STD_COM_FLAGS }, /* ttyS2 */
|
{ 0, BASE_BAUD, 0x218, 25, STD_COM_FLAGS }, /* ttyS3 */
|
{ 0, BASE_BAUD, 0x218, 25, STD_COM_FLAGS }, /* ttyS3 */
|
#elif defined(CONFIG_OR32)
|
#elif defined(CONFIG_OR32)
|
{ 0, BASE_BAUD_OR1K, UART_BASE_ADD, IRQ_UART_0, STD_COM_FLAGS }, /* ttyS0 */
|
{ 0, BASE_BAUD_OR1K, UART_BASE_ADD, IRQ_UART_0, STD_COM_FLAGS }, /* ttyS0 */
|
{ 0, BASE_BAUD_OR1K, UART_BASE_ADD, IRQ_UART_0, STD_COM_FLAGS }, /* ttyS0 */
|
|
#else
|
#else
|
{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */
|
{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */
|
{ 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */
|
{ 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */
|
{ 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */
|
{ 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */
|
{ 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */
|
{ 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */
|