bsd-new-releases-20040727
[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
52 #define SYS_NAME_ID_mac2_51              500
53 #define SYS_NAME_ID_mac_aux10            501
54 #define SYS_NAME_ID_mac_mach51           502
55 #define SYS_NAME_ID_ppc_darwin_12        503
56 #define SYS_NAME_ID_ppc_darwin_13        504
57 #define SYS_NAME_ID_ppc_darwin_14        505
58 #define SYS_NAME_ID_ppc_darwin_60        506
59 #define SYS_NAME_ID_ppc_darwin_70        507
60
61 #define SYS_NAME_ID_next_mach20          601
62 #define SYS_NAME_ID_next_mach30          602
63
64 #define SYS_NAME_ID_rs_aix32             701
65 #define SYS_NAME_ID_rs_aix41             702
66 #define SYS_NAME_ID_rs_aix42             703
67 #define SYS_NAME_ID_rs_aix51             704
68 #define SYS_NAME_ID_rs_aix43             705
69 #define SYS_NAME_ID_rs_aix52             706
70
71 #define SYS_NAME_ID_sun3_411             906
72 #define SYS_NAME_ID_sun3x_411            912
73 #define SYS_NAME_ID_sun4_411             917
74 #define SYS_NAME_ID_sun4c_411            919
75 #define SYS_NAME_ID_sun4c_51             920
76 #define SYS_NAME_ID_sun4m_51             921
77 #define SYS_NAME_ID_sun4c_52             923
78 #define SYS_NAME_ID_sun4m_52             924
79 /* For sun4_52 */
80 #define SYS_NAME_ID_sun4c_53             926
81 #define SYS_NAME_ID_sun4m_53             927
82 #define SYS_NAME_ID_sun4_52              928
83 #define SYS_NAME_ID_sun4_53              929
84 #define SYS_NAME_ID_sun4_54              930
85 #define SYS_NAME_ID_sun4m_54             931
86 #define SYS_NAME_ID_sun4c_54             932
87 #define SYS_NAME_ID_sunx86_54            933
88 #define SYS_NAME_ID_sun4x_55             934
89 #define SYS_NAME_ID_sun4x_56             935
90 #define SYS_NAME_ID_sunx86_56            936
91 #define SYS_NAME_ID_sunx86_55            937
92 #define SYS_NAME_ID_sun4x_57             938
93 #define SYS_NAME_ID_sun4x_58             939
94 #define SYS_NAME_ID_sun4x_59             940
95 #define SYS_NAME_ID_sun4x_510            941
96
97 /* Sigh. If I leave a gap here IBM will do this sequentially. If I don't
98    they won't allocate sunx86 IDs at all. So leave a gap and pray. */
99 #define SYS_NAME_ID_sunx86_57            950
100 #define SYS_NAME_ID_sunx86_58            951
101 #define SYS_NAME_ID_sunx86_59            952
102 #define SYS_NAME_ID_sunx86_510           953
103
104 #define SYS_NAME_ID_vax_ul4             1003
105 #define SYS_NAME_ID_vax_ul40            1004
106 #define SYS_NAME_ID_vax_ul43            1005
107
108 #define SYS_NAME_ID_sgi_50              1100
109 #define SYS_NAME_ID_sgi_51              1101
110 #define SYS_NAME_ID_sgi_52              1102
111 #define SYS_NAME_ID_sgi_53              1103
112 #define SYS_NAME_ID_sgi_61              1104
113 #define SYS_NAME_ID_sgi_62              1105
114 #define SYS_NAME_ID_sgi_63              1106
115 #define SYS_NAME_ID_sgi_64              1107
116 #define SYS_NAME_ID_sgi_65              1108
117
118 #define SYS_NAME_ID_alpha_osf1          1200
119 #define SYS_NAME_ID_alpha_osf20         1201
120 #define SYS_NAME_ID_alpha_osf30         1202
121 #define SYS_NAME_ID_alpha_osf32         1203
122 #define SYS_NAME_ID_alpha_osf32c        1204
123 #define SYS_NAME_ID_alpha_dux40         1205
124 #define SYS_NAME_ID_alpha_dux50         1206
125 #define SYS_NAME_ID_alpha_dux51         1207
126
127 #define SYS_NAME_ID_ncrx86_20           1300
128 #define SYS_NAME_ID_ncrx86_30           1301
129
130 #define SYS_NAME_ID_i386_nt35           1400
131 #define SYS_NAME_ID_i386_win95  1401
132
133 #define SYS_NAME_ID_i386_linux2         1500
134 #define SYS_NAME_ID_i386_linux22        1501
135 #define SYS_NAME_ID_i386_linux24        1502
136 #define SYS_NAME_ID_i386_linux26        1503
137
138 #define SYS_NAME_ID_ppc_linux2          1600
139 #define SYS_NAME_ID_ppc_linux22         1601
140 #define SYS_NAME_ID_ppc_linux24         1602
141
142 #define SYS_NAME_ID_sparc_linux2        1700
143 #define SYS_NAME_ID_sparc_linux22       1701
144 #define SYS_NAME_ID_sparc_linux24       1702
145
146 #define SYS_NAME_ID_sparc64_linux2      1800
147 #define SYS_NAME_ID_sparc64_linux22     1801
148 #define SYS_NAME_ID_sparc64_linux24     1802
149
150 #define SYS_NAME_ID_s390_linux2         1900
151 #define SYS_NAME_ID_s390_linux22        1901
152 #define SYS_NAME_ID_s390_linux24        1902
153
154 #define SYS_NAME_ID_alpha_linux_2       2000
155 #define SYS_NAME_ID_alpha_linux_22      2001
156 #define SYS_NAME_ID_alpha_linux_24      2002
157
158 #define SYS_NAME_ID_i386_fbsd_42        2100
159 #define SYS_NAME_ID_i386_fbsd_43        2101
160 #define SYS_NAME_ID_i386_fbsd_44        2102
161 #define SYS_NAME_ID_i386_fbsd_45        2103
162 #define SYS_NAME_ID_i386_fbsd_46        2103
163 #define SYS_NAME_ID_i386_fbsd_47        2104
164 #define SYS_NAME_ID_i386_fbsd_50        2105
165 #define SYS_NAME_ID_i386_fbsd_51        2106
166 #define SYS_NAME_ID_i386_fbsd_52        2107
167 #define SYS_NAME_ID_i386_fbsd_53        2108
168
169 #define SYS_NAME_ID_ia64_linux2         2200
170 #define SYS_NAME_ID_ia64_linux22        2201
171 #define SYS_NAME_ID_ia64_linux24        2202
172
173 #define SYS_NAME_ID_m68k_linux22        2301
174 #define SYS_NAME_ID_m68k_linux24        2302
175
176 #define SYS_NAME_ID_parisc_linux22      2401
177 #define SYS_NAME_ID_parisc_linux24      2402
178
179 #define SYS_NAME_ID_i386_nbsd15         2501
180 #define SYS_NAME_ID_alpha_nbsd15        2502
181 #define SYS_NAME_ID_sparc_nbsd15        2503
182 #define SYS_NAME_ID_sparc64_nbsd15      2504
183
184 #define SYS_NAME_ID_i386_nbsd16         2510
185 #define SYS_NAME_ID_alpha_nbsd16        2511
186 #define SYS_NAME_ID_sparc_nbsd16        2512
187 #define SYS_NAME_ID_sparc64_nbsd16      2513
188 #define SYS_NAME_ID_macppc_nbsd16       2514
189
190 #define SYS_NAME_ID_i386_nbsd20         2520
191 #define SYS_NAME_ID_alpha_nbsd20        2521
192 #define SYS_NAME_ID_sparc_nbsd20        2522
193 #define SYS_NAME_ID_sparc64_nbsd20      2523
194 #define SYS_NAME_ID_macppc_nbsd20       2524
195
196 #define SYS_NAME_ID_i386_obsd31         2600
197 #define SYS_NAME_ID_i386_obsd32         2601
198 #define SYS_NAME_ID_i386_obsd33         2602
199 #define SYS_NAME_ID_i386_obsd34         2603
200 #define SYS_NAME_ID_i386_obsd35         2604
201 #define SYS_NAME_ID_i386_obsd36         2605
202
203 #define SYS_NAME_ID_amd64_linux2        2700
204 #define SYS_NAME_ID_amd64_linux22       2701
205 #define SYS_NAME_ID_amd64_linux24       2702
206
207 #define SYS_NAME_ID_i386_umlinux2       2800
208 #define SYS_NAME_ID_i386_umlinux22      2801
209 #define SYS_NAME_ID_i386_umlinux24      2802
210
211 #define SYS_NAME_ID_ppc64_linux2        2900
212 #define SYS_NAME_ID_ppc64_linux22       2901
213 #define SYS_NAME_ID_ppc64_linux24       2902
214
215 /*
216  * Placeholder to keep system-wide standard flags since this file is included by all 
217  * files (i.e in afs/param.h)
218  */
219 #ifdef  notdef
220 /* Should be enabled by src sites that are compiling afs in a kerberos environment
221  * (i.e. use their headers and libs) and want to use the realm-related kerberos code
222  */
223 #define AFS_ATHENA_STDENV               1
224 #endif
225 #ifdef  AFS_ATHENA_STDENV
226 /* So that they don't get our own version of the kerb-related function  in libutil.a */
227 #define afs_krb_get_lrealm(r,n) krb_get_lrealm(r,n)
228 #define AFS_REALM_SZ            REALM_SZ
229 #endif
230
231 /* Should be enabled by src sites that are compiling afs without the kerb headers/libs
232  * but want to use the kerberos realm-related code
233  */
234 #define AFS_KERBREALM_ENV       1
235 #ifdef  AFS_KERBREALM_ENV
236 #define AFS_REALM_SZ            64
237 #endif
238 #endif /* __AFS_SYSNAMES_INCL_ENV_ */