KRUPS revision 1.63 1 # $NetBSD: KRUPS,v 1.63 2013/04/27 21:43:41 christos Exp $
2 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
3 #
4 # Krups (JavaStation-NC) machine description file
5 #
6
7 include "arch/sparc/conf/std.sparc"
8
9 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10
11 #ident "KRUPS-$Revision: 1.63 $"
12
13 maxusers 32
14
15 ## System kernel configuration. See options(4) for more detail.
16
17
18 # Options for variants of the Sun SPARC architecure.
19 # We currently support three architecture types; at least one is required.
20 options SUN4M # sun4m - SS10, SS20, Classic, etc.
21
22 # microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc)
23 # This option selects if SUN4M means "normal" 4m or IIep. Kernels
24 # with this option turned on will refuse to work on normal 4m.
25 options MSIIEP # microSPARC-IIep
26
27 # XXX: uwe: PROM location conflicts with kernel VA space !!!
28 options PROM_AT_F0
29 makeoptions TEXTADDR=E8004000
30
31
32 ## System options specific to the sparc machine type
33
34 # Blink the power LED on some machines to indicate the system load.
35 options BLINK
36
37
38 #### System options that are the same for all ports
39
40 ## Root device configuration: change the ?'s if you are going to use a
41 ## nonstandard root partition (other than where the kernel is booted from)
42 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
43 ## automagically determined at boot time.
44
45 config netbsd root on ? type ?
46
47 ## System call tracing (see ktrace(1)).
48 options KTRACE
49
50 ## Collect statistics on kernel malloc's and free's. This does have a
51 ## significant performance hit on slower machines, so it is intended for
52 ## diagnostic use only.
53 #options KMEMSTATS
54
55 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
56 options SYSVMSG # System V message queues
57 options SYSVSEM # System V semaphores
58 #options SEMMNI=10 # number of semaphore identifiers
59 #options SEMMNS=60 # number of semaphores in system
60 #options SEMUME=10 # max number of undo entries per process
61 #options SEMMNU=30 # number of undo structures in system
62 options SYSVSHM # System V shared memory
63
64 #options USERCONF # userconf(4) support
65 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
66 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
67
68 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
69 options NFS_BOOT_BOOTPARAM
70 #options NFS_BOOT_BOOTP
71 options NFS_BOOT_DHCP
72
73
74 #### wscons options
75
76 # builtin terminal emulations
77 #options WSEMUL_SUN # sun terminal emulation
78 options WSEMUL_VT100 # VT100 / VT220 emulation
79 options WSEMUL_DEFAULT="\"vt100\""
80
81 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
82 options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
83 #options WS_DEFAULT_FG=WSCOL_WHITE
84 #options WS_DEFAULT_BG=WSCOL_BLACK
85 #options WS_DEFAULT_COLATTR="(0)"
86 options WS_KERNEL_FG=WSCOL_GREEN
87 #options WS_KERNEL_BG=WSCOL_BLACK
88 options WS_KERNEL_COLATTR=WSATTR_HILIT
89
90 # customization of console border color
91 options WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8)
92 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
93
94 # compatibility to other console drivers
95 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
96 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
97 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
98 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
99
100 options FONT_GALLANT12x22 # PROM font look-alike
101
102 #options WSKBD_EVENT_AUTOREPEAT # auto repeat in event mode
103 #options WSKBD_USONLY # strip off non-US keymaps
104
105 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
106 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
107
108 # allocate a number of virtual screens at autoconfiguration time
109 #options WSDISPLAY_DEFAULTSCREENS=4
110
111
112 #### Debugging options
113
114 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
115 ## serial console break or keyboard reset, where the PROM would normally
116 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
117 options DDB # kernel dynamic debugger
118 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
119 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
120
121 ## You may also use gdb, on another computer connected to this machine over
122 ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
123 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
124 ## the minor device number encodes the PROM enumeration of the serial ports,
125 ## i.e.:
126 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
127 ## (Note: ttyc and ttyd are available only on some sun4 models)
128 #options KGDB # support for kernel gdb
129 #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
130 #options KGDB_DEVRATE=38400 # baud rate
131
132
133 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
134 ## such that gdb(1) can be used on a kernel coredump.
135
136 #makeoptions DEBUG="-g"
137 makeoptions CPUFLAGS="-mcpu=supersparc"
138
139
140 ## Adds code to the kernel that does internal consistency checks, and will
141 ## cause the kernel to panic if corruption of internal data structures
142 ## is detected.
143 #options DIAGNOSTIC # extra kernel sanity checking
144
145 ## Enable (possibly expensive) debugging code that may also display messages
146 ## on the system console
147 #options DEBUG
148 #options LOCKDEBUG
149 #options SYSCALL_DEBUG
150
151 options MIIVERBOSE # verbose PHY autoconfig messages
152
153 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
154 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
155 ## and other insecurities good only for development work. Do not use this
156 ## option on a production machine.
157 #options INSECURE
158
159 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
160 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
161 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
162 ## opaque file mechanism. Perl calls this "secure setuid scripts."
163
164 #options FDSCRIPTS
165 #options SETUIDSCRIPTS
166
167 ## Options for compatibility with previous releases foreign system binaries.
168 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
169 ## additional user-level utilities or system configuration files. See
170 ## compat_sunos(8) and compat_svr4(8).
171
172 options COMPAT_43 # 4.3BSD system interfaces
173 options COMPAT_10 # NetBSD 1.0 binary compatibility
174 options COMPAT_11 # NetBSD 1.1 binary compatibility
175 options COMPAT_12 # NetBSD 1.2 binary compatibility
176 options COMPAT_13 # NetBSD 1.3 binary compatibility
177 options COMPAT_14 # NetBSD 1.4 binary compatibility
178 options COMPAT_15 # NetBSD 1.5 binary compatibility
179 options COMPAT_16 # NetBSD 1.6 binary compatibility
180 options COMPAT_20 # NetBSD 2.0 binary compatibility
181 options COMPAT_30 # NetBSD 3.0 binary compatibility
182 options COMPAT_40 # NetBSD 4.0 binary compatibility
183 options COMPAT_SUNOS # SunOS 4.x binary compatibility
184 options COMPAT_SVR4 # SunOS 5.x binary compatibility
185 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
186
187 ## File systems. You probably need at least one of FFS or NFS.
188 file-system FFS # Berkeley Fast Filesystem
189 file-system NFS # Sun NFS-compatible filesystem client
190 file-system KERNFS # kernel data-structure filesystem
191 file-system NULLFS # NULL layered filesystem
192 file-system OVERLAY # overlay file system
193 file-system MFS # memory-based filesystem
194 file-system FDESC # user file descriptor filesystem
195 file-system UMAPFS # uid/gid remapping filesystem
196 #file-system LFS # Log-based filesystem (still experimental)
197 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
198 file-system PROCFS # /proc
199 #file-system CD9660 # ISO 9660 + Rock Ridge file system
200 file-system UNION # union file system
201 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
202 #file-system CODA # Coda File System; also needs vcoda (below)
203 file-system PTYFS # /dev/pts/N support
204 #file-system TMPFS # Efficient memory file-system
205 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
206
207 ## File system options.
208 #options NFSSERVER # Sun NFS-compatible filesystem server
209 #options QUOTA # legacy UFS quotas
210 #options QUOTA2 # new, in-filesystem UFS quotas
211 #options FFS_EI # FFS Endian Independent support
212 options FFS_NO_SNAPSHOT # No FFS snapshot support
213
214 ## Network protocol support. In most environments, INET is required.
215 options INET # IP (Internet Protocol) v4
216 options INET6 # IPV6
217 #options IPSEC # IP security
218 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
219 #options IPSEC_DEBUG # debug for IP security
220 #options GATEWAY # packet forwarding ("router switch")
221 #options MROUTING # packet forwarding of multicast packets
222 #options PIM # Protocol Independent Multicast
223 #options DIRECTED_BROADCAST # allow broadcasts through routers
224 #options NETATALK # AppleTalk (over Ethernet) protocol
225 options NTP # Network Time Protocol in-kernel support
226 #options PPS_SYNC # Add serial line synchronization for NTP
227 options PFIL_HOOKS # Add pfil(9) packet filter hooks
228 options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
229 options IPFILTER_LOOKUP # ippool(8) support
230 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
231 options PPP_BSDCOMP # Add BSD compression to ppp device
232 options PPP_DEFLATE # Add deflate (libz) compression to ppp device
233 options PPP_FILTER # Add active filters for ppp (via bpf)
234
235
236
237 #### Main bus and CPU .. all systems.
238 mainbus0 at root
239 cpu0 at mainbus0
240
241 #### Bus types found on SPARC systems.
242
243 msiiep0 at mainbus0 # microSPARC-IIep PCIC, timer, ...
244
245 mspcic0 at msiiep0 # PCI tree
246 pci0 at mspcic0
247 options PCIVERBOSE
248 #options PCI_CONFIG_DUMP # hangs reading IGA1682 config past offset 64
249
250 ebus* at pci? dev ? function ? # ebus devices
251
252
253 #### Standard system devices -- all required for a given architecture
254
255 # timer is part of ms-IIep PCIC
256 timer0 at msiiep0
257
258 ## ds1287 TOD clock at EBus
259 rtc* at ebus?
260
261 #### Serial port configuration
262
263 ## NS16x50 serial chips and clones.
264 com* at ebus?
265
266
267 #### Disk controllers and disks
268
269 ## A disk-like interface to files. Can be used to create floppy, CD,
270 ## miniroot images, etc.
271
272 #pseudo-device vnd
273 #options VND_COMPRESSION # compressed vnd(4)
274
275 ## Memory disk device, used on boot floppies with compressed
276 ## kernel-plus-root-disk images.
277
278 #pseudo-device md
279
280
281 #### Network interfaces
282
283 ## Happy Meal Ethernet
284 hme* at pci? dev ? function ? # network "hme" compatible
285
286 # MII/PHY support
287 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
288
289 ## Loopback network interface; required
290 pseudo-device loop
291
292 ## SLIP and CSLIP interfaces, for IP over a serial line.
293 #pseudo-device sl
294
295 ## PPP, the successor to SLIP. See pppd(8).
296 #pseudo-device ppp
297
298 ## PPP over Ethernet (RFC 2516)
299 #pseudo-device pppoe
300
301 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
302 ## This is used by the third-party user-mode "ppp" program, and others.
303 #pseudo-device tun
304 #pseudo-device tap # virtual Ethernet
305
306 ## Generic L3 over IP tunnel
307 #pseudo-device gre # generic L3 over IP tunnel
308
309 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
310 ## interface that allows selective examining of incoming packets.
311 pseudo-device bpfilter
312
313 #pseudo-device carp # Common Address Redundancy Protocol
314
315 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
316 ## one example of the use of the IP Filter.
317 #pseudo-device ipfilter
318
319 ## for IPv6
320 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
321 #pseudo-device faith # IPv[46] tcp relay translation i/f
322 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
323
324 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
325 #pseudo-device vlan
326
327 #### Audio and video devices
328
329 ## /dev/audio support
330 audiocs* at ebus? # SUNW,CS4231
331 audio* at audiocs?
332
333 # wscons
334 pckbc* at ebus? # PC keyboard controller
335 pckbd* at pckbc? # PC keyboard
336 pms* at pckbc? # PS/2 mouse for wsmouse
337 igsfb* at pci? dev ? function ?
338 wsdisplay* at igsfb? console ?
339 wskbd* at pckbd? console ?
340 wsmouse* at pms? mux 0
341
342
343 #### Other device configuration
344
345 ## Pseudo ttys, required for network logins and programs like screen.
346
347 pseudo-device pty # pseudo-terminals
348
349 ## Random device, used to implement /dev/random (a source of random noise),
350 ## and generate randomness for some kernel formulae.
351
352
353 # a pseudo device needed for Coda # also needs CODA (above)
354 #pseudo-device vcoda # coda minicache <-> venus comm.
355
356 # wscons pseudo-devices
357 pseudo-device wsmux # mouse & keyboard multiplexor
358 pseudo-device wsfont
359
360 pseudo-device clockctl # user control of clock subsystem
361 pseudo-device ksyms # /dev/ksyms
362 pseudo-device putter # for puffs and pud
363
364 #pseudo-device pf # PF packet filter
365 #pseudo-device pflog # PF log if
366 #pseudo-device fss # file system snapshot device
367
368 #options FILEASSOC # fileassoc(9)
369
370 # Veriexec
371 #
372 # a pseudo device needed for veriexec
373 #pseudo-device veriexec
374 #
375 # Uncomment the fingerprint methods below that are desired. Note that
376 # removing fingerprint methods will have almost no impact on the kernel
377 # code size.
378 #
379 #options VERIFIED_EXEC_FP_RMD160
380 #options VERIFIED_EXEC_FP_SHA256
381 #options VERIFIED_EXEC_FP_SHA384
382 #options VERIFIED_EXEC_FP_SHA512
383 #options VERIFIED_EXEC_FP_SHA1
384 #options VERIFIED_EXEC_FP_MD5
385
386 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
387 # (for static binaries only for now)
388