DISKLESS3X revision 1.61
11.61Stsutsui# $NetBSD: DISKLESS3X,v 1.61 2020/06/19 10:35:11 tsutsui Exp $
21.1Sgwr
31.15Sgwr# DISKLESS - Root and swap on NFS
41.15Sgwr# Desktop machines only (3/80)
51.15Sgwr#
61.1Sgwr# Includes devices needed to run as an X-terminal
71.1Sgwr
81.13Sgwrinclude "arch/sun3/conf/std.sun3x"
91.25Satatat
101.25Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.1Sgwr
121.61Stsutsuimakeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
131.45Stsutsui
141.13Sgwr# Machines to be supported by this kernel
151.13Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
161.12Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
171.1Sgwr
181.1Sgwr# Needs to be set per system.  i.e change these as you see fit
191.9Sgwrmaxusers	2
201.1Sgwr
211.1Sgwr# Standard system options
221.15Sgwr#options 	KTRACE		# system call tracing
231.15Sgwr#options 	SYSVMSG		# System V message queues
241.15Sgwr#options 	SYSVSEM		# System V semaphores
251.15Sgwr#options 	SYSVSHM		# System V shared memory
261.8Sgwr#options 	INSECURE	# disable kernel security level
271.27Slukemoptions 	USERCONF	# userconf(4) support
281.43Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
291.30Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
301.1Sgwr
311.8Sgwr# Which kernel debugger?  Uncomment either this:
321.15Sgwr#options 	DDB
331.3Sgwr# ... or these for KGDB (gdb remote target)
341.22Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
351.1Sgwr#options 	KGDB
361.21Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
371.8Sgwr
381.8Sgwr# Other debugging options
391.10Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.8Sgwr#options 	DEBUG		# kernel debugging code
411.8Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
421.8Sgwr#options 	PMAP_DEBUG
431.8Sgwr
441.19Swiz# Compatibility options
451.59Smrginclude 	"conf/compat_netbsd10.config"
461.59Smrg
471.59Smrg#options 	COMPAT_LINUX	# can run Linux/m68k executables
481.15Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
491.1Sgwr
501.1Sgwr# Filesystem options
511.9Sgwr#file-system	FFS		# Berkeley Fast Filesystem
521.8Sgwrfile-system	NFS		# Sun NFS client support
531.9Sgwr#file-system	CD9660		# ISO 9660 + Rock Ridge file system
541.9Sgwr#file-system	MSDOSFS		# MS-DOS FAT file system
551.15Sgwr#file-system	FDESC		# /dev/fd/*
561.15Sgwr#file-system	KERNFS		# /kern
571.15Sgwr#file-system	NULLFS		# loopback file system
581.15Sgwr#file-system	PROCFS		# /proc
591.9Sgwr#file-system	UNION		# union file system
601.9Sgwr#file-system	MFS		# memory-based filesystem
611.36Schristos#file-system	PTYFS		# /dev/pts/N support
621.2Sthorpej
631.9Sgwr#options 	NFSSERVER	# nfs server support
641.49Sbouyer#options 	QUOTA		# legacy UFS quotas
651.49Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
661.50Swiz#options 	FFS_EI		# FFS Endian Independent support
671.1Sgwr
681.1Sgwr# Networking options
691.37Sisakioptions 	INET		# IP protocol stack support
701.6Slukem#options 	GATEWAY		# IP packet forwarding
711.20Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
721.8Sgwr
731.8Sgwr# Work-around for root on slow servers (insurance...)
741.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
751.12Sgwroptions 	NFS_BOOT_BOOTPARAM
761.1Sgwr
771.2Sthorpejconfig		netbsd root on ? type nfs
781.1Sgwr
791.12Sgwr# On-board I/O space (required)
801.12Sgwrinclude "arch/sun3/conf/obio.sun3x"
811.12Sgwr
821.12Sgwr# On-board memory (optional)
831.12Sgwr# See frame-buffers
841.12Sgwrobmem0 at mainbus?
851.12Sgwr
861.15Sgwr# VME bus support (optional)
871.15Sgwr# (none on desktop machines)
881.15Sgwr
891.1Sgwr#
901.1Sgwr# Serial ports
911.1Sgwr#
921.6Slukemzstty0	at zsc1 channel 0	# ttya
931.6Slukemzstty1	at zsc1 channel 1	# ttyb
941.1Sgwr
951.6Slukemkbd0	at zsc0 channel 0	# keyboard
961.6Slukemms0	at zsc0 channel 1	# mouse
971.1Sgwr
981.1Sgwr#
991.1Sgwr# Network devices
1001.1Sgwr#
1011.1Sgwr
1021.12Sgwr# Intel Ethernet (onboard, or VME)
1031.15Sgwr#ie0 at obio0 addr 0x65000000 ipl 3
1041.22Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1051.8Sgwr
1061.1Sgwr# Lance Ethernet (only onboard)
1071.1Sgwrle0 at obio0 addr 0x65002000 ipl 3
1081.1Sgwr
1091.1Sgwr#
1101.1Sgwr# Frame buffer devices
1111.1Sgwr#
1121.1Sgwr
1131.13Sgwr# P4 Monochrome frame buffer.
1141.22Slukembwtwo0	at obmem0 addr 0x50300000
1151.13Sgwr
1161.13Sgwr# P4 8-bit color frame buffer
1171.13Sgwrcgfour0 at obmem0 addr 0x50300000
1181.13Sgwr
1191.13Sgwr# P4 accelerated 8-bit color frame buffer
1201.15Sgwr# cgsix0 at obmem0 addr 0x50000000
1211.13Sgwr
1221.13Sgwr# P4 24-bit color frame buffer
1231.13Sgwr# cgeight0 at obmem0 addr 0x50300000
1241.13Sgwr
1251.13Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1261.13Sgwr# This driver is going to need work in its mmap function.
1271.13Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1281.13Sgwr
1291.13Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1301.13Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1311.1Sgwr
1321.1Sgwr# Misc.
1331.53Schristospseudo-device	loop			# network loopback
1341.39Srpaulopseudo-device	bpfilter		# packet filter
1351.40Scubepseudo-device	sl			# CSLIP
1361.40Scubepseudo-device	ppp			# PPP
1371.40Scubepseudo-device	tun			# network tunneling over tty
1381.40Scube#pseudo-device	gre			# generic L3 over IP tunnel
1391.60Smaxv#pseudo-device	npf			# NPF packet filter
1401.1Sgwr
1411.17Sjdolecekpseudo-device	pty			# pseudo-terminals
1421.26Slukempseudo-device	clockctl		# user control of clock subsystem
143