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
[] = {
58 #define TXSTOPPED 0x01
60 #define EMPTYWAIT 0x04
61 #define RXSTOPPED 0x08
69 #define FEPTIMEOUT 200000
70 #define SERIAL_TYPE_NORMAL 1
71 #define PCXE_EVENT_HANGUP 1
72 #define PCXX_MAGIC 0x5c6df104L
75 /* --------- Board/channel information ---------- */
80 struct tty_struct
*tty
;
81 struct board_info
*board
;
82 volatile struct board_chan
*brdchan
;
83 volatile struct global_data
*mailbox
;
89 wait_queue_head_t open_wait
;
90 wait_queue_head_t close_wait
;
91 struct tq_struct tqueue
;
92 /* ------------ Async control data ------------- */
93 unchar modemfake
; /* Modem values to be forced */
94 unchar modem
; /* Force values */
96 unchar omodem
; /* FEP output modem status */
97 unchar imodem
; /* FEP input modem status */
112 /* ---------- Transmit/receive system ---------- */
119 unchar
*tmp_buf
; /* Temp buffer */
120 struct semaphore tmp_buf_sem
;
121 /* ---- Termios data ---- */
126 struct digi_struct digiext
;