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