DISKLESS3X revision 1.58
1# $NetBSD: DISKLESS3X,v 1.58 2017/07/28 19:26:16 maxv 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
8include "arch/sun3/conf/std.sun3x"
9
10#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
11
12makeoptions	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
19maxusers	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 	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 	PMAP_DEBUG
43
44# Compatibility options
45#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
46#options 	COMPAT_43	# and 4.3BSD and ...
47#options 	COMPAT_10	# NetBSD 1.0,
48#options 	COMPAT_11	# NetBSD 1.1,
49#options 	COMPAT_12	# NetBSD 1.2,
50options 	COMPAT_13	# NetBSD 1.3,
51options 	COMPAT_14	# NetBSD 1.4,
52options 	COMPAT_15	# NetBSD 1.5,
53options 	COMPAT_16	# NetBSD 1.6,
54options 	COMPAT_20	# NetBSD 2.0,
55options 	COMPAT_30	# NetBSD 3.0,
56options 	COMPAT_40	# NetBSD 4.0,
57options 	COMPAT_50	# NetBSD 5.0,
58options 	COMPAT_60	# NetBSD 6.0, and
59options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
60#options 	COMPAT_LINUX	# can run Linux/m68k executables
61options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
62
63# Filesystem options
64#file-system	FFS		# Berkeley Fast Filesystem
65file-system	NFS		# Sun NFS client support
66#file-system	CD9660		# ISO 9660 + Rock Ridge file system
67#file-system	MSDOSFS		# MS-DOS FAT file system
68#file-system	FDESC		# /dev/fd/*
69#file-system	KERNFS		# /kern
70#file-system	NULLFS		# loopback file system
71#file-system	PROCFS		# /proc
72#file-system	UNION		# union file system
73#file-system	MFS		# memory-based filesystem
74#file-system	PTYFS		# /dev/pts/N support
75
76#options 	NFSSERVER	# nfs server support
77#options 	QUOTA		# legacy UFS quotas
78#options 	QUOTA2		# new, in-filesystem UFS quotas
79#options 	FFS_EI		# FFS Endian Independent support
80
81# Networking options
82options 	INET		# IP protocol stack support
83#options 	GATEWAY		# IP packet forwarding
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86# Work-around for root on slow servers (insurance...)
87options 	NFS_BOOT_RWSIZE=1024
88options 	NFS_BOOT_BOOTPARAM
89
90config		netbsd root on ? type nfs
91
92# On-board I/O space (required)
93include "arch/sun3/conf/obio.sun3x"
94
95# On-board memory (optional)
96# See frame-buffers
97obmem0 at mainbus?
98
99# VME bus support (optional)
100# (none on desktop machines)
101
102#
103# Serial ports
104#
105zstty0	at zsc1 channel 0	# ttya
106zstty1	at zsc1 channel 1	# ttyb
107
108kbd0	at zsc0 channel 0	# keyboard
109ms0	at zsc0 channel 1	# mouse
110
111#
112# Network devices
113#
114
115# Intel Ethernet (onboard, or VME)
116#ie0 at obio0 addr 0x65000000 ipl 3
117#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
118
119# Lance Ethernet (only onboard)
120le0 at obio0 addr 0x65002000 ipl 3
121
122#
123# Frame buffer devices
124#
125
126# P4 Monochrome frame buffer.
127bwtwo0	at obmem0 addr 0x50300000
128
129# P4 8-bit color frame buffer
130cgfour0 at obmem0 addr 0x50300000
131
132# P4 accelerated 8-bit color frame buffer
133# cgsix0 at obmem0 addr 0x50000000
134
135# P4 24-bit color frame buffer
136# cgeight0 at obmem0 addr 0x50300000
137
138# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
139# This driver is going to need work in its mmap function.
140# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
141
142# Support for the CG9 24-bit frame buffer (VME A32/D32).
143# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
144
145# Misc.
146pseudo-device	loop			# network loopback
147pseudo-device	bpfilter		# packet filter
148pseudo-device	sl			# CSLIP
149pseudo-device	ppp			# PPP
150pseudo-device	tun			# network tunneling over tty
151#pseudo-device	gre			# generic L3 over IP tunnel
152#pseudo-device	ipfilter		# ip filter
153
154pseudo-device	pty			# pseudo-terminals
155pseudo-device	clockctl		# user control of clock subsystem
156