DISKLESS3X revision 1.45 1 # $NetBSD: DISKLESS3X,v 1.45 2008/04/05 22:08:41 tsutsui Exp $
2
3 # DISKLESS - Root and swap on NFS
4 # Desktop machines only (3/80)
5 #
6 # Includes devices needed to run as an X-terminal
7
8 include "arch/sun3/conf/std.sun3x"
9
10 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11
12 makeoptions COPTS="-Os" # bootloader has size limit (~2MB)
13
14 # Machines to be supported by this kernel
15 # options FPU_EMULATE # XXX - Ever needed?
16 # options HAVE_IOCACHE # XXX - Not yet supported.
17
18 # Needs to be set per system. i.e change these as you see fit
19 maxusers 2
20
21 # Standard system options
22 #options KTRACE # system call tracing
23 #options SYSVMSG # System V message queues
24 #options SYSVSEM # System V semaphores
25 #options SYSVSHM # System V shared memory
26 #options SHMMAXPGS=1024 # 1024 pages is the default
27 #options LKM # loadable kernel modules
28 #options INSECURE # disable kernel security level
29 options USERCONF # userconf(4) support
30 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
31 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
32
33 # Which kernel debugger? Uncomment either this:
34 #options DDB
35 # ... or these for KGDB (gdb remote target)
36 #makeoptions DEBUG="-g" # debugging symbols for gdb
37 #options KGDB
38 #options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01
39
40 # Other debugging options
41 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
42 #options DEBUG # kernel debugging code
43 #options DIAGNOSTIC # extra kernel sanity checking
44 #options KMEMSTATS # kernel memory statistics (vmstat -m)
45 #options PMAP_DEBUG
46
47 # Compatibility options
48 #options COMPAT_SUNOS # can run SunOS 4.1.1 executables
49 #options COMPAT_43 # and 4.3BSD and ...
50 #options COMPAT_10 # NetBSD 1.0
51 #options COMPAT_11 # NetBSD 1.1
52 #options COMPAT_12 # NetBSD 1.2
53 options COMPAT_13 # NetBSD 1.3
54 options COMPAT_14 # NetBSD 1.4
55 options COMPAT_15 # NetBSD 1.5
56 options COMPAT_16 # NetBSD 1.6
57 options COMPAT_20 # NetBSD 2.0
58 options COMPAT_30 # NetBSD 3.0
59 options COMPAT_40 # NetBSD 4.0 compatibility.
60 #options COMPAT_LINUX # can run Linux/m68k executables
61 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
62 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
63
64 # Filesystem options
65 #file-system FFS # Berkeley Fast Filesystem
66 file-system NFS # Sun NFS client support
67 #file-system CD9660 # ISO 9660 + Rock Ridge file system
68 #file-system MSDOSFS # MS-DOS FAT file system
69 #file-system FDESC # /dev/fd/*
70 #file-system KERNFS # /kern
71 #file-system NULLFS # loopback file system
72 #file-system PROCFS # /proc
73 #file-system UNION # union file system
74 #file-system MFS # memory-based filesystem
75 #file-system PTYFS # /dev/pts/N support
76
77 #options NFSSERVER # nfs server support
78 #options QUOTA # FFS quotas
79 #options FFS_EI # FFS Endian Independant support
80
81 # Networking options
82 options INET # IP protocol stack support
83 #options GATEWAY # IP packet forwarding
84 #options ISO,TPIP # OSI networking
85 #options EON # OSI tunneling over IP
86 #options PFIL_HOOKS # pfil(9) packet filter hooks.
87 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
88
89 # Work-around for root on slow servers (insurance...)
90 options NFS_BOOT_RWSIZE=1024
91 options NFS_BOOT_BOOTPARAM
92
93 config netbsd root on ? type nfs
94
95 # On-board I/O space (required)
96 include "arch/sun3/conf/obio.sun3x"
97
98 # On-board memory (optional)
99 # See frame-buffers
100 obmem0 at mainbus?
101
102 # VME bus support (optional)
103 # (none on desktop machines)
104
105 #
106 # Serial ports
107 #
108 zstty0 at zsc1 channel 0 # ttya
109 zstty1 at zsc1 channel 1 # ttyb
110
111 kbd0 at zsc0 channel 0 # keyboard
112 ms0 at zsc0 channel 1 # mouse
113
114 #
115 # Network devices
116 #
117
118 # Intel Ethernet (onboard, or VME)
119 #ie0 at obio0 addr 0x65000000 ipl 3
120 #ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
121
122 # Lance Ethernet (only onboard)
123 le0 at obio0 addr 0x65002000 ipl 3
124
125 #
126 # Frame buffer devices
127 #
128
129 # P4 Monochrome frame buffer.
130 bwtwo0 at obmem0 addr 0x50300000
131
132 # P4 8-bit color frame buffer
133 cgfour0 at obmem0 addr 0x50300000
134
135 # P4 accelerated 8-bit color frame buffer
136 # cgsix0 at obmem0 addr 0x50000000
137
138 # P4 24-bit color frame buffer
139 # cgeight0 at obmem0 addr 0x50300000
140
141 # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
142 # This driver is going to need work in its mmap function.
143 # cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
144
145 # Support for the CG9 24-bit frame buffer (VME A32/D32).
146 # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
147
148 # Misc.
149 pseudo-device loop 1 # network loopback
150 pseudo-device bpfilter # packet filter
151 pseudo-device sl # CSLIP
152 pseudo-device ppp # PPP
153 pseudo-device tun # network tunneling over tty
154 #pseudo-device gre # generic L3 over IP tunnel
155 #pseudo-device ipfilter # ip filter
156
157 pseudo-device pty # pseudo-terminals
158 pseudo-device clockctl # user control of clock subsystem
159