a8a5b36dcdf05c7d31b134ec6cb6e0967cd64a32
* Copyright (c) 1992 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc.
* %sccs.include.redist.c%
* from: $Hdr: scc.h,v 4.300 91/06/09 06:44:56 root Rel41 $ SONY
* @(#)scc.h 7.2 (Berkeley) %G%
#define SCCVEC1 (SCCVEC0+16)
#define SCCVEC2 (SCCVEC0+32)
#define SCCVEC3 (SCCVEC0+48)
#define SCCVEC4 (SCCVEC0+64)
* SCC channel control block
typedef struct scc_channel
{
int scc_status
; /* channel status */
int scc_param
; /* channel parameter */
struct scc_reg
*scc_port
; /* port address */
char *scc_init
; /* initialize data */
int scc_vec
; /* interrupt vector */
#define OACTIVE 0x00000001 /* transmit in progress */
#define OSTOP 0x00000002 /* output stop request */
#define OFLUSH 0x00000004 /* output flush request */
#define OBUSY 0x00000008 /* output in use */
#define LINE_BREAK 0x00000010 /* line break interrupt */
#define ENABLE 0x00000020 /* receiver enable */
#define CHAN_ACTIVE 0x80000000 /* channel active */