1# $NetBSD: DISKLESS,v 1.81 2022/08/07 02:52:30 simonb 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
12makeoptions         COPTS="-Os -fno-unwind-tables"          # bootloader has size limit (~2MB)
13
14# Machines to be supported by this kernel
15options   FPU_EMULATE
16options   HAVECACHE           # Sun3/260 VAC
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#options  SCSIDEBUG
44#options  SCSIVERBOSE                   # Verbose SCSI errors
45
46# Compatibility options
47include   "conf/compat_netbsd13.config"
48
49#options  COMPAT_SUNOS        # can run SunOS 4.1.1 executables
50#options  COMPAT_AOUT_M68K # support for NetBSD a.out executables
51#options  COMPAT_LINUX        # can run Linux/m68k executables
52#options  COMPAT_OSSAUDIO     # can run Linux/m68k executables
53#options  EXEC_AOUT # support for a.out executables
54
55# File systems
56#file-system        FFS                 # Berkeley Fast Filesystem
57file-system         NFS                 # Sun NFS client support
58#file-system        CD9660              # ISO 9660 + Rock Ridge file system
59#file-system        FDESC               # /dev/fd/*
60#file-system        KERNFS              # /kern
61#file-system        NULLFS              # loopback file system
62#file-system        OVERLAY             # overlay file system
63#file-system        PROCFS              # /proc
64#file-system        UNION               # union file system
65#file-system        MFS                 # memory-based filesystem
66#file-system        PTYFS               # /dev/pts/N support
67#file-system        TMPFS               # Efficient memory file-system
68#file-system        UDF                 # experimental - OSTA UDF CD/DVD file-system
69
70# File system options
71#options  FFS_EI              # FFS Endian Independent support
72#options  FFS_NO_SNAPSHOT     # No FFS snapshot support
73#options  QUOTA               # legacy UFS quotas
74#options  QUOTA2              # new, in-filesystem UFS quotas
75#options  UFS_DIRHASH         # UFS Large Directory Hashing
76#options  UFS_EXTATTR         # Extended attribute support for UFS1
77#options  WAPBL               # File system journaling support
78#options  NFSSERVER # Network File System server
79
80# Networking options
81options   INET                # IP protocol stack support
82#options  INET6               # IPV6
83#options  IPSEC               # IP security
84#options  IPSEC_DEBUG         # debug for IP security
85#options  GATEWAY             # IP packet forwarding
86#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
87
88# Work-around for root on slow servers (insurance...)
89options   NFS_BOOT_RWSIZE=1024
90options   NFS_BOOT_BOOTPARAM
91
92config              netbsd root on ? type nfs
93
94# On-board I/O space (required)
95include "arch/sun3/conf/obio.sun3"
96
97# On-board memory (optional)
98# See frame-buffers
99obmem0 at mainbus?
100
101# VME bus support (optional)
102# (none on desktop machines)
103
104#
105# Serial ports
106#
107zstty0    at zsc1 channel 0   # ttya
108zstty1    at zsc1 channel 1   # ttyb
109
110kbd0      at zsc0 channel 0   # keyboard
111ms0       at zsc0 channel 1   # mouse
112
113#
114# Network devices
115#
116
117# Intel Ethernet (onboard, or VME)
118ie0 at obio0 addr 0x0C0000 ipl 3
119#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
120
121# Lance Ethernet (only onboard)
122le0 at obio0 addr 0x120000 ipl 3
123
124# All Sun3 machines with an "le" (3/50, 3/60) should be
125# presumed to have the old, buggy LANCE chip. (Rev. C)
126options   LANCE_REVC_BUG
127
128#
129# Frame buffer devices
130#
131
132include "arch/sun3/conf/bw2.sun3"
133include "arch/sun3/conf/cg4.sun3"
134
135# 3/60 P4 accelerated 8-bit color frame buffer
136# cgsix0 at obmem0 addr 0xff000000
137
138# 3/60 P4 24-bit color frame buffer
139# cgeight0 at obmem0 addr 0xff300000
140
141# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
142# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
143
144# Support for the CG9 24-bit frame buffer (VME A32/D32).
145# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
146
147# Misc.
148pseudo-device       loop                          # network loopback
149pseudo-device       bpfilter            # packet filter
150#pseudo-device      carp                          # Common Address Redundancy Protocol
151pseudo-device       sl                            # CSLIP
152pseudo-device       ppp                           # PPP
153#pseudo-device      pppoe                         # PPP over Ethernet (RFC 2516)
154#pseudo-device      tun                           # network tunneling over tty
155#pseudo-device      tap                           # virtual Ethernet
156#pseudo-device      gre                           # generic L3 over IP tunnel
157#pseudo-device      npf                           # NPF packet filter
158#pseudo-device      gif                           # IPv[46] over IPv[46] tunnel (RFC1933)
159#pseudo-device      faith                         # IPv[46] tcp relay translation i/f
160#pseudo-device      stf                           # 6to4 IPv6 over IPv4 encapsulation
161#pseudo-device      vlan                          # IEEE 802.1q encapsulation
162#pseudo-device      bridge                        # simple inter-network bridging
163#pseudo-device      vether                        # Virtual Ethernet for bridge
164#pseudo-device      agr                           # IEEE 802.3ad link aggregation
165
166pseudo-device       pty                           # pseudo-terminals
167pseudo-device       clockctl            # user control of clock subsystem
168