e3e2ce05341851bfc660a15ee1fc674d9aecf7e5
[openafs.git] / src / config / param.sunx86_54.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 _PARAM_SUN4C_51_H_
11 #define _PARAM_SUN4C_51_H_
12
13 #include <afs/afs_sysnames.h>
14
15 #define AFS_VFS_ENV     1
16 /* Used only in vfsck/* code; is it needed any more???? */
17
18 #define AFS_VFSINCL_ENV 1       /* NOBODY uses this.... */
19 #define AFS_GREEDY43_ENV        1       /* Used only in rx/rx_user.c */
20 #define AFS_ENV                 1
21 #define AFS_SUN_ENV             1
22 #define AFS_SUN5_ENV            1
23 #define AFS_SUN52_ENV           1
24 #define AFS_SUN53_ENV           1
25 #define AFS_SUN54_ENV           1
26 #define AFS_X86_ENV             1
27
28 #include <afs/afs_sysnames.h>
29
30 #define AFS_GLOBAL_SUNLOCK      1       /* For global locking */
31
32 #define AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
33 #define AFS_SYSCALL             105
34
35 /* File system entry (used if mount.h doesn't define MOUNT_AFS */
36 #define AFS_MOUNT_AFS    "afs"
37
38 /* Machine / Operating system information */
39 #define sys_sunx86_54   1
40 #define SYS_NAME        "sunx86_54"
41 #define SYS_NAME_ID     SYS_NAME_ID_sunx86_54
42 #define AFS_HAVE_STATVFS 1      /* System supports statvfs */
43 #define AFSLITTLE_ENDIAN        1
44 #define AFS_VM_RDWR_ENV 1
45
46 /* Extra kernel definitions (from kdefs file) */
47 #ifdef KERNEL
48 /* sun definitions here */
49 #define AFS_UIOFMODE            1       /* Only in afs/afs_vnodeops.c (afs_ustrategy) */
50 #define AFS_SYSVLOCK            1       /* sys v locking supported */
51 /*#define       AFS_USEBUFFERS  1*/
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      UIO_SYSSPACE
59 #define AFS_UIOUSER     UIO_USERSPACE
60 #define AFS_CLBYTES     MCLBYTES
61 #define AFS_MINCHANGE   2
62 #define osi_GetTime(x)  uniqtime(x)
63 #define AFS_KALLOC(n)   kmem_alloc(n, KM_SLEEP)
64 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
65 #define AFS_KFREE       kmem_free
66 #define VATTR_NULL      vattr_null
67 #endif /* KERNEL */
68 #define AFS_DIRENT      
69 #ifndef CMSERVERPREF
70 #define CMSERVERPREF
71 #endif
72 #define ROOTINO         UFSROOTINO
73
74
75 #endif /* _PARAM_SUN4C_51_H_ */