diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-03-14 00:49:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-03-14 00:49:17 +0000 |
commit | acdb655855867d91f5f94babd9d64da2748f77f9 (patch) | |
tree | ac2ab1e5c958bda98f29265a34f194b50d8e8ab4 /c/src/lib/libcpu/mips/mongoosev/duart/README.mguart | |
parent | 2001-03-08 Ralf Corsepiu <corsepius@faw.uni-ulm.de> (diff) | |
download | rtems-acdb655855867d91f5f94babd9d64da2748f77f9.tar.bz2 |
2001-03-13 Joel Sherrill <joel@OARcorp.com>
* Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs
directories.
* mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README,
mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am,
mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c,
mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
mongoosev/include/.cvsignore, mongoosev/include/Makefile.am,
mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore,
mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c:
New files.
* Makefile.am, configure.in, shared/interrupts/Makefile.am,
shared/interrupts/maxvectors.c: Added support for mongoosev.
* tx39/vectorisrs/vectorisrs.c: Corrected warning.
Diffstat (limited to 'c/src/lib/libcpu/mips/mongoosev/duart/README.mguart')
-rw-r--r-- | c/src/lib/libcpu/mips/mongoosev/duart/README.mguart | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/mips/mongoosev/duart/README.mguart b/c/src/lib/libcpu/mips/mongoosev/duart/README.mguart new file mode 100644 index 0000000000..77264ed279 --- /dev/null +++ b/c/src/lib/libcpu/mips/mongoosev/duart/README.mguart @@ -0,0 +1,105 @@ +# +# $Id$ +# + +Configuration Table Use +======================= + +sDeviceName + + The name of this device. + +deviceType + + This field must be SERIAL_MG5UART. + +pDeviceFns + + The device interface control table. This may be: + + mg5uart_fns for interrupt driven IO + + mg5uart_fns_polled for polled IO + +deviceProbe + + This is the address of the routine which probes to see if the device + is present. + +pDeviceFlow + + This field is ignored as hardware flow control is not currently supported. + +ulMargin + + This is currently unused. + +ulHysteresis + + This is currently unused. + +pDeviceParams + + This is set to the default settings. + +ulCtrlPort1 + + This field is the address of the command register shared by both ports. + +ulCtrlPort2 + + This field is the address of the port being used. + +ulDataPort + + This field is set to MG5UART_PORTA or MG5UART_PORTB. + +getRegister +setRegister + + These do NOT follow standard conventions and are ignored. + The register address routines are hard-coded as this is + an on-CPU part and assumed to provide a 32-bit wide interface. + +getData + + This is address of the RX buffer register. + +setData + + This is address of the TX buffer register. + +ulClock + + baudRate Clock + +ulIntVector + + This is the interrupt vector number associated with this chip. + +Example: + +#if (CONSOLE_USE_INTERRUPTS) +#define MG5UART_FUNCTIONS &mg5uart_fns +#else +#define MG5UART_FUNCTIONS &mg5uart_fns_polled +#endif + +{ + "/dev/com0", /* 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_UART0_BASE, /* ulCtrlPort2 */ + MG5UART_UART0, /* ulDataPort */ + mg5uart_get_register, /* getRegister */ + mg5uart_set_register, /* setRegister */ + NULL, /* unused */ /* getData */ + NULL, /* unused */ /* setData */ + 12000000, /* ulClock */ + MONGOOSEV_IRQ_UART0_RX_FRAME_ERROR /* ulIntVector -- base for port */ +} + |