XBSD: do not claim AFS_VM_RDWR_ENV
[pkg-k5-afs_openafs.git] / src / config / param.alpha_nbsd15.h
blobbf17abb8d4e8c4c5f2e8c879d37ee1afdbba26d8
1 #ifndef UKERNEL
2 /* This section for kernel libafs compiles only */
4 #ifndef AFS_PARAM_H
5 #define AFS_PARAM_H
7 #define __alpha 1
8 #define AFS_ALPHA_ENV 1
9 #define AFS_ALPHA_XBSD_ENV 1
11 #define SYS_NAME "alpha_nbsd15"
12 #define SYS_NAME_ID SYS_NAME_ID_alpha_nbsd15
14 #define AFSLITTLE_ENDIAN 1
16 #endif /* AFS_PARAM_H */
18 #else /* !defined(UKERNEL) */
20 /* This section for user space compiles only */
22 #ifndef AFS_PARAM_H
23 #define AFS_PARAM_H
26 #define UKERNEL 1 /* user space kernel */
27 #define AFS_ENV 1
28 #define AFS_VFSINCL_ENV 1
29 #define AFS_NBSD_ENV 1
30 #define AFS_NBSD15_ENV 1
31 #undef AFS_NONFSTRANS
32 #define AFS_NONFSTRANS 1
33 #define AFS_KERBEROS_ENV
35 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
36 #define AFS_SYSCALL 210
37 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
38 #define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
39 #include <afs/afs_sysnames.h>
41 #define AFS_USERSPACE_IP_ADDR 1
42 #define RXK_LISTENER_ENV 1
43 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
45 /* Machine / Operating system information */
46 #define SYS_NAME "i386_nbsd15"
47 #define SYS_NAME_ID SYS_NAME_ID_i386_nbsd15
48 #define AFSLITTLE_ENDIAN 1
49 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
50 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
52 #define afsio_iov uio_iov
53 #define afsio_iovcnt uio_iovcnt
54 #define afsio_offset uio_offset
55 #define afsio_seg uio_segflg
56 #define afsio_fmode uio_fmode
57 #define afsio_resid uio_resid
58 #define AFS_UIOSYS 1
59 #define AFS_UIOUSER UIO_USERSPACE
60 #define AFS_CLBYTES MCLBYTES
61 #define AFS_MINCHANGE 2
62 #define VATTR_NULL usr_vattr_null
64 #define AFS_DIRENT
65 #ifndef CMSERVERPREF
66 #define CMSERVERPREF
67 #endif
69 #include <limits.h>
70 #include <sys/param.h>
71 #include <sys/types.h>
72 #include <sys/mount.h>
73 #include <sys/fcntl.h>
74 #include <netinet/in.h>
75 #include <sys/uio.h>
76 #include <sys/socket.h>
78 #endif /* AFS_PARAM_H */
80 #endif /* !defined(UKERNEL) */