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