diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-29 15:28:13 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-29 15:28:13 -0500 |
commit | 2cc30b0d0c83d6fa9c5a84ba8d29fb0887073a0b (patch) | |
tree | d9810e677bfdbaa58298887f5830a7e42346786a /c/src/lib/libbsp/i386/pc386/console/rtd316.h | |
parent | LEON3: various cleanups in leon.h (diff) | |
download | rtems-2cc30b0d0c83d6fa9c5a84ba8d29fb0887073a0b.tar.bz2 |
PC386 Add RTD316 and Exar 17D15x multi-port serial card support
- RTD316 is a PC-104 board with one Z85C30 SCC for two synchronous
or asynchronous serial ports.
http://www.rtd.com/PC104/UM/network/CM316HR.htm
- Exar 17D15X is a chip with 2, 4, or 8 NS16550 compatible
serial ports with a PCI interface. It may be found on
many multi-port serial ports including:
http://www.rtd.com/PC104/UM/network/CM17320HR.htm
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/console/rtd316.h')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/console/rtd316.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/console/rtd316.h b/c/src/lib/libbsp/i386/pc386/console/rtd316.h new file mode 100644 index 0000000000..a88d001ce5 --- /dev/null +++ b/c/src/lib/libbsp/i386/pc386/console/rtd316.h @@ -0,0 +1,56 @@ +/** + * @file bsp/rtd316.h + * + * @brief RTD316 Driver Interface Definition + * + * This file provides the interface to the RTD316 Dual + * serial port utility module. + */ + +/* + * COPYRIGHT (c) 1989-2012. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef _BSP_RTD_316_h +#define _BSP_RTD_316_h + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * This macro defines the standard device driver table entry for + * a console device driver. + */ +#define RTD316_DRIVER_TABLE_ENTRY \ + { rtd316_initialize, NULL, NULL, NULL, NULL, NULL } + +/** + * @brief RTD316 Initialization Entry Point + * + * This method initializes the RTD316 device driver. + * + * @param[in] major is the device driver major number + * @param[in] minor is the device driver minor number + * @param[in] arg is the parameters to this call + * + * @return This method returns RTEMS_SUCCESSFUL when + * the device driver is successfully initialized. + */ +rtems_device_driver rtd316_initialize( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *arg +); + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ |