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