initial-freebsd-port-work-20010414
[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
10 /*
11  * File: afs_sysnames.h
12  *
13  * Macros defining AFS systypes and their associated IDs, and generating
14  * them from the value of SYS_NAME.
15  *
16  * Groups of 100 IDs have been allocated to each major system type.
17  */
18
19 #ifndef __AFS_SYSNAMES_INCL_ENV_
20 #define __AFS_SYSNAMES_INCL_ENV_ 1
21
22 #ifndef IGNORE_STDS_H
23 #include "stds.h"
24 #endif
25
26 #define SYS_NAME_ID_UNDEFINED              0
27
28         
29 #define SYS_NAME_ID_aux_10               200
30
31 #define SYS_NAME_ID_pmax_ul4             305
32 #define SYS_NAME_ID_pmax_ul42            307
33 #define SYS_NAME_ID_pmax_ul42a           308
34 #define SYS_NAME_ID_pmax_ul43            309
35 #define SYS_NAME_ID_pmax_ul43a           310
36
37 #define SYS_NAME_ID_hp700_ux90           407
38 #define SYS_NAME_ID_hp300_ux90           408
39 #define SYS_NAME_ID_hp800_ux90           409
40 #define SYS_NAME_ID_hp700_ux100          410
41 #define SYS_NAME_ID_hp800_ux100          411
42 #define SYS_NAME_ID_hp700_ux101          412
43 #define SYS_NAME_ID_hp800_ux101          413
44 #define SYS_NAME_ID_hp_ux102             414
45 #define SYS_NAME_ID_hp_ux110             415
46
47 #define SYS_NAME_ID_mac2_51              500    
48 #define SYS_NAME_ID_mac_aux10            501
49 #define SYS_NAME_ID_mac_mach51           502
50 #define SYS_NAME_ID_ppc_darwin_12        503
51 #define SYS_NAME_ID_ppc_darwin_13        504
52
53 #define SYS_NAME_ID_next_mach20          601
54 #define SYS_NAME_ID_next_mach30          602
55
56 #define SYS_NAME_ID_rs_aix32             701
57 #define SYS_NAME_ID_rs_aix41             702
58 #define SYS_NAME_ID_rs_aix42             703
59
60 #define SYS_NAME_ID_sun3_411             906
61 #define SYS_NAME_ID_sun3x_411            912
62 #define SYS_NAME_ID_sun4_411             917
63 #define SYS_NAME_ID_sun4c_411            919
64 #define SYS_NAME_ID_sun4c_51             920
65 #define SYS_NAME_ID_sun4m_51             921
66 #define SYS_NAME_ID_sun4c_52             923
67 #define SYS_NAME_ID_sun4m_52             924
68 /* For sun4_52 */
69 #define SYS_NAME_ID_sun4c_53             926
70 #define SYS_NAME_ID_sun4m_53             927
71 #define SYS_NAME_ID_sun4_52              928
72 #define SYS_NAME_ID_sun4_53              929
73 #define SYS_NAME_ID_sun4_54              930
74 #define SYS_NAME_ID_sun4m_54             931
75 #define SYS_NAME_ID_sun4c_54             932
76 #define SYS_NAME_ID_sunx86_54            933
77 #define SYS_NAME_ID_sun4x_55             934
78 #define SYS_NAME_ID_sun4x_56             935
79 #define SYS_NAME_ID_sunx86_56            936
80 #define SYS_NAME_ID_sunx86_55            937
81 #define SYS_NAME_ID_sun4x_57             938
82 #define SYS_NAME_ID_sun4x_58             939
83
84
85 #define SYS_NAME_ID_vax_ul4             1003
86 #define SYS_NAME_ID_vax_ul40            1004
87 #define SYS_NAME_ID_vax_ul43            1005
88
89 #define SYS_NAME_ID_sgi_50              1100
90 #define SYS_NAME_ID_sgi_51              1101
91 #define SYS_NAME_ID_sgi_52              1102
92 #define SYS_NAME_ID_sgi_53              1103
93 #define SYS_NAME_ID_sgi_61              1104
94 #define SYS_NAME_ID_sgi_62              1105
95 #define SYS_NAME_ID_sgi_63              1106
96 #define SYS_NAME_ID_sgi_64              1107
97 #define SYS_NAME_ID_sgi_65              1108
98
99 #define SYS_NAME_ID_alpha_osf1          1200
100 #define SYS_NAME_ID_alpha_osf20         1201
101 #define SYS_NAME_ID_alpha_osf30         1202
102 #define SYS_NAME_ID_alpha_osf32         1203
103 #define SYS_NAME_ID_alpha_osf32c        1204
104 #define SYS_NAME_ID_alpha_dux40         1205
105 #define SYS_NAME_ID_alpha_dux50         1206
106
107 #define SYS_NAME_ID_ncrx86_20           1300
108 #define SYS_NAME_ID_ncrx86_30           1301
109
110 #define SYS_NAME_ID_i386_nt35           1400
111
112 #define SYS_NAME_ID_i386_linux2         1500
113 #define SYS_NAME_ID_i386_linux22        1501
114 #define SYS_NAME_ID_i386_linux24        1502
115
116 #define SYS_NAME_ID_ppc_linux2          1600
117 #define SYS_NAME_ID_ppc_linux22         1601
118 #define SYS_NAME_ID_ppc_linux24         1602
119
120 #define SYS_NAME_ID_sparc_linux2        1700
121 #define SYS_NAME_ID_sparc_linux22       1701
122
123 #define SYS_NAME_ID_sparc64_linux2      1800
124 #define SYS_NAME_ID_sparc64_linux22     1801
125
126 #define SYS_NAME_ID_s390_linux2         1900
127 #define SYS_NAME_ID_s390_linux22        1901
128 #define SYS_NAME_ID_s390_linux24        1902
129
130 #define SYS_NAME_ID_alpha_linux_2       2000
131 #define SYS_NAME_ID_alpha_linux_22      2001
132 #define SYS_NAME_ID_alpha_linux_24      2002
133
134 #define SYS_NAME_ID_i386_fbsd_42        2100
135
136 /*
137  * Placeholder to keep system-wide standard flags since this file is included by all 
138  * files (i.e in afs/param.h)
139  */
140 #ifdef  notdef  
141 /* Should be enabled by src sites that are compiling afs in a kerberos environment
142  * (i.e. use their headers and libs) and want to use the realm-related kerberos code
143  */
144 #define AFS_ATHENA_STDENV               1   
145 #endif
146 #ifdef  AFS_ATHENA_STDENV
147 /* So that they don't get our own version of the kerb-related function  in libutil.a */
148 #define afs_krb_get_lrealm(r,n) krb_get_lrealm(r,n)
149 #define AFS_REALM_SZ            REALM_SZ
150 #endif
151
152 /* Should be enabled by src sites that are compiling afs without the kerb headers/libs
153  * but want to use the kerberos realm-related code
154  */
155 #define AFS_KERBREALM_ENV       1   
156 #ifdef  AFS_KERBREALM_ENV
157 #define AFS_REALM_SZ            64
158 #endif
159 #endif /* __AFS_SYSNAMES_INCL_ENV_ */