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