afsconfig-and-rcsid-all-around-20010705
[openafs.git] / src / config / param.rs_aix42_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 #ifdef KERNEL
20
21 #define UKERNEL                 1       /* user space kernel */
22 #define AFS_ENV                 1
23 #define AFS_USR_AIX_ENV         1
24 #define AFS_USR_AIX41_ENV       1
25 #define AFS_USR_AIX42_ENV       1
26
27 #else  /* KERNEL */
28
29 #define AFS_AIX_ENV             1
30 #define AFS_AIX32_ENV           1
31 #define AFS_AIX41_ENV           1
32 #define AFS_AIX42_ENV           1
33
34 #endif /* KERNEL */
35
36 #include <afs/afs_sysnames.h>
37
38 /*#define AFS_GLOBAL_SUNLOCK    1*/     /* For global locking */
39
40 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
41 #define AFS_SYSCALL             105
42
43 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
44 #define AFS_MOUNT_AFS    4
45
46 /* Machine / Operating system information */
47 #define sys_rs_aix42    1
48 #define SYS_NAME        "rs_aix42"
49 #define SYS_NAME_ID     SYS_NAME_ID_rs_aix42
50 #define AFSBIG_ENDIAN   1
51 #define AFS_HAVE_FFS            1       /* Use system's ffs. */
52 #define AFS_HAVE_STATVFS        0       /* System doesn't support statvfs */
53
54 /* Extra kernel definitions (from kdefs file) */
55 #ifdef KERNEL
56 #define AFS_UIOFMODE            1       /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
57 #define AFS_SYSVLOCK            1       /* sys v locking supported */
58 /*#define       AFS_USEBUFFERS  1*/
59 #define afsio_iov       uio_iov
60 #define afsio_iovcnt    uio_iovcnt
61 #define afsio_offset    uio_offset
62 #define afsio_seg       uio_segflg
63 #define afsio_fmode     uio_fmode
64 #define afsio_resid     uio_resid
65 #define AFS_UIOSYS      1
66 #define AFS_UIOUSER     UIO_USERSPACE
67 #define AFS_CLBYTES     MCLBYTES
68 #define AFS_MINCHANGE   2
69 #define VATTR_NULL      usr_vattr_null
70 #endif /* KERNEL */
71 #define AFS_DIRENT      
72 #ifndef CMSERVERPREF
73 #define CMSERVERPREF
74 #endif
75
76 #endif /* AFS_PARAM_H */