1 /****************************************************************************
3 ******* BRATES.H *******
5 ****************************************************************************
11 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31 ----------------------------------------------------------------------------
33 ----------------------------------------------------------------------------
35 ***************************************************************************/
39 /* static char * _brates_h_sccs = "@(#)brates.h 1.4"; */
42 /* List of baud rate defines. Most are borrowed from /usr/include/sys/termio.h
66 ** The following baudrates may or may not be defined
67 ** on various UNIX systems.
68 ** If they are not then we define them.
69 ** If they are then we do not define them ;-)
71 ** This is appalling that we use same definitions as UNIX
72 ** for our own download code as there is no garuntee that
73 ** B57600 will be defined as 0x11 by a UNIX system....
74 ** Arghhhhh!!!!!!!!!!!!!!
98 #define MAX_RATE B2000
100 struct baud_rate
/* Tag for baud rates */
102 /* short host_rate,*/ /* As passed by the driver */
103 short divisor
, /* The divisor */
104 prescaler
; /* The pre-scaler */