Go to the documentation of this file.
12 #include <asm/param.h>
21 #define SIGNATURE 0x87654321
22 #define SIG_OFFSET 0x1004
23 #define TRACE_OFFSET 0x1008
24 #define BUFFER_OFFSET 0x1800
27 #define IOBASE_MIN 0x180
28 #define IOBASE_MAX 0x3C0
29 #define IOBASE_OFFSET 0x20
31 #define FIFORD_OFFSET 0x0
32 #define FIFOWR_OFFSET 0x400
33 #define FIFOSTAT_OFFSET 0x1000
34 #define RESET_OFFSET 0x2800
35 #define PG0_OFFSET 0x3000
36 #define PG1_OFFSET 0x3400
37 #define PG2_OFFSET 0x3800
38 #define PG3_OFFSET 0x3C00
55 #define MAX_IO_REGS 17
58 #define RF_HAS_DATA 0x01
59 #define RF_QUART_FULL 0x02
60 #define RF_HALF_FULL 0x04
61 #define RF_NOT_FULL 0x08
62 #define WF_HAS_DATA 0x10
63 #define WF_QUART_FULL 0x20
64 #define WF_HALF_FULL 0x40
65 #define WF_NOT_FULL 0x80
68 #define SRAM_MIN 0xC0000
69 #define SRAM_MAX 0xEFFFF
70 #define SRAM_PAGESIZE 0x4000
73 #define BUFFER_SIZE 0x800
74 #define BUFFER_BASE BUFFER_OFFSET
76 #define BUFFERS_MAX 16
78 #define HDLC_PROTO 0x01
87 #define BRI_CHANNELS 2
88 #define BRI_BASEPG_VAL 0x98
89 #define BRI_MAGIC 0x60000
90 #define BRI_MEMSIZE 0x10000
91 #define BRI_PARTNO "72-029"
92 #define BRI_FEATURES ISDN_FEATURE_L2_HDLC | ISDN_FEATURE_L3_TRANS;
96 #define PRI_CHANNELS 23
97 #define PRI_BASEPG_VAL 0x88
98 #define PRI_MAGIC 0x20000
99 #define PRI_MEMSIZE 0x100000
100 #define PRI_PARTNO "72-030"
101 #define PRI_FEATURES ISDN_FEATURE_L2_HDLC | ISDN_FEATURE_L3_TRANS;
108 #define IS_VALID_CHANNEL(y, x) ((x > 0) && (x <= sc_adapter[y]->channels))