Line 160... |
Line 160... |
* megabits/second; but this requires the faster clock.
|
* megabits/second; but this requires the faster clock.
|
*/
|
*/
|
#define BASE_BAUD ( 1843200 / 16 )
|
#define BASE_BAUD ( 1843200 / 16 )
|
|
|
/* Base boud for or1k */
|
/* Base boud for or1k */
|
#define BASE_BAUD_OR1K ( 200000/ 16 )
|
#define BASE_BAUD_OR1K ( SYS_CLK / 16 )
|
|
|
/*
|
/*
|
* Well, it is not a 24,756 MHz clock but it is at least a start.
|
* Well, it is not a 24,756 MHz clock but it is at least a start.
|
* This PCI board here has a 14,7456 MHz crystal oscillator which is
|
* This PCI board here has a 14,7456 MHz crystal oscillator which is
|
* eight times as fast as the standard serial clock...
|
* eight times as fast as the standard serial clock...
|
Line 229... |
Line 229... |
{ 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 */
|