153905Smckusick /* 2*63314Sbostic * Copyright (c) 1992, 1993 3*63314Sbostic * The Regents of the University of California. All rights reserved. 453905Smckusick * 553905Smckusick * This code is derived from software contributed to Berkeley by 653905Smckusick * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc. 753905Smckusick * 853905Smckusick * %sccs.include.redist.c% 953905Smckusick * 1053905Smckusick * from: $Hdr: sccparam.h,v 4.300 91/06/09 06:44:57 root Rel41 $ SONY 1153905Smckusick * 12*63314Sbostic * @(#)sccparam.h 8.1 (Berkeley) 06/11/93 1353905Smckusick */ 1453905Smckusick 1553905Smckusick /* 1653905Smckusick * SCC channel parameter 1753905Smckusick */ 1853905Smckusick 1953905Smckusick #define BAUD_RATE 0x0000000f 2053905Smckusick #define RXE 0x00000010 2153905Smckusick #define TXE 0x00000020 2253905Smckusick #define CHAR_SIZE 0x000000c0 2353905Smckusick #define C5BIT 0x00000000 2453905Smckusick #define C7BIT 0x00000040 2553905Smckusick #define C6BIT 0x00000080 2653905Smckusick #define C8BIT 0x000000c0 2753905Smckusick #define PARITY 0x00000100 2853905Smckusick #define EVEN 0x00000200 2953905Smckusick #define ODD 0x00000000 3053905Smckusick #define STOPBIT 0x00000c00 3153905Smckusick #define STOP1 0x00000400 3253905Smckusick #define STOP1_5 0x00000800 3353905Smckusick #define STOP2 0x00000c00 3453905Smckusick #define RTS 0x00001000 3553905Smckusick #define DTR 0x00002000 3653905Smckusick #define XBREAK 0x00004000 3753905Smckusick #define NOCHECK 0x00008000 3853905Smckusick 3953905Smckusick #define DCD 0x00010000 4053905Smckusick #define CTS 0x00020000 4153905Smckusick #define RI 0x00040000 4253905Smckusick #define DSR 0x00080000 4353905Smckusick #define RBREAK 0x00100000 4453905Smckusick #define SCC_PARITY_ERROR 0x00200000 4553905Smckusick #define OVERRUN_ERROR 0x00400000 4653905Smckusick #define FRAMING_ERROR 0x00800000 4753905Smckusick 4853905Smckusick #define AUTO_ENABLE 0x01000000 4953905Smckusick #define EXTCLK_ENABLE 0x02000000 5053905Smckusick 5153905Smckusick #define TERM_MODE 0x70000000 5253905Smckusick #define CJIS 0x10000000 5353905Smckusick #define CSJIS 0x20000000 5453905Smckusick #define CEUC 0x40000000 55