ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/param.h @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
rev   line source
ian@0 1 /*
ian@0 2 ** -----------------------------------------------------------------------------
ian@0 3 **
ian@0 4 ** Perle Specialix driver for Linux
ian@0 5 ** Ported from existing RIO Driver for SCO sources.
ian@0 6 *
ian@0 7 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
ian@0 8 *
ian@0 9 * This program is free software; you can redistribute it and/or modify
ian@0 10 * it under the terms of the GNU General Public License as published by
ian@0 11 * the Free Software Foundation; either version 2 of the License, or
ian@0 12 * (at your option) any later version.
ian@0 13 *
ian@0 14 * This program is distributed in the hope that it will be useful,
ian@0 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ian@0 17 * GNU General Public License for more details.
ian@0 18 *
ian@0 19 * You should have received a copy of the GNU General Public License
ian@0 20 * along with this program; if not, write to the Free Software
ian@0 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
ian@0 22 **
ian@0 23 ** Module : param.h
ian@0 24 ** SID : 1.2
ian@0 25 ** Last Modified : 11/6/98 11:34:12
ian@0 26 ** Retrieved : 11/6/98 11:34:21
ian@0 27 **
ian@0 28 ** ident @(#)param.h 1.2
ian@0 29 **
ian@0 30 ** -----------------------------------------------------------------------------
ian@0 31 */
ian@0 32
ian@0 33 #ifndef __rio_param_h__
ian@0 34 #define __rio_param_h__
ian@0 35
ian@0 36 #ifdef SCCS_LABELS
ian@0 37 static char *_param_h_sccs_ = "@(#)param.h 1.2";
ian@0 38 #endif
ian@0 39
ian@0 40
ian@0 41 /*
ian@0 42 ** the param command block, as used in OPEN and PARAM calls.
ian@0 43 */
ian@0 44
ian@0 45 struct phb_param {
ian@0 46 u8 Cmd; /* It is very important that these line up */
ian@0 47 u8 Cor1; /* with what is expected at the other end. */
ian@0 48 u8 Cor2; /* to confirm that you've got it right, */
ian@0 49 u8 Cor4; /* check with cirrus/cirrus.h */
ian@0 50 u8 Cor5;
ian@0 51 u8 TxXon; /* Transmit X-On character */
ian@0 52 u8 TxXoff; /* Transmit X-Off character */
ian@0 53 u8 RxXon; /* Receive X-On character */
ian@0 54 u8 RxXoff; /* Receive X-Off character */
ian@0 55 u8 LNext; /* Literal-next character */
ian@0 56 u8 TxBaud; /* Transmit baudrate */
ian@0 57 u8 RxBaud; /* Receive baudrate */
ian@0 58 };
ian@0 59
ian@0 60 #endif