1 /* Copyright (C) 1998 by Transarc Corporation */
4 #ifndef _PARAM_USR_SPARC_LINUX22_H_
5 #define _PARAM_USR_SPARC_LINUX22_H_
7 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
8 * it's a judgment call. If something is obviously sparc specific, use that
9 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
10 * in the sysname is the current version of the client. This takes into
11 * account the perferred OS user space configuration as well as the kernel.
14 #define UKERNEL 1 /* user space kernel */
16 #define AFS_USR_LINUX20_ENV 1
17 #define AFS_USR_LINUX22_ENV 1
18 #define AFS_NONFSTRANS 1
20 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
21 #define AFS_SYSCALL 227
22 #define AFS_64BIT_IOPS_ENV 1
23 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
24 #include <afs/afs_sysnames.h>
26 #define AFS_USERSPACE_IP_ADDR 1
27 #define RXK_LISTENER_ENV 1
28 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
31 /* Machine / Operating system information */
32 #define SYS_NAME "sparc_linux22"
33 #define SYS_NAME_ID SYS_NAME_ID_sparc_linux22
34 #define AFSBIG_ENDIAN 1
35 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
36 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
37 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
39 #define afsio_iov uio_iov
40 #define afsio_iovcnt uio_iovcnt
41 #define afsio_offset uio_offset
42 #define afsio_seg uio_segflg
43 #define afsio_fmode uio_fmode
44 #define afsio_resid uio_resid
46 #define AFS_UIOUSER UIO_USERSPACE
47 #define AFS_CLBYTES MCLBYTES
48 #define AFS_MINCHANGE 2
49 #define VATTR_NULL usr_vattr_null
56 #endif /* _PARAM_USR_SPARC_LINUX22_H_ */