1# $NetBSD: DISKLESS3X,v 1.62 2021/01/21 06:51:56 nia 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 -fno-unwind-tables"          # 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
45include   "conf/compat_netbsd10.config"
46
47#options  COMPAT_LINUX        # can run Linux/m68k executables
48#options  COMPAT_OSSAUDIO     # can run Linux/m68k executables
49#options  COMPAT_SUNOS        # can run SunOS 4.1.1 executables
50
51# Filesystem options
52#file-system        FFS                 # Berkeley Fast Filesystem
53file-system         NFS                 # Sun NFS client support
54#file-system        CD9660              # ISO 9660 + Rock Ridge file system
55#file-system        MSDOSFS             # MS-DOS FAT file system
56#file-system        FDESC               # /dev/fd/*
57#file-system        KERNFS              # /kern
58#file-system        NULLFS              # loopback file system
59#file-system        PROCFS              # /proc
60#file-system        UNION               # union file system
61#file-system        MFS                 # memory-based filesystem
62#file-system        PTYFS               # /dev/pts/N support
63
64#options  NFSSERVER # nfs server support
65#options  QUOTA               # legacy UFS quotas
66#options  QUOTA2              # new, in-filesystem UFS quotas
67#options  FFS_EI              # FFS Endian Independent support
68
69# Networking options
70options   INET                # IP protocol stack support
71#options  GATEWAY             # IP packet forwarding
72#options  TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
73
74# Work-around for root on slow servers (insurance...)
75options   NFS_BOOT_RWSIZE=1024
76options   NFS_BOOT_BOOTPARAM
77
78config              netbsd root on ? type nfs
79
80# On-board I/O space (required)
81include "arch/sun3/conf/obio.sun3x"
82
83# On-board memory (optional)
84# See frame-buffers
85obmem0 at mainbus?
86
87# VME bus support (optional)
88# (none on desktop machines)
89
90#
91# Serial ports
92#
93zstty0    at zsc1 channel 0   # ttya
94zstty1    at zsc1 channel 1   # ttyb
95
96kbd0      at zsc0 channel 0   # keyboard
97ms0       at zsc0 channel 1   # mouse
98
99#
100# Network devices
101#
102
103# Intel Ethernet (onboard, or VME)
104#ie0 at obio0 addr 0x65000000 ipl 3
105#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
106
107# Lance Ethernet (only onboard)
108le0 at obio0 addr 0x65002000 ipl 3
109
110#
111# Frame buffer devices
112#
113
114# P4 Monochrome frame buffer.
115bwtwo0    at obmem0 addr 0x50300000
116
117# P4 8-bit color frame buffer
118cgfour0 at obmem0 addr 0x50300000
119
120# P4 accelerated 8-bit color frame buffer
121# cgsix0 at obmem0 addr 0x50000000
122
123# P4 24-bit color frame buffer
124# cgeight0 at obmem0 addr 0x50300000
125
126# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
127# This driver is going to need work in its mmap function.
128# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
129
130# Support for the CG9 24-bit frame buffer (VME A32/D32).
131# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
132
133# Misc.
134pseudo-device       loop                          # network loopback
135pseudo-device       bpfilter            # packet filter
136pseudo-device       sl                            # CSLIP
137pseudo-device       ppp                           # PPP
138pseudo-device       tun                           # network tunneling over tty
139#pseudo-device      gre                           # generic L3 over IP tunnel
140#pseudo-device      npf                           # NPF packet filter
141
142pseudo-device       pty                           # pseudo-terminals
143pseudo-device       clockctl            # user control of clock subsystem
144