cachemgr-setuerror-ifdef-cleanup-20020827
[openafs.git] / src / config / param.sgi_65_usr.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 #ifndef AFS_PARAM_H
11 #define AFS_PARAM_H
12
13 #define AFS_VFS_ENV     1
14 /* Used only in vfsck code; is it needed any more???? */
15 #define RXK_LISTENER_ENV        1
16 #define AFS_USERSPACE_IP_ADDR   1
17 #define AFS_GCPAGS              0       /* if nonzero, garbage collect PAGs */
18
19 #define UKERNEL                 1       /* user space kernel */
20 #define AFS_GREEDY43_ENV        1       /* Used only in rx/rx_user.c */
21 #define AFS_ENV                 1
22 #define AFS_USR_SGI_ENV         1
23 #define AFS_USR_SGI62_ENV       1
24 #define AFS_USR_SGI63_ENV       1
25 #define AFS_USR_SGI64_ENV       1
26 #define AFS_USR_SGI65_ENV       1
27
28 #include <afs/afs_sysnames.h>
29
30 /*#define AFS_GLOBAL_SUNLOCK    1*/     /* For global locking */
31
32 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
33
34 #define AFS_PIOCTL    64+1000
35 #define AFS_SYSCALL   73+1000
36
37 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
38 #define AFS_MOUNT_AFS    1
39
40 /* Machine / Operating system information */
41 #define sgi_65          1
42 #define SYS_NAME        "sgi_65"
43 #define SYS_NAME_ID     SYS_NAME_ID_sgi_65
44 #define AFSBIG_ENDIAN   1
45 #define AFS_HAVE_FFS            1       /* Use system's ffs. */
46 #define AFS_HAVE_STATVFS        0       /* System doesn't support statvfs */
47
48 /* Extra kernel definitions (from kdefs file) */
49 #ifdef KERNEL
50 #define AFS_UIOFMODE            1       /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
51 #define AFS_SYSVLOCK            1       /* sys v locking supported */
52 /*#define       AFS_USEBUFFERS  1*/
53 #define afsio_iov       uio_iov
54 #define afsio_iovcnt    uio_iovcnt
55 #define afsio_offset    uio_offset
56 #define afsio_seg       uio_segflg
57 #define afsio_fmode     uio_fmode
58 #define afsio_resid     uio_resid
59 #define AFS_UIOSYS      1
60 #define AFS_UIOUSER     UIO_USERSPACE
61 #define AFS_CLBYTES     MCLBYTES
62 #define AFS_MINCHANGE   2
63 #define VATTR_NULL      usr_vattr_null
64 #endif /* KERNEL */
65 #define AFS_DIRENT      
66 #ifndef CMSERVERPREF
67 #define CMSERVERPREF
68 #endif
69 #define ROOTINO         UFSROOTINO
70
71 #endif /* AFS_PARAM_H */