3 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef _cirrusprots_h
21 #define _cirrusprots_h
24 extern void cd1400_reset ( int uart) ;
25 extern void cd1400_init ( int uart ) ;
26 extern void ccr_wait ( int priority, int port) ;
27 extern void cd1400_txstart( int port) ;
28 extern void cd1400_rxstart ( int port) ;
29 extern void command_acknowledge ( PHB *port_header ) ;
30 extern int close_port ( ushort port, PHB *port_header, ushort preemptive, int pseudo) ;
31 extern void command_preemptive ( PKT *packet) ;
32 extern void rup_service ( void ) ;
33 extern ushort GetModemLines(struct PHB *, register short *);
34 extern void cd1400_intr (Process *cirrus_p, ushort *RtaType) ;
35 extern void cd1400_mdint ( short port) ;
36 extern void cd1400_rxint ( short port) ;
37 extern void cd1400_rxexcept ( short port) ;
38 extern void cd1400_txdata ( short port, PHB *port_header, PKT *packet) ;
39 extern void cd1400_fast_clock(void);
40 extern void cd1400_map_baud ( ushort host_rate, ushort *prescaler, ushort *divisor) ;
41 extern void cd1400_modem ( ushort port, ushort way) ;
42 extern void cd1400_txcommand ( short port, PHB *port_header, PKT *packet) ;
43 extern void cd1400_txint ( int port) ;
44 void Rprintf( char *RIOPrBuf, char *Str, ... );
46 void debug_packet(PKT *pkt, int option, char *string, int channel);
47 #endif /* defined(DCIRRUS) */
51 extern void wflush (PHB *);
52 extern void command_preemptive (PKT *);
55 #endif /* _cirrusprots_h */