1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19#include <linux/interrupt.h>
20
21
22#define DEBUG_ALL
23
24struct ttystatics {
25 struct termios tm;
26};
27
28extern int rio_debug;
29
30#define RIO_DEBUG_INIT 0x000001
31#define RIO_DEBUG_BOOT 0x000002
32#define RIO_DEBUG_CMD 0x000004
33#define RIO_DEBUG_CTRL 0x000008
34#define RIO_DEBUG_INTR 0x000010
35#define RIO_DEBUG_PARAM 0x000020
36#define RIO_DEBUG_ROUTE 0x000040
37#define RIO_DEBUG_TABLE 0x000080
38#define RIO_DEBUG_TTY 0x000100
39#define RIO_DEBUG_FLOW 0x000200
40#define RIO_DEBUG_MODEMSIGNALS 0x000400
41#define RIO_DEBUG_PROBE 0x000800
42#define RIO_DEBUG_CLEANUP 0x001000
43#define RIO_DEBUG_IFLOW 0x002000
44#define RIO_DEBUG_PFE 0x004000
45#define RIO_DEBUG_REC 0x008000
46#define RIO_DEBUG_SPINLOCK 0x010000
47#define RIO_DEBUG_DELAY 0x020000
48#define RIO_DEBUG_MOD_COUNT 0x040000
49
50
51
52
53
54
55
56
57#define RIO_B0 0x00
58#define RIO_B50 0x01
59#define RIO_B75 0x02
60#define RIO_B110 0x03
61#define RIO_B134 0x04
62#define RIO_B150 0x05
63#define RIO_B200 0x06
64#define RIO_B300 0x07
65#define RIO_B600 0x08
66#define RIO_B1200 0x09
67#define RIO_B1800 0x0A
68#define RIO_B2400 0x0B
69#define RIO_B4800 0x0C
70#define RIO_B9600 0x0D
71#define RIO_B19200 0x0E
72#define RIO_B38400 0x0F
73#define RIO_B56000 0x10
74#define RIO_B57600 0x11
75#define RIO_B64000 0x12
76#define RIO_B115200 0x13
77#define RIO_B2000 0x14
78