~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/config/param.alpha_linux_22.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _PARAM_ALPHA_LINUX2216_22_H_
 
2
#define _PARAM_ALPHA_LINUX2216_22_H_
 
3
 
 
4
/* Linux 2.2.16 kernel on Alpha with glibc 2.2 */
 
5
 
 
6
/* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
 
7
 * it's a judgment call. If something is obviously sparc64 specific, use that
 
8
 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
 
9
 * in the sysname is the current version of the client. This takes into
 
10
 * account the perferred OS user space configuration as well as the kernel.
 
11
 */
 
12
 
 
13
#define AFS_LINUX20_ENV        1
 
14
#define AFS_LINUX22_ENV        1
 
15
#define AFS_ALPHA_LINUX20_ENV  1
 
16
#define AFS_ALPHA_LINUX22_ENV  1
 
17
#define __alpha        1
 
18
#define AFS_LINUX_64BIT_KERNEL 1
 
19
#define AFS_NONFSTRANS 1
 
20
 
 
21
#define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 
22
#define AFS_SYSCALL 338
 
23
#define AFS_64BIT_IOPS_ENV  1
 
24
#define AFS_NAMEI_ENV     1   /* User space interface to file system */
 
25
 
 
26
#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 
27
#define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
 
28
 
 
29
#if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 
30
#include <linux/config.h>
 
31
#ifdef CONFIG_SMP
 
32
#undef CONFIG_SMP
 
33
#endif
 
34
/* Using "AFS_SMP" to map to however many #define's are required to get
 
35
 * MP to compile for Linux
 
36
 */
 
37
#ifdef AFS_SMP
 
38
#define CONFIG_SMP 1
 
39
#ifndef __SMP__
 
40
#define __SMP__
 
41
#endif
 
42
#define AFS_GLOBAL_SUNLOCK
 
43
#endif
 
44
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
 
45
#define MODVERSIONS
 
46
#include <linux/modversions.h>
 
47
#endif
 
48
#endif /* __KERNEL__  && !DUMP_KERNEL*/
 
49
 
 
50
#include <afs/afs_sysnames.h>
 
51
 
 
52
#define AFS_USERSPACE_IP_ADDR 1
 
53
#define RXK_LISTENER_ENV 1
 
54
#define AFS_GCPAGS       2 /* Set to Userdisabled, allow sysctl to override */
 
55
 
 
56
/* Machine / Operating system information */
 
57
#define SYS_NAME       "alpha_linux_22"
 
58
#define SYS_NAME_ID    SYS_NAME_ID_alpha_linux_22
 
59
#define AFSLITTLE_ENDIAN    1
 
60
#define AFS_HAVE_FFS        1       /* Use system's ffs. */
 
61
#define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
 
62
#define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
 
63
 
 
64
#ifdef KERNEL
 
65
#ifndef MIN
 
66
#define MIN(A,B) ((A) < (B) ? (A) : (B))
 
67
#endif
 
68
#ifndef MAX
 
69
#define MAX(A,B) ((A) > (B) ? (A) : (B))
 
70
#endif
 
71
#endif /* KERNEL */
 
72
 
 
73
#endif /* _PARAM_ALPHA_LINUX2216_22_H_ */