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