2 * Copyright 2003 Digi International (www.digi.com)
3 * Scott H Kilau <Scott_Kilau at digi dot com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
12 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 * PURPOSE. See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 *****************************************************************************
21 * dgap_conf.h - Header file for installations and parse files.
23 * $Id: dgap_conf.h,v 1.1 2009/10/23 14:01:57 markh Exp $
25 * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!!
31 #define NULLNODE 0 /* header node, not used */
32 #define BNODE 1 /* Board node */
33 #define LNODE 2 /* Line node */
34 #define CNODE 3 /* Concentrator node */
35 #define MNODE 4 /* EBI Module node */
36 #define TNODE 5 /* tty name prefix node */
37 #define CUNODE 6 /* cu name prefix (non-SCO) */
38 #define PNODE 7 /* trans. print prefix node */
39 #define JNODE 8 /* maJor number node */
40 #define ANODE 9 /* altpin */
41 #define TSNODE 10 /* tty structure size */
42 #define CSNODE 11 /* channel structure size */
43 #define BSNODE 12 /* board structure size */
44 #define USNODE 13 /* unit schedule structure size */
45 #define FSNODE 14 /* f2200 structure size */
46 #define VSNODE 15 /* size of VPIX structures */
47 #define INTRNODE 16 /* enable interrupt */
49 /* Enumeration of tokens */
54 #define EPCFS 11 /* start of EPC family definitions */
71 #define EPCFE 25 /* end of EPC family definitions */
82 #define AVANFS 42 /* start of Avanstar family definitions */
85 #define AVANFE 43 /* end of Avanstar family definitions */
87 #define DA2000FS 44 /* start of AccelePort 2000 family definitions */
88 #define DA22 44 /* AccelePort 2002 */
89 #define DA24 45 /* AccelePort 2004 */
90 #define DA28 46 /* AccelePort 2008 */
91 #define DA216 47 /* AccelePort 2016 */
92 #define DAR4 48 /* AccelePort RAS 4 port */
93 #define DAR8 49 /* AccelePort RAS 8 port */
94 #define DDR24 50 /* DataFire RAS 24 port */
95 #define DDR30 51 /* DataFire RAS 30 port */
96 #define DDR48 52 /* DataFire RAS 48 port */
97 #define DDR60 53 /* DataFire RAS 60 port */
98 #define DA2000FE 53 /* end of AccelePort 2000/RAS family definitions */
100 #define PCXRFS 106 /* start of PCXR family definitions */
105 #define APORT4_920I 110
106 #define APORT8_920I 111
107 #define APORT4_920P 112
108 #define APORT8_920P 113
109 #define APORT2_920P 114
110 #define PCXRFE 117 /* end of PCXR family definitions */
127 /* The following tokens can appear in multiple places */
154 #define TOTAL_BOARD 2
155 #define CURRENT_BRD 4
158 #define MEM_ADDRESS 10
160 #define FIELDS_PER_PAGE 18
173 #define MAX_FIELD 512
185 #define ONETONINE "123456789"
186 #define ALL "1234567890"
196 char type; /* Board Type */
197 short port; /* I/O Address */
198 char *portstr; /* I/O Address in string */
199 long addr; /* Memory Address */
200 char *addrstr; /* Memory Address in string */
201 long pcibus; /* PCI BUS */
202 char *pcibusstr; /* PCI BUS in string */
203 long pcislot; /* PCI SLOT */
204 char *pcislotstr; /* PCI SLOT in string */
205 char nport; /* Number of Ports */
206 char *id; /* tty id */
207 int start; /* start of tty counting */
208 char *method; /* Install method */
220 char conc1; /* total concs in line1 */
221 char conc2; /* total concs in line2 */
222 char module1; /* total modules for line1 */
223 char module2; /* total modules for line2 */
224 char *status; /* config status */
225 char *dimstatus; /* Y/N */
226 int status_index; /* field pointer */