mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Now using libchip instead of local precursor to libchip. Untested.
This commit is contained in:
1 parent
53b184719a
commit
d55af6dd1d
10 files changed
+86
-2274
No files matched your search
@@ -16,7 +16,7 @@ VPATH = @srcdir@
|
||||
PGM = ${ARCH}/console.rel
|
||||
|
||||
# C source names, if any, go here -- minus the .c
|
||||
C_PIECES = console ns16550 z85c30 i8042vga i8042 vga
|
||||
C_PIECES = console i8042vga i8042 ns16550cfg z85c30cfg vga
|
||||
C_FILES = $(C_PIECES:%=%.c)
|
||||
C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
|
||||
|
||||
|
||||
@@ -17,15 +17,32 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#include <libchip/serial.h>
|
||||
#include <libchip/mc68681.h>
|
||||
#include <libchip/z85c30.h>
|
||||
#include "i8042vga.h"
|
||||
#include "ns16550.h"
|
||||
#include "z85c30.h"
|
||||
|
||||
#include "ns16550cfg.h"
|
||||
#include "z85c30cfg.h"
|
||||
|
||||
#include <pci.h>
|
||||
|
||||
#define PMX1553_BUS 2
|
||||
#define PMX1553_SLOT 1
|
||||
|
||||
/*
|
||||
* Based on BSP configuration information decide whether to do polling IO
|
||||
* or interrupt driven IO.
|
||||
*/
|
||||
|
||||
#if (CONSOLE_USE_INTERRUPTS)
|
||||
#define NS16550_FUNCTIONS &ns16550_fns
|
||||
#define Z85C30_FUNCTIONS &z85c30_fns
|
||||
#else
|
||||
#define NS16550_FUNCTIONS &ns16550_fns_polled
|
||||
#define Z85C30_FUNCTIONS &z85c30_fns_polled
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Configuration specific probe routines
|
||||
*/
|
||||
@@ -73,6 +90,7 @@ static boolean config_z85c30_probe(int minor);
|
||||
console_tbl Console_Port_Tbl[] = {
|
||||
{
|
||||
"/dev/vga", /* sDeviceName */
|
||||
SERIAL_CUSTOM, /* deviceType */
|
||||
&i8042vga_fns, /* pDeviceFns */
|
||||
NULL, /* deviceProbe */
|
||||
NULL, /* pDeviceFlow */
|
||||
@@ -82,11 +100,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
I8042_CS, /* ulCtrlPort1 */
|
||||
0, /* ulCtrlPort2 */
|
||||
I8042_DATA, /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
PPCN_60X_IRQ_KBD /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/com1", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
NULL, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
16, /* ulMargin */
|
||||
@@ -95,11 +119,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
NS16550_PORT_A, /* ulCtrlPort1 */
|
||||
0, /* ulCtrlPort2 */
|
||||
NS16550_PORT_A, /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
PPCN_60X_IRQ_COM1 /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/ser1", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
config_PMX1553_probe, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
80, /* ulMargin */
|
||||
@@ -108,11 +138,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
PMX1553_BUS, /* PCI bus */ /* ulCtrlPort1 */
|
||||
PMX1553_SLOT, /* PCI slot */ /* ulCtrlPort2 */
|
||||
1, /* Channel 1-4 */ /* ulDataPort */
|
||||
NULL, /* getRegister */
|
||||
NULL, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
0 /* RS232 */ /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/ser2", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
config_PMX1553_probe, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
80, /* ulMargin */
|
||||
@@ -121,11 +157,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
PMX1553_BUS, /* PCI bus */ /* ulCtrlPort1 */
|
||||
PMX1553_SLOT, /* PCI slot */ /* ulCtrlPort2 */
|
||||
2, /* Channel 1-4 */ /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
0 /* RS232 */ /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/ser3", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
config_PMX1553_probe, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
96, /* ulMargin */
|
||||
@@ -134,11 +176,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
PMX1553_BUS, /* PCI bus */ /* ulCtrlPort1 */
|
||||
PMX1553_SLOT, /* PCI slot */ /* ulCtrlPort2 */
|
||||
3, /* Channel 1-4 */ /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
0 /* RS232 */ /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/ser4", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
config_PMX1553_probe, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
96, /* ulMargin */
|
||||
@@ -147,12 +195,18 @@ console_tbl Console_Port_Tbl[] = {
|
||||
PMX1553_BUS, /* PCI bus */ /* ulCtrlPort1 */
|
||||
PMX1553_SLOT, /* PCI slot */ /* ulCtrlPort2 */
|
||||
4, /* Channel 1-4 */ /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
0 /* RS232 */ /* ulIntVector */
|
||||
},
|
||||
#if !PPCN_60X_USE_DINK
|
||||
{
|
||||
"/dev/com2", /* sDeviceName */
|
||||
&ns16550_fns, /* pDeviceFns */
|
||||
SERIAL_NS16550, /* deviceType */
|
||||
NS16550_FUNCTIONS, /* pDeviceFns */
|
||||
NULL, /* deviceProbe */
|
||||
&ns16550_flow_RTSCTS, /* pDeviceFlow */
|
||||
16, /* ulMargin */
|
||||
@@ -161,12 +215,18 @@ console_tbl Console_Port_Tbl[] = {
|
||||
NS16550_PORT_B, /* ulCtrlPort1 */
|
||||
0, /* ulCtrlPort2 */
|
||||
NS16550_PORT_B, /* ulDataPort */
|
||||
Read_ns16550_register, /* getRegister */
|
||||
Write_ns16550_register, /* setRegister */
|
||||
NULL, /* getData */
|
||||
NULL, /* setData */
|
||||
0, /* ulClock */
|
||||
PPCN_60X_IRQ_COM2 /* ulIntVector */
|
||||
},
|
||||
#endif
|
||||
{
|
||||
"/dev/com3", /* sDeviceName */
|
||||
&z85c30_fns, /* pDeviceFns */
|
||||
SERIAL_Z85C30, /* deviceType */
|
||||
Z85C30_FUNCTIONS, /* pDeviceFns */
|
||||
config_z85c30_probe, /* deviceProbe */
|
||||
&z85c30_flow_RTSCTS, /* pDeviceFlow */
|
||||
16, /* ulMargin */
|
||||
@@ -175,11 +235,17 @@ console_tbl Console_Port_Tbl[] = {
|
||||
Z85C30_CTRL_A, /* ulCtrlPort1 */
|
||||
Z85C30_CTRL_A, /* ulCtrlPort2 */
|
||||
Z85C30_DATA_A, /* ulDataPort */
|
||||
Read_85c30_register, /* getRegister */
|
||||
Write_85c30_register, /* setRegister */
|
||||
Read_85c30_data, /* getData */
|
||||
Write_85c30_data, /* setData */
|
||||
0, /* ulClock */
|
||||
PPCN_60X_IRQ_COM3_4 /* ulIntVector */
|
||||
},
|
||||
{
|
||||
"/dev/com4", /* sDeviceName */
|
||||
&z85c30_fns, /* pDeviceFns */
|
||||
SERIAL_Z85C30, /* deviceType */
|
||||
Z85C30_FUNCTIONS, /* pDeviceFns */
|
||||
config_z85c30_probe, /* deviceProbe */
|
||||
&z85c30_flow_RTSCTS, /* pDeviceFlow */
|
||||
16, /* ulMargin */
|
||||
@@ -188,6 +254,11 @@ console_tbl Console_Port_Tbl[] = {
|
||||
Z85C30_CTRL_B, /* ulCtrlPort1 */
|
||||
Z85C30_CTRL_A, /* ulCtrlPort2 */
|
||||
Z85C30_DATA_B, /* ulDataPort */
|
||||
Read_85c30_register, /* getRegister */
|
||||
Write_85c30_register, /* setRegister */
|
||||
Read_85c30_data, /* getData */
|
||||
Write_85c30_data, /* setData */
|
||||
0, /* ulClock */
|
||||
PPCN_60X_IRQ_COM3_4 /* ulIntVector */
|
||||
}
|
||||
};
|
||||
|
||||
@@ -20,47 +20,9 @@
|
||||
*/
|
||||
|
||||
#include <ringbuf.h>
|
||||
|
||||
typedef struct _console_fns {
|
||||
boolean (*deviceProbe)(int minor);
|
||||
int (*deviceFirstOpen)(int major, int minor, void *arg);
|
||||
int (*deviceLastClose)(int major, int minor, void *arg);
|
||||
int (*deviceRead)(int minor);
|
||||
int (*deviceWrite)(int minor, const char *buf, int len);
|
||||
void (*deviceInitialize)(int minor);
|
||||
int (*deviceSetAttributes)(int minor, const struct termios *);
|
||||
void (*deviceWritePolled)(int minor, char cChar);
|
||||
int deviceOutputUsesInterrupts;
|
||||
} console_fns;
|
||||
|
||||
typedef struct _console_flow {
|
||||
int (*deviceStopRemoteTx)(int minor);
|
||||
int (*deviceStartRemoteTx)(int minor);
|
||||
} console_flow;
|
||||
|
||||
typedef struct _console_tbl {
|
||||
char *sDeviceName;
|
||||
console_fns *pDeviceFns;
|
||||
boolean (*deviceProbe)(int minor);
|
||||
console_flow *pDeviceFlow;
|
||||
unsigned32 ulMargin;
|
||||
unsigned32 ulHysteresis;
|
||||
void *pDeviceParams;
|
||||
unsigned32 ulCtrlPort1;
|
||||
unsigned32 ulCtrlPort2;
|
||||
unsigned32 ulDataPort;
|
||||
unsigned int ulIntVector;
|
||||
} console_tbl;
|
||||
|
||||
typedef struct _console_data {
|
||||
void *termios_data;
|
||||
volatile boolean bActive;
|
||||
volatile Ring_buffer_t TxBuffer;
|
||||
/*
|
||||
* This field may be used for any purpose required by the driver
|
||||
*/
|
||||
void *pDeviceContext;
|
||||
} console_data;
|
||||
#include <libchip/serial.h>
|
||||
#include <libchip/ns16550.h>
|
||||
#include <libchip/z85c30.h>
|
||||
|
||||
extern console_tbl Console_Port_Tbl[];
|
||||
extern console_data Console_Port_Data[];
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <rtems.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <libchip/serial.h>
|
||||
#include <ringbuf.h>
|
||||
|
||||
#include "console.h"
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* COPYRIGHT (c) 1998 by Radstone Technology
|
||||
*
|
||||
*
|
||||
* THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
|
||||
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
|
||||
* AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
|
||||
*
|
||||
* You are hereby granted permission to use, copy, modify, and distribute
|
||||
* this file, provided that this notice, plus the above copyright notice
|
||||
* and disclaimer, appears in all copies. Radstone Technology will provide
|
||||
* no support for this code.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _NS16550_H_
|
||||
#define _NS16550_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Driver function table
|
||||
*/
|
||||
extern console_fns ns16550_fns;
|
||||
extern console_fns ns16550_fns_polled;
|
||||
|
||||
/*
|
||||
* Flow control function tables
|
||||
*/
|
||||
extern console_flow ns16550_flow_RTSCTS;
|
||||
extern console_flow ns16550_flow_DTRCTS;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _NS16550_H_ */
|
||||
@@ -1,196 +0,0 @@
|
||||
/*
|
||||
* COPYRIGHT (c) 1998 by Radstone Technology
|
||||
*
|
||||
*
|
||||
* THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
|
||||
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
|
||||
* AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
|
||||
*
|
||||
* You are hereby granted permission to use, copy, modify, and distribute
|
||||
* this file, provided that this notice, plus the above copyright notice
|
||||
* and disclaimer, appears in all copies. Radstone Technology will provide
|
||||
* no support for this code.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _NS16550_P_H_
|
||||
#define _NS16550_P_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/*
|
||||
* Define serial port read registers structure.
|
||||
*/
|
||||
|
||||
typedef volatile struct _SP_READ_REGISTERS {
|
||||
unsigned char ReceiveBuffer;
|
||||
unsigned char InterruptEnable;
|
||||
unsigned char InterruptId;
|
||||
unsigned char LineControl;
|
||||
unsigned char ModemControl;
|
||||
unsigned char LineStatus;
|
||||
unsigned char ModemStatus;
|
||||
unsigned char ScratchPad;
|
||||
} SP_READ_REGISTERS, *PSP_READ_REGISTERS;
|
||||
|
||||
/*
|
||||
* Define serial port write registers structure.
|
||||
*/
|
||||
|
||||
typedef volatile struct _SP_WRITE_REGISTERS {
|
||||
unsigned char TransmitBuffer;
|
||||
unsigned char InterruptEnable;
|
||||
unsigned char FifoControl;
|
||||
unsigned char LineControl;
|
||||
unsigned char ModemControl;
|
||||
unsigned char Reserved1;
|
||||
unsigned char ModemStatus;
|
||||
unsigned char ScratchPad;
|
||||
} SP_WRITE_REGISTERS, *PSP_WRITE_REGISTERS;
|
||||
|
||||
/*
|
||||
* Define serial port interrupt enable register structure.
|
||||
*/
|
||||
|
||||
#define SP_INT_RX_ENABLE 0x01
|
||||
#define SP_INT_TX_ENABLE 0x02
|
||||
#define SP_INT_LS_ENABLE 0x04
|
||||
#define SP_INT_MS_ENABLE 0x08
|
||||
|
||||
/*
|
||||
* Define serial port interrupt id register structure.
|
||||
*/
|
||||
|
||||
typedef struct _SP_INTERRUPT_ID {
|
||||
unsigned char InterruptPending : 1;
|
||||
unsigned char Identification : 3;
|
||||
unsigned char Reserved1 : 2;
|
||||
unsigned char FifoEnabled : 2;
|
||||
} SP_INTERRUPT_ID, *PSP_INTERRUPT_ID;
|
||||
|
||||
/*
|
||||
* Define serial port fifo control register structure.
|
||||
*/
|
||||
#define SP_FIFO_ENABLE 0x01
|
||||
#define SP_FIFO_RXRST 0x02
|
||||
#define SP_FIFO_TXRST 0x04
|
||||
#define SP_FIFO_DMA 0x08
|
||||
#define SP_FIFO_RXLEVEL 0xc0
|
||||
|
||||
/*
|
||||
* Define serial port line control register structure.
|
||||
*/
|
||||
#define SP_LINE_SIZE 0x03
|
||||
#define SP_LINE_STOP 0x04
|
||||
#define SP_LINE_PAR 0x08
|
||||
#define SP_LINE_ODD 0x10
|
||||
#define SP_LINE_STICK 0x20
|
||||
#define SP_LINE_BREAK 0x40
|
||||
#define SP_LINE_DLAB 0x80
|
||||
|
||||
/*
|
||||
* Line status register character size definitions.
|
||||
*/
|
||||
#define FIVE_BITS 0x0 /* five bits per character */
|
||||
#define SIX_BITS 0x1 /* six bits per character */
|
||||
#define SEVEN_BITS 0x2 /* seven bits per character */
|
||||
#define EIGHT_BITS 0x3 /* eight bits per character */
|
||||
|
||||
/*
|
||||
* Line speed divisor definition.
|
||||
*/
|
||||
#define NS16550_Baud(baud_rate) (115200/baud_rate)
|
||||
|
||||
/*
|
||||
* Define serial port modem control register structure.
|
||||
*/
|
||||
#define SP_MODEM_DTR 0x01
|
||||
#define SP_MODEM_RTS 0x02
|
||||
#define SP_MODEM_IRQ 0x08
|
||||
#define SP_MODEM_LOOP 0x10
|
||||
#define SP_MODEM_DIV4 0x80
|
||||
|
||||
/*
|
||||
* Define serial port line status register structure.
|
||||
*/
|
||||
#define SP_LSR_RDY 0x01
|
||||
#define SP_LSR_EOVRUN 0x02
|
||||
#define SP_LSR_EPAR 0x04
|
||||
#define SP_LSR_EFRAME 0x08
|
||||
#define SP_LSR_BREAK 0x10
|
||||
#define SP_LSR_THOLD 0x20
|
||||
#define SP_LSR_TX 0x40
|
||||
#define SP_LSR_EFIFO 0x80
|
||||
|
||||
typedef struct _ns16550_context
|
||||
{
|
||||
unsigned8 ucModemCtrl;
|
||||
} ns16550_context;
|
||||
|
||||
/*
|
||||
* Driver functions
|
||||
*/
|
||||
static boolean ns16550_probe(int minor);
|
||||
|
||||
static void ns16550_init(int minor);
|
||||
|
||||
static int ns16550_open(
|
||||
int major,
|
||||
int minor,
|
||||
void * arg
|
||||
);
|
||||
|
||||
static int ns16550_close(
|
||||
int major,
|
||||
int minor,
|
||||
void * arg
|
||||
);
|
||||
|
||||
static void ns16550_write_polled(
|
||||
int minor,
|
||||
char cChar
|
||||
);
|
||||
|
||||
static void ns16550_assert_RTS(
|
||||
int minor
|
||||
);
|
||||
|
||||
static void ns16550_negate_RTS(
|
||||
int minor
|
||||
);
|
||||
|
||||
static void ns16550_assert_DTR(
|
||||
int minor
|
||||
);
|
||||
|
||||
static void ns16550_negate_DTR(
|
||||
int minor
|
||||
);
|
||||
|
||||
static void ns16550_initialize_interrupts(int minor);
|
||||
|
||||
static int ns16550_flush(int major, int minor, void *arg);
|
||||
|
||||
static int ns16550_write_support_int(
|
||||
int minor,
|
||||
const char *buf,
|
||||
int len
|
||||
);
|
||||
|
||||
static int ns16550_write_support_polled(
|
||||
int minor,
|
||||
const char *buf,
|
||||
int len
|
||||
);
|
||||
|
||||
static int ns16550_inbyte_nonblocking_polled(
|
||||
int minor
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _NS16550_P_H_ */
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,52 +0,0 @@
|
||||
/* z85c30.h
|
||||
*
|
||||
* This include file contains all console driver definations for the z85c30
|
||||
*
|
||||
* COPYRIGHT (c) 1998 by Radstone Technology
|
||||
*
|
||||
*
|
||||
* THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
|
||||
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
|
||||
* AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
|
||||
*
|
||||
* You are hereby granted permission to use, copy, modify, and distribute
|
||||
* this file, provided that this notice, plus the above copyright notice
|
||||
* and disclaimer, appears in all copies. Radstone Technology will provide
|
||||
* no support for this code.
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1997.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
* Copyright assigned to U.S. Government, 1994.
|
||||
*
|
||||
* The license and distribution terms for this file may in
|
||||
* the file LICENSE in this distribution or at
|
||||
* http://www.OARcorp.com/rtems/license.html.
|
||||
*
|
||||
* $Id:
|
||||
*/
|
||||
|
||||
#ifndef __Z85C30_H
|
||||
#define __Z85C30_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Driver function table
|
||||
*/
|
||||
extern console_fns z85c30_fns;
|
||||
extern console_fns z85c30_fns_polled;
|
||||
|
||||
/*
|
||||
* Flow control function tables
|
||||
*/
|
||||
extern console_flow z85c30_flow_RTSCTS;
|
||||
extern console_flow z85c30_flow_DTRCTS;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user