aboutsummaryrefslogtreecommitdiffstats
path: root/include/defs.h
blob: 506bfa37ba30f466aa7575aa19d5e0264c53b792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef _defs_h_
#define _defs_h_

/*
 * NFS related stuff
 */
#define MTAB_PATH	"/etc/mtab"
#ifdef linux
# define MTAB_TMP	"/etc/mtab~"
#else
# define MTAB_TMP	"/etc/mtab.p3nfsd"
#endif

#ifdef _IBMR2
# define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
#endif

#define DUSER "root"

#ifndef DDIR
# define DDIR "/psion.stand/mnt"
#endif

#ifndef PSIONHOSTNAME
# define PSIONHOSTNAME "localhost"
#endif

/* See CHANGES for comment */
#ifdef linux
#define NO_WRITE_SELECT
#endif

/*
 * defaults for ncpd
 */
#define DDEV		"/dev/ttyS0"
#define DSPEED		115200
#define DPORT		7501

/* Debugging */

#define PACKET_LAYER_DIAGNOSTICS false
#define LINK_LAYER_DIAGNOSTICS false
// #define SOCKET_DIAGNOSTICS

#include "config.h"
#endif