osconf: reduplicate systype stuff
[openafs.git] / src / config / afs_sysnames.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  *
9  * Portions Copyright (c) 2003 Apple Computer, Inc.
10  */
11
12 /*
13  * File: afs_sysnames.h
14  *
15  * Macros defining AFS systypes and their associated IDs, and generating
16  * them from the value of SYS_NAME.
17  *
18  * Groups of 100 IDs have been allocated to each major system type.
19  */
20
21 #ifndef __AFS_SYSNAMES_INCL_ENV_
22 #define __AFS_SYSNAMES_INCL_ENV_ 1
23
24 #ifndef IGNORE_STDS_H
25 #include "stds.h"
26 #endif
27
28 #define SYS_NAME_ID_UNDEFINED              0
29
30
31 #define SYS_NAME_ID_aux_10               200
32
33 #define SYS_NAME_ID_pmax_ul4             305
34 #define SYS_NAME_ID_pmax_ul42            307
35 #define SYS_NAME_ID_pmax_ul42a           308
36 #define SYS_NAME_ID_pmax_ul43            309
37 #define SYS_NAME_ID_pmax_ul43a           310
38
39 #define SYS_NAME_ID_hp700_ux90           407
40 #define SYS_NAME_ID_hp300_ux90           408
41 #define SYS_NAME_ID_hp800_ux90           409
42 #define SYS_NAME_ID_hp700_ux100          410
43 #define SYS_NAME_ID_hp800_ux100          411
44 #define SYS_NAME_ID_hp700_ux101          412
45 #define SYS_NAME_ID_hp800_ux101          413
46 #define SYS_NAME_ID_hp_ux102             414
47 #define SYS_NAME_ID_hp_ux110             415
48 #define SYS_NAME_ID_hp_ux11i             416
49 #define SYS_NAME_ID_ia64_hpux1122        417
50 #define SYS_NAME_ID_ia64_hpux1123        418
51 #define SYS_NAME_ID_hp_ux1123            419
52
53 #define SYS_NAME_ID_mac2_51              500
54 #define SYS_NAME_ID_mac_aux10            501
55 #define SYS_NAME_ID_mac_mach51           502
56 #define SYS_NAME_ID_ppc_darwin_12        503
57 #define SYS_NAME_ID_ppc_darwin_13        504
58 #define SYS_NAME_ID_ppc_darwin_14        505
59 #define SYS_NAME_ID_ppc_darwin_60        506
60 #define SYS_NAME_ID_ppc_darwin_70        507
61 #define SYS_NAME_ID_ppc_darwin_80        508
62 #define SYS_NAME_ID_x86_darwin_80        509
63 #define SYS_NAME_ID_ppc_darwin_90        510
64 #define SYS_NAME_ID_x86_darwin_90        511
65 #define SYS_NAME_ID_ppc_darwin_100       512
66 #define SYS_NAME_ID_ppc64_darwin_100     513
67 #define SYS_NAME_ID_x86_darwin_100       514
68 #define SYS_NAME_ID_amd64_darwin_100     515
69 #define SYS_NAME_ID_arm_darwin_100       516
70
71 #define SYS_NAME_ID_next_mach20          601
72 #define SYS_NAME_ID_next_mach30          602
73
74 #define SYS_NAME_ID_rs_aix32             701
75 #define SYS_NAME_ID_rs_aix41             702
76 #define SYS_NAME_ID_rs_aix42             703
77 #define SYS_NAME_ID_rs_aix51             704
78 #define SYS_NAME_ID_rs_aix43             705
79 #define SYS_NAME_ID_rs_aix52             706
80 #define SYS_NAME_ID_rs_aix53             707
81 #define SYS_NAME_ID_rs_aix61             708
82
83 #define SYS_NAME_ID_sun3_411             906
84 #define SYS_NAME_ID_sun3x_411            912
85 #define SYS_NAME_ID_sun4_411             917
86 #define SYS_NAME_ID_sun4c_411            919
87 #define SYS_NAME_ID_sun4c_51             920
88 #define SYS_NAME_ID_sun4m_51             921
89 #define SYS_NAME_ID_sun4c_52             923
90 #define SYS_NAME_ID_sun4m_52             924
91 /* For sun4_52 */
92 #define SYS_NAME_ID_sun4c_53             926
93 #define SYS_NAME_ID_sun4m_53             927
94 #define SYS_NAME_ID_sun4_52              928
95 #define SYS_NAME_ID_sun4_53              929
96 #define SYS_NAME_ID_sun4_54              930
97 #define SYS_NAME_ID_sun4m_54             931
98 #define SYS_NAME_ID_sun4c_54             932
99 #define SYS_NAME_ID_sunx86_54            933
100 #define SYS_NAME_ID_sun4x_55             934
101 #define SYS_NAME_ID_sun4x_56             935
102 #define SYS_NAME_ID_sunx86_56            936
103 #define SYS_NAME_ID_sunx86_55            937
104 #define SYS_NAME_ID_sun4x_57             938
105 #define SYS_NAME_ID_sun4x_58             939
106 #define SYS_NAME_ID_sun4x_59             940
107 #define SYS_NAME_ID_sun4x_510            941
108 #define SYS_NAME_ID_sun4x_511            942
109
110 /* Sigh. If I leave a gap here IBM will do this sequentially. If I don't
111    they won't allocate sunx86 IDs at all. So leave a gap and pray. */
112 #define SYS_NAME_ID_sunx86_57            950
113 #define SYS_NAME_ID_sunx86_58            951
114 #define SYS_NAME_ID_sunx86_59            952
115 #define SYS_NAME_ID_sunx86_510           953
116 #define SYS_NAME_ID_sunx86_511           954
117
118 #define SYS_NAME_ID_vax_ul4             1003
119 #define SYS_NAME_ID_vax_ul40            1004
120 #define SYS_NAME_ID_vax_ul43            1005
121
122 #define SYS_NAME_ID_sgi_50              1100
123 #define SYS_NAME_ID_sgi_51              1101
124 #define SYS_NAME_ID_sgi_52              1102
125 #define SYS_NAME_ID_sgi_53              1103
126 #define SYS_NAME_ID_sgi_61              1104
127 #define SYS_NAME_ID_sgi_62              1105
128 #define SYS_NAME_ID_sgi_63              1106
129 #define SYS_NAME_ID_sgi_64              1107
130 #define SYS_NAME_ID_sgi_65              1108
131
132 #define SYS_NAME_ID_alpha_osf1          1200
133 #define SYS_NAME_ID_alpha_osf20         1201
134 #define SYS_NAME_ID_alpha_osf30         1202
135 #define SYS_NAME_ID_alpha_osf32         1203
136 #define SYS_NAME_ID_alpha_osf32c        1204
137 #define SYS_NAME_ID_alpha_dux40         1205
138 #define SYS_NAME_ID_alpha_dux50         1206
139 #define SYS_NAME_ID_alpha_dux51         1207
140
141 #define SYS_NAME_ID_ncrx86_20           1300
142 #define SYS_NAME_ID_ncrx86_30           1301
143
144 #define SYS_NAME_ID_i386_nt35           1400
145 #define SYS_NAME_ID_i386_win95          1401
146 #define SYS_NAME_ID_i386_w2k            1402
147
148 #define SYS_NAME_ID_i386_linux2         1500
149 #define SYS_NAME_ID_i386_linux22        1501
150 #define SYS_NAME_ID_i386_linux24        1502
151 #define SYS_NAME_ID_i386_linux26        1503
152
153 #define SYS_NAME_ID_ppc_linux2          1600
154 #define SYS_NAME_ID_ppc_linux22         1601
155 #define SYS_NAME_ID_ppc_linux24         1602
156 #define SYS_NAME_ID_ppc_linux26         1603
157
158 #define SYS_NAME_ID_sparc_linux2        1700
159 #define SYS_NAME_ID_sparc_linux22       1701
160 #define SYS_NAME_ID_sparc_linux24       1702
161
162 #define SYS_NAME_ID_sparc64_linux2      1800
163 #define SYS_NAME_ID_sparc64_linux22     1801
164 #define SYS_NAME_ID_sparc64_linux24     1802
165 #define SYS_NAME_ID_sparc64_linux26     1803
166
167 #define SYS_NAME_ID_s390_linux2         1900
168 #define SYS_NAME_ID_s390_linux22        1901
169 #define SYS_NAME_ID_s390_linux24        1902
170 #define SYS_NAME_ID_s390_linux26        1907
171 #define SYS_NAME_ID_s390x_linux2         1903
172 #define SYS_NAME_ID_s390x_linux22        1904
173 #define SYS_NAME_ID_s390x_linux24        1905
174 #define SYS_NAME_ID_s390x_linux26        1906
175
176 #define SYS_NAME_ID_alpha_linux_2       2000
177 #define SYS_NAME_ID_alpha_linux_22      2001
178 #define SYS_NAME_ID_alpha_linux_24      2002
179 #define SYS_NAME_ID_alpha_linux_26      2003
180
181 #define SYS_NAME_ID_i386_fbsd_42        2100
182 #define SYS_NAME_ID_i386_fbsd_43        2101
183 #define SYS_NAME_ID_i386_fbsd_44        2102
184 #define SYS_NAME_ID_i386_fbsd_45        2103
185 #define SYS_NAME_ID_i386_fbsd_46        2103
186 #define SYS_NAME_ID_i386_fbsd_47        2104
187 #define SYS_NAME_ID_i386_fbsd_50        2105
188 #define SYS_NAME_ID_i386_fbsd_51        2106
189 #define SYS_NAME_ID_i386_fbsd_52        2107
190 #define SYS_NAME_ID_i386_fbsd_53        2108
191 #define SYS_NAME_ID_i386_fbsd_60        2112
192 #define SYS_NAME_ID_i386_fbsd_61        2113
193 #define SYS_NAME_ID_i386_fbsd_62        2114
194 #define SYS_NAME_ID_i386_fbsd_70        2115
195 #define SYS_NAME_ID_i386_fbsd_71        2116
196 #define SYS_NAME_ID_i386_fbsd_72        2130
197 #define SYS_NAME_ID_i386_fbsd_73        2131
198 #define SYS_NAME_ID_i386_fbsd_74        2132
199 #define SYS_NAME_ID_i386_fbsd_80        2117
200 #define SYS_NAME_ID_i386_fbsd_81        2118
201 #define SYS_NAME_ID_i386_fbsd_82        2119
202 #define SYS_NAME_ID_i386_fbsd_90        2120
203
204 #define SYS_NAME_ID_ia64_linux2         2200
205 #define SYS_NAME_ID_ia64_linux22        2201
206 #define SYS_NAME_ID_ia64_linux24        2202
207 #define SYS_NAME_ID_ia64_linux26        2203
208
209 #define SYS_NAME_ID_m68k_linux22        2301
210 #define SYS_NAME_ID_m68k_linux24        2302
211
212 #define SYS_NAME_ID_parisc_linux22      2401
213 #define SYS_NAME_ID_parisc_linux24      2402
214
215 #define SYS_NAME_ID_i386_nbsd15         2501
216 #define SYS_NAME_ID_alpha_nbsd15        2502
217 #define SYS_NAME_ID_sparc_nbsd15        2503
218 #define SYS_NAME_ID_sparc64_nbsd15      2504
219
220 #define SYS_NAME_ID_i386_nbsd16         2510
221 #define SYS_NAME_ID_alpha_nbsd16        2511
222 #define SYS_NAME_ID_sparc_nbsd16        2512
223 #define SYS_NAME_ID_sparc64_nbsd16      2513
224 #define SYS_NAME_ID_macppc_nbsd16       2514
225
226 #define SYS_NAME_ID_i386_nbsd20         2520
227 #define SYS_NAME_ID_alpha_nbsd20        2521
228 #define SYS_NAME_ID_sparc_nbsd20        2522
229 #define SYS_NAME_ID_sparc64_nbsd20      2523
230 #define SYS_NAME_ID_macppc_nbsd20       2524
231 #define SYS_NAME_ID_i386_nbsd21         2525
232 #define SYS_NAME_ID_i386_nbsd30         2526
233 #define SYS_NAME_ID_amd64_nbsd20        2527
234 #define SYS_NAME_ID_i386_nbsd40 2528
235 #define SYS_NAME_ID_i386_nbsd50 2529
236 #define SYS_NAME_ID_sparc64_nbsd30 2530
237 #define SYS_NAME_ID_sparc64_nbsd40 2531
238 #define SYS_NAME_ID_sparc64_nbsd50 2532
239 #define SYS_NAME_ID_amd64_nbsd30 2533
240 #define SYS_NAME_ID_amd64_nbsd40 2534
241 #define SYS_NAME_ID_amd64_nbsd50 2535
242 #define SYS_NAME_ID_alpha_nbsd30 2536
243 #define SYS_NAME_ID_alpha_nbsd40 2537
244 #define SYS_NAME_ID_alpha_nbsd50 2538
245 #define SYS_NAME_ID_macppc_nbsd30 2539
246 #define SYS_NAME_ID_macppc_nbsd40 2540
247 #define SYS_NAME_ID_macppc_nbsd50 2541
248
249 #define SYS_NAME_ID_i386_obsd31         2600
250 #define SYS_NAME_ID_i386_obsd32         2601
251 #define SYS_NAME_ID_i386_obsd33         2602
252 #define SYS_NAME_ID_i386_obsd34         2603
253 #define SYS_NAME_ID_i386_obsd35         2604
254 #define SYS_NAME_ID_i386_obsd36         2605
255 #define SYS_NAME_ID_i386_obsd37         2606
256 #define SYS_NAME_ID_i386_obsd38         2607
257 #define SYS_NAME_ID_i386_obsd39         2608
258 #define SYS_NAME_ID_i386_obsd40         2609
259 #define SYS_NAME_ID_i386_obsd41         2610
260 #define SYS_NAME_ID_i386_obsd42         2611
261 #define SYS_NAME_ID_i386_obsd43         2612
262 #define SYS_NAME_ID_i386_obsd44         2613
263 #define SYS_NAME_ID_i386_obsd45         2614
264 #define SYS_NAME_ID_i386_obsd46         2615
265 #define SYS_NAME_ID_i386_obsd47         2616
266 #define SYS_NAME_ID_i386_obsd48         2617
267
268 #define SYS_NAME_ID_amd64_linux2        2700
269 #define SYS_NAME_ID_amd64_linux22       2701
270 #define SYS_NAME_ID_amd64_linux24       2702
271 #define SYS_NAME_ID_amd64_linux26       2703
272
273 #define SYS_NAME_ID_i386_umlinux2       2800
274 #define SYS_NAME_ID_i386_umlinux22      2801
275 #define SYS_NAME_ID_i386_umlinux24      2802
276 #define SYS_NAME_ID_i386_umlinux26      2803
277
278 #define SYS_NAME_ID_ppc64_linux2        2900
279 #define SYS_NAME_ID_ppc64_linux22       2901
280 #define SYS_NAME_ID_ppc64_linux24       2902
281 #define SYS_NAME_ID_ppc64_linux26       2903
282
283 #define SYS_NAME_ID_amd64_fbsd_53       3008
284 #define SYS_NAME_ID_amd64_fbsd_70       3009
285 #define SYS_NAME_ID_amd64_fbsd_71       3010
286 #define SYS_NAME_ID_amd64_fbsd_72       3030
287 #define SYS_NAME_ID_amd64_fbsd_73       3031
288 #define SYS_NAME_ID_amd64_fbsd_74       3032
289 #define SYS_NAME_ID_amd64_fbsd_80       3011
290 #define SYS_NAME_ID_amd64_fbsd_81       3012
291 #define SYS_NAME_ID_amd64_fbsd_82       3013
292 #define SYS_NAME_ID_amd64_fbsd_90       3020
293
294 #define SYS_NAME_ID_amd64_w2k           3400
295
296 #define SYS_NAME_ID_i64_w2k             3500
297
298 #define SYS_NAME_ID_arm_linux2          3800
299 #define SYS_NAME_ID_arm_linux22         3801
300 #define SYS_NAME_ID_arm_linux24         3802
301 #define SYS_NAME_ID_arm_linux26         3803
302
303 #define SYS_NAME_ID_i386_dfbsd_22        3900
304 #define SYS_NAME_ID_i386_dfbsd_23        3901
305 #define SYS_NAME_ID_i386_dfbsd_24        3902
306 #define SYS_NAME_ID_i386_dfbsd_25        3903
307 #define SYS_NAME_ID_i386_dfbsd_26        3904
308 #define SYS_NAME_ID_i386_dfbsd_27        3905
309
310 #define SYS_NAME_ID_amd64_obsd36        4005
311 #define SYS_NAME_ID_amd64_obsd37        4006
312 #define SYS_NAME_ID_amd64_obsd38        4007
313 #define SYS_NAME_ID_amd64_obsd39        4008
314 #define SYS_NAME_ID_amd64_obsd40        4009
315 #define SYS_NAME_ID_amd64_obsd41        4010
316 #define SYS_NAME_ID_amd64_obsd42        4011
317 #define SYS_NAME_ID_amd64_obsd43        4012
318 #define SYS_NAME_ID_amd64_obsd44        4013
319 #define SYS_NAME_ID_amd64_obsd45        4014
320 #define SYS_NAME_ID_amd64_obsd46        4015
321 #define SYS_NAME_ID_amd64_obsd47        4016
322 #define SYS_NAME_ID_amd64_obsd48        4017
323
324 /*
325  * Placeholder to keep system-wide standard flags since this file is included by all
326  * files (i.e in afs/param.h)
327  */
328 #ifdef  notdef
329 /* Should be enabled by src sites that are compiling afs in a kerberos environment
330  * (i.e. use their headers and libs) and want to use the realm-related kerberos code
331  */
332 #define AFS_ATHENA_STDENV               1
333 #endif
334 #ifdef  AFS_ATHENA_STDENV
335 /* So that they don't get our own version of the kerb-related function  in libutil.a */
336 #define afs_krb_get_lrealm(r,n) krb_get_lrealm(r,n)
337 #define AFS_REALM_SZ            REALM_SZ
338 #endif
339
340 /* Should be enabled by src sites that are compiling afs without the kerb headers/libs
341  * but want to use the kerberos realm-related code
342  */
343 #define AFS_KERBREALM_ENV       1
344 #ifdef  AFS_KERBREALM_ENV
345 #define AFS_REALM_SZ            64
346 #endif
347 /* Specifies the number of equivalent local realm names */
348 #define AFS_NUM_LREALMS 4
349 #endif /* __AFS_SYSNAMES_INCL_ENV_ */