1 #define FEPCODESEG 0x0200L
2 #define FEPCODE 0x2000L
3 #define BIOSCODE 0xf800L
5 #define MISCGLOBAL 0x0C00L
8 #define PORTBASE 0x0C90L
17 /* Maximum Number of Boards supported */
18 #define MAX_DIGI_BOARDS 4
20 #define PCXX_NUM_TYPES 4
27 static char *board_desc
[] = {
34 static char *board_mem
[] = {
57 #define TXSTOPPED 0x01
59 #define EMPTYWAIT 0x04
60 #define RXSTOPPED 0x08
68 #define FEPTIMEOUT 200000
69 #define SERIAL_TYPE_NORMAL 1
70 #define SERIAL_TYPE_CALLOUT 2
71 #define PCXE_EVENT_HANGUP 1
72 #define PCXX_MAGIC 0x5c6df104L
75 /* --------- Board/channel information ---------- */
82 struct tty_struct
*tty
;
83 struct board_info
*board
;
84 volatile struct board_chan
*brdchan
;
85 volatile struct global_data
*mailbox
;
91 wait_queue_head_t open_wait
;
92 wait_queue_head_t close_wait
;
93 struct tq_struct tqueue
;
94 /* ------------ Async control data ------------- */
95 unchar modemfake
; /* Modem values to be forced */
96 unchar modem
; /* Force values */
98 unchar omodem
; /* FEP output modem status */
99 unchar imodem
; /* FEP input modem status */
114 /* ---------- Transmit/receive system ---------- */
121 unchar
*tmp_buf
; /* Temp buffer */
122 /* ---- Termios data ---- */
127 struct termios normal_termios
;
128 struct termios callout_termios
;
129 struct digi_struct digiext
;