2001-05-07 Joel Sherrill <joel@OARcorp.com>

* console/conscfg.c: Added an entry for the second
	serial port.
This commit is contained in:
Joel Sherrill
2001-05-07 13:07:58 +00:00
parent c556d0bacc
commit a9d8649a58
2 changed files with 26 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2001-05-07 Joel Sherrill <joel@OARcorp.com>
* console/conscfg.c: Added an entry for the second
serial port.
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Account for the fact that ClockRate is

View File

@@ -29,7 +29,7 @@ extern int ClockRate;
console_tbl Console_Port_Tbl[] = {
{
"/dev/com0", /* sDeviceName */
"/dev/com0", /* sDeviceName */
SERIAL_MG5UART, /* deviceType */
MG5UART_FUNCTIONS, /* pDeviceFns */
NULL, /* deviceProbe, assume it is there */
@@ -46,7 +46,26 @@ console_tbl Console_Port_Tbl[] = {
NULL, /* unused */ /* setData */
CLOCK_RATE, /* ulClock */
MONGOOSEV_IRQ_UART0_RX_FRAME_ERROR /* ulIntVector -- base for port */
}
},
{
"/dev/com1", /* sDeviceName */
SERIAL_MG5UART, /* deviceType */
MG5UART_FUNCTIONS, /* pDeviceFns */
NULL, /* deviceProbe, assume it is there */
NULL, /* pDeviceFlow */
16, /* ulMargin */
8, /* ulHysteresis */
(void *) NULL, /* NULL */ /* pDeviceParams */
MONGOOSEV_PERIPHERAL_COMMAND_REGISTER, /* ulCtrlPort1 */
MONGOOSEV_UART1_BASE, /* ulCtrlPort2 */
MG5UART_UART1, /* ulDataPort */
NULL, /* getRegister */
NULL, /* setRegister */
NULL, /* unused */ /* getData */
NULL, /* unused */ /* setData */
CLOCK_RATE, /* ulClock */
MONGOOSEV_IRQ_UART1_RX_FRAME_ERROR /* ulIntVector -- base for port */
},
};
/*