KRUPS revision 1.11 1 1.11 lukem # $NetBSD: KRUPS,v 1.11 2002/09/18 02:44:08 lukem Exp $
2 1.8 uwe # From: NetBSD: GENERIC,v 1.133 2002/04/25 15:06:37 atatat Exp
3 1.1 uwe #
4 1.1 uwe # Krups (JavaStation 10, aka JavaStation NC) machine description file
5 1.1 uwe #
6 1.1 uwe # XXX: This config is experimental and will not work without some
7 1.1 uwe # additional patches not yet committed to the tree.
8 1.1 uwe
9 1.1 uwe include "arch/sparc/conf/std.sparc"
10 1.1 uwe
11 1.7 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12 1.7 atatat
13 1.11 lukem #ident "KRUPS-$Revision: 1.11 $"
14 1.1 uwe
15 1.1 uwe maxusers 32
16 1.1 uwe
17 1.1 uwe ## System kernel configuration. See options(4) for more detail.
18 1.1 uwe
19 1.1 uwe
20 1.1 uwe # Options for variants of the Sun SPARC architecure.
21 1.1 uwe # We currently support three architecture types; at least one is required.
22 1.1 uwe options SUN4M # sun4m - SS10, SS20, Classic, etc.
23 1.1 uwe
24 1.1 uwe # microSPARC-IIep is PCI based sun4m (JavaStation 10, CP1200, etc)
25 1.1 uwe # This option selects if SUN4M means "normal" 4m or IIep. Kernels
26 1.1 uwe # with this option turned on will refuse to work on normal 4m.
27 1.1 uwe options MSIIEP # microSPARC-IIep
28 1.1 uwe
29 1.1 uwe # XXX: uwe: PROM location conflicts with kernel VA space !!!
30 1.1 uwe makeoptions TEXTADDR=E8004000
31 1.1 uwe
32 1.1 uwe
33 1.1 uwe ## System options specific to the sparc machine type
34 1.1 uwe
35 1.1 uwe # XXX: uwe: to do
36 1.1 uwe # Blink the power LED on some machines to indicate the system load.
37 1.1 uwe #options BLINK
38 1.1 uwe
39 1.1 uwe
40 1.1 uwe #### System options that are the same for all ports
41 1.1 uwe
42 1.1 uwe ## Root device configuration: change the ?'s if you are going to use a
43 1.1 uwe ## nonstandard root partition (other than where the kernel is booted from)
44 1.1 uwe ## and/or nonstandard root type (not ffs or nfs). Normally this can be
45 1.1 uwe ## automagically determined at boot time.
46 1.1 uwe
47 1.1 uwe config netbsd root on ? type ?
48 1.1 uwe
49 1.1 uwe ## System call tracing (see ktrace(1)).
50 1.1 uwe options KTRACE
51 1.1 uwe
52 1.1 uwe ## Collect statistics on kernel malloc's and free's. This does have a
53 1.1 uwe ## significant performance hit on slower machines, so it is intended for
54 1.1 uwe ## diagnostic use only.
55 1.1 uwe #options KMEMSTATS
56 1.1 uwe
57 1.1 uwe ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
58 1.1 uwe #options SYSVMSG # System V message queues
59 1.1 uwe #options SYSVSEM # System V semaphores
60 1.1 uwe #options SEMMNI=10 # number of semaphore identifiers
61 1.1 uwe #options SEMMNS=60 # number of semaphores in system
62 1.1 uwe #options SEMUME=10 # max number of undo entries per process
63 1.1 uwe #options SEMMNU=30 # number of undo structures in system
64 1.1 uwe #options SYSVSHM # System V shared memory
65 1.1 uwe #options SHMMAXPGS=1024 # 1024 pages is the default
66 1.1 uwe
67 1.1 uwe ## Loadable kernel module support; still under development.
68 1.1 uwe #options LKM
69 1.1 uwe
70 1.11 lukem options USERCONF # userconf(4) support
71 1.1 uwe #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
72 1.1 uwe
73 1.9 lukem ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
74 1.1 uwe options NFS_BOOT_BOOTPARAM
75 1.1 uwe #options NFS_BOOT_BOOTP
76 1.9 lukem options NFS_BOOT_DHCP
77 1.1 uwe
78 1.1 uwe #### Debugging options
79 1.1 uwe
80 1.1 uwe ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
81 1.1 uwe ## serial console break or keyboard reset, where the PROM would normally
82 1.1 uwe ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
83 1.1 uwe options DDB # kernel dynamic debugger
84 1.1 uwe options DDB_HISTORY_SIZE=100 # enable history editing in DDB
85 1.1 uwe options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
86 1.1 uwe
87 1.1 uwe ## You may also use gdb, on another computer connected to this machine over
88 1.1 uwe ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
89 1.1 uwe ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
90 1.1 uwe ## the minor device number encodes the PROM enumeration of the serial ports,
91 1.1 uwe ## i.e.:
92 1.1 uwe ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
93 1.1 uwe ## (Note: ttyc and ttyd are available only on some sun4 models)
94 1.1 uwe #options KGDB # support for kernel gdb
95 1.1 uwe #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
96 1.1 uwe #options KGDB_DEVRATE=38400 # baud rate
97 1.1 uwe
98 1.1 uwe
99 1.1 uwe ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
100 1.1 uwe ## such that gdb(1) can be used on a kernel coredump.
101 1.1 uwe
102 1.1 uwe #makeoptions DEBUG="-g"
103 1.5 uwe makeoptions COPTS="-pipe -mcpu=supersparc -O2"
104 1.1 uwe
105 1.1 uwe
106 1.1 uwe ## Adds code to the kernel that does internal consistency checks, and will
107 1.1 uwe ## cause the kernel to panic if corruption of internal data structures
108 1.1 uwe ## is detected.
109 1.1 uwe options DIAGNOSTIC # extra kernel sanity checking
110 1.1 uwe
111 1.1 uwe ## Enable (possibly expensive) debugging code that may also display messages
112 1.1 uwe ## on the system console
113 1.1 uwe #options DEBUG
114 1.1 uwe
115 1.1 uwe options MIIVERBOSE # verbose PHY autoconfig messages
116 1.1 uwe
117 1.1 uwe ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
118 1.1 uwe ## This allows writing to /dev/mem, loading kernel modules while multi-user,
119 1.1 uwe ## and other insecurities good only for development work. Do not use this
120 1.1 uwe ## option on a production machine.
121 1.1 uwe #options INSECURE
122 1.1 uwe
123 1.1 uwe ## Allow non-root users to grab /dev/console with programs such as xconsole.
124 1.1 uwe ## `xconsole' therefore does not need setuid root with this option enabled.
125 1.1 uwe #options UCONSOLE
126 1.1 uwe
127 1.1 uwe ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
128 1.1 uwe ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
129 1.1 uwe ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
130 1.1 uwe ## opaque file mechanism. Perl calls this "secure setuid scripts."
131 1.1 uwe
132 1.1 uwe #options FDSCRIPTS
133 1.1 uwe #options SETUIDSCRIPTS
134 1.1 uwe
135 1.1 uwe ## Options for compatibility with previous releases foreign system binaries.
136 1.1 uwe ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
137 1.1 uwe ## additional user-level utilities or system configuration files. See
138 1.1 uwe ## compat_sunos(8) and compat_svr4(8).
139 1.1 uwe
140 1.1 uwe options COMPAT_43 # 4.3BSD system interfaces
141 1.1 uwe #options COMPAT_10 # NetBSD 1.0 binary compatibility
142 1.1 uwe #options COMPAT_11 # NetBSD 1.1 binary compatibility
143 1.1 uwe #options COMPAT_12 # NetBSD 1.2 binary compatibility
144 1.1 uwe #options COMPAT_13 # NetBSD 1.3 binary compatibility
145 1.1 uwe #options COMPAT_14 # NetBSD 1.4 binary compatibility
146 1.1 uwe #options COMPAT_SUNOS # SunOS 4.x binary compatibility
147 1.1 uwe #options COMPAT_SVR4 # SunOS 5.x binary compatibility
148 1.1 uwe
149 1.1 uwe ## File systems. You probably need at least one of FFS or NFS.
150 1.1 uwe #file-system FFS # Berkeley Fast Filesystem
151 1.1 uwe file-system NFS # Sun NFS-compatible filesystem client
152 1.1 uwe file-system KERNFS # kernel data-structure filesystem
153 1.1 uwe #file-system NULLFS # NULL layered filesystem
154 1.1 uwe #file-system OVERLAY # overlay file system
155 1.1 uwe #file-system MFS # memory-based filesystem
156 1.1 uwe #file-system FDESC # user file descriptor filesystem
157 1.1 uwe #file-system UMAPFS # uid/gid remapping filesystem
158 1.1 uwe #file-system LFS # Log-based filesystem (still experimental)
159 1.1 uwe #file-system PORTAL # portal filesystem (still experimental)
160 1.1 uwe file-system PROCFS # /proc
161 1.1 uwe #file-system CD9660 # ISO 9660 + Rock Ridge file system
162 1.1 uwe #file-system UNION # union file system
163 1.1 uwe #file-system MSDOSFS # MS-DOS FAT filesystem(s).
164 1.1 uwe #file-system CODA # Coda File System; also needs vcoda (below)
165 1.1 uwe
166 1.1 uwe ## File system options.
167 1.1 uwe #options NFSSERVER # Sun NFS-compatible filesystem server
168 1.1 uwe #options QUOTA # FFS quotas
169 1.1 uwe #options FFS_EI # FFS Endian Independent support
170 1.1 uwe #options SOFTDEP # FFS soft updates support.
171 1.1 uwe
172 1.1 uwe ## Network protocol support. In most environments, INET is required.
173 1.1 uwe options INET # IP (Internet Protocol) v4
174 1.1 uwe #options INET6 # IPV6
175 1.1 uwe #options IPSEC # IP security
176 1.1 uwe #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
177 1.1 uwe #options IPSEC_DEBUG # debug for IP security
178 1.1 uwe #options GATEWAY # packet forwarding ("router switch")
179 1.1 uwe #options MROUTING # packet forwarding of multicast packets
180 1.1 uwe #options DIRECTED_BROADCAST # allow broadcasts through routers
181 1.1 uwe #options NS # Xerox NS networking
182 1.1 uwe #options NSIP # Xerox NS tunneling over IP
183 1.1 uwe #options ISO,TPIP # OSI networking
184 1.1 uwe #options EON # OSI tunneling over IP
185 1.1 uwe #options CCITT,LLC,HDLC # X.25 packet switched protocol
186 1.1 uwe #options NETATALK # AppleTalk (over Ethernet) protocol
187 1.1 uwe #options NTP # Network Time Protocol in-kernel support
188 1.1 uwe #options PPS_SYNC # Add serial line synchronization for NTP
189 1.1 uwe #options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
190 1.1 uwe #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
191 1.1 uwe #options PPP_BSDCOMP # Add BSD compression to ppp device
192 1.1 uwe #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
193 1.1 uwe #options PPP_FILTER # Add active filters for ppp (via bpf)
194 1.1 uwe
195 1.1 uwe
196 1.1 uwe
197 1.1 uwe #### Main bus and CPU .. all systems.
198 1.1 uwe mainbus0 at root
199 1.1 uwe cpu0 at mainbus0
200 1.1 uwe
201 1.1 uwe #### Bus types found on SPARC systems.
202 1.1 uwe
203 1.1 uwe msiiep0 at mainbus0 # microSPARC-IIep PCIC, timer, ...
204 1.1 uwe
205 1.5 uwe mspcic0 at msiiep0 # PCI tree
206 1.5 uwe pci0 at mspcic0
207 1.1 uwe options PCIVERBOSE
208 1.2 uwe #options PCI_CONFIG_DUMP # hangs reading IGA1682 config past offset 64
209 1.1 uwe
210 1.1 uwe ebus0 at pci0 # ebus devices
211 1.1 uwe
212 1.1 uwe
213 1.1 uwe #### Standard system devices -- all required for a given architecture
214 1.1 uwe
215 1.1 uwe # timer is part of ms-IIep PCIC
216 1.4 pk timer0 at msiiep0
217 1.1 uwe
218 1.1 uwe ## ds1287 TOD clock at EBus
219 1.1 uwe rtc0 at ebus0
220 1.1 uwe
221 1.1 uwe #### Serial port configuration
222 1.1 uwe
223 1.1 uwe # XXX: uwe: needs a work-around applied to comstart()
224 1.1 uwe ## NS16x50 serial chips and clones.
225 1.1 uwe com* at ebus0
226 1.1 uwe
227 1.1 uwe
228 1.1 uwe #### Disk controllers and disks
229 1.1 uwe
230 1.1 uwe ## A disk-like interface to files. Can be used to create floppy, CD,
231 1.1 uwe ## miniroot images, etc.
232 1.1 uwe
233 1.1 uwe #pseudo-device vnd 4
234 1.1 uwe
235 1.1 uwe ## Memory disk device, used on boot floppies with compressed
236 1.1 uwe ## kernel-plus-root-disk images.
237 1.1 uwe
238 1.1 uwe #pseudo-device md 1
239 1.1 uwe
240 1.1 uwe
241 1.1 uwe #### Network interfaces
242 1.1 uwe
243 1.1 uwe ## Happy Meal Ethernet
244 1.1 uwe hme* at pci? dev ? function ? # network "hme" compatible
245 1.1 uwe
246 1.1 uwe # MII/PHY support
247 1.1 uwe qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
248 1.1 uwe
249 1.1 uwe ## Loopback network interface; required
250 1.1 uwe pseudo-device loop
251 1.1 uwe
252 1.1 uwe ## SLIP and CSLIP interfaces, for IP over a serial line.
253 1.1 uwe #pseudo-device sl 2
254 1.1 uwe
255 1.1 uwe ## PPP, the successor to SLIP. See pppd(8).
256 1.1 uwe #pseudo-device ppp 2
257 1.1 uwe
258 1.1 uwe ## PPP over Ethernet (RFC 2516)
259 1.1 uwe #pseudo-device pppoe
260 1.1 uwe
261 1.1 uwe ## Network "tunnel" device, allowing protocol stacks to run in the userland.
262 1.1 uwe ## This is used by the third-party user-mode "ppp" program, and others.
263 1.1 uwe #pseudo-device tun 4
264 1.1 uwe
265 1.1 uwe ## Generic L3 over IP tunnel
266 1.1 uwe #pseudo-device gre 2 # generic L3 over IP tunnel
267 1.1 uwe
268 1.1 uwe ## Berkeley Packet Filter, required to run RARPD. A generic C-language
269 1.1 uwe ## interface that allows selective examining of incoming packets.
270 1.1 uwe pseudo-device bpfilter 8
271 1.1 uwe
272 1.1 uwe ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
273 1.1 uwe ## one example of the use of the IP Filter.
274 1.1 uwe #pseudo-device ipfilter
275 1.1 uwe
276 1.1 uwe ## for IPv6
277 1.1 uwe #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
278 1.1 uwe #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
279 1.1 uwe #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
280 1.1 uwe
281 1.1 uwe ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
282 1.1 uwe #pseudo-device vlan
283 1.1 uwe
284 1.1 uwe #### Audio and video devices
285 1.1 uwe
286 1.1 uwe ## /dev/audio support
287 1.3 uwe audiocs0 at ebus? # SUNW,CS4231
288 1.3 uwe audio* at audiocs0
289 1.1 uwe
290 1.1 uwe
291 1.1 uwe #### Other device configuration
292 1.1 uwe
293 1.1 uwe ## Pseudo ttys, required for network logins and programs like screen.
294 1.1 uwe
295 1.1 uwe pseudo-device pty # pseudo-terminals
296 1.1 uwe
297 1.1 uwe ## Random device, used to implement /dev/random (a source of random noise),
298 1.1 uwe ## and generate randomness for some kernel formulae.
299 1.1 uwe
300 1.1 uwe pseudo-device rnd
301 1.1 uwe
302 1.1 uwe # a pseudo device needed for Coda # also needs CODA (above)
303 1.1 uwe #pseudo-device vcoda 4 # coda minicache <-> venus comm.
304 1.10 lukem
305 1.10 lukem pseudo-device clockctl # user control of clock subsystem
306