1 # $NetBSD: BILL-THE-CAT,v 1.46 2009/09/27 13:27:44 tsutsui Exp $
2 # From: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg Exp
4 include "arch/sparc/conf/std.sparc"
6 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10 ## System kernel configuration. See options(4) for more detail.
13 # Options for variants of the Sun SPARC architecure.
14 # We currently support three architecture types; at least one is required.
15 #options SUN4 # sun4/100, sun4/200, sun4/300
16 #options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
17 options SUN4M # sun4m - SS10, SS20, Classic, etc.
19 #options SUN4_MMU3L # 3-level MMU on sun4/400
21 ## System options specific to the sparc machine type
23 # Blink the power LED on some machines to indicate the system load.
26 ## Use a faster console than the PROM's slow drawing routines. Not needed
27 ## for headless (no framebuffer) machines.
28 options RASTERCONSOLE # fast rasterop console
29 options FONT_GALLANT12x22 # the console font
30 options FONT_BOLD8x16 # a somewhat smaller font
31 #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
32 #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
34 #### System options that are the same for all ports
36 ## Root device configuration: change the ?'s if you are going to use a
37 ## nonstandard root partition (other than where the kernel is booted from)
38 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
39 ## automagically determined at boot time.
41 config netbsd root on ? type ?
43 ## System call tracing (see ktrace(1)).
46 ## Collect statistics on kernel malloc's and free's. This does have a
47 ## significant performance hit on slower machines, so it is intended for
48 ## diagnostic use only.
51 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
52 #options SYSVMSG # System V message queues
53 options SYSVSEM # System V semaphores
54 options SYSVSHM # System V shared memory
56 ## Loadable kernel module support; still under development.
58 options USERCONF # userconf(4) support
59 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
60 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
62 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
63 #options NFS_BOOT_BOOTPARAM
64 #options NFS_BOOT_BOOTP
65 #options NFS_BOOT_DHCP
67 #### Debugging options
69 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
70 ## serial console break or keyboard reset, where the PROM would normally
71 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
72 #options DDB # kernel dynamic debugger
73 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
74 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
76 ## You may also use gdb, on another computer connected to this machine over
77 ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
78 ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
79 ## (0xc01 = ttya, 0xc02 = ttyb.)
80 #options KGDB # support for kernel gdb
81 #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
82 #options KGDB_DEVRATE=38400 # baud rate
85 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
86 ## such that gdb(1) can be used on a kernel coredump.
88 #makeoptions DEBUG="-g"
91 ## Adds code to the kernel that does internal consistency checks, and will
92 ## cause the kernel to panic if corruption of internal data structures
94 options DIAGNOSTIC # extra kernel sanity checking
96 ## Enable (possibly expensive) debugging code that may also display messages
97 ## on the system console
100 ## Make SCSI error messages more verbose when explaining their meanings.
103 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
104 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
105 ## and other insecurities good only for development work. Do not use this
106 ## option on a production machine.
109 ## Allow non-root users to grab /dev/console with programs such as xconsole.
110 ## `xconsole' therefore does not need setuid root with this option enabled.
112 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
113 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
114 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
115 ## opaque file mechanism. Perl calls this "secure setuid scripts."
118 #options SETUIDSCRIPTS
120 ## Options for compatibility with previous releases foreign system binaries.
121 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
122 ## additional user-level utilities or system configuration files. See
123 ## compat_sunos(8) and compat_svr4(8).
125 options COMPAT_43 # 4.3BSD system interfaces
126 options COMPAT_10 # NetBSD 1.0 binary compatibility
127 options COMPAT_11 # NetBSD 1.1 binary compatibility
128 options COMPAT_12 # NetBSD 1.2 binary compatibility
129 options COMPAT_13 # NetBSD 1.3 binary compatibility
130 options COMPAT_14 # NetBSD 1.4 binary compatibility
131 options COMPAT_15 # NetBSD 1.5 binary compatibility
132 options COMPAT_16 # NetBSD 1.6 binary compatibility
133 options COMPAT_20 # NetBSD 2.0 binary compatibility
134 options COMPAT_30 # NetBSD 3.0 binary compatibility
135 options COMPAT_40 # NetBSD 4.0 binary compatibility
136 options COMPAT_SUNOS # SunOS 4.x binary compatibility
137 options COMPAT_SVR4 # SunOS 5.x binary compatibility
138 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
139 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
141 ## File systems. You probably need at least one of FFS or NFS.
142 file-system FFS # Berkeley Fast Filesystem
143 file-system NFS # Sun NFS-compatible filesystem client
144 #file-system KERNFS # kernel data-structure filesystem
145 #file-system NULLFS # NULL layered filesystem
146 #file-system MFS # memory-based filesystem
147 file-system FDESC # user file descriptor filesystem
148 #file-system UMAPFS # uid/gid remapping filesystem
149 #file-system LFS # Log-based filesystem (still experimental)
150 #file-system PROCFS # /proc
151 file-system CD9660 # ISO 9660 + Rock Ridge file system
152 #file-system UNION # union file system
153 file-system MSDOSFS # MS-DOS FAT filesystem(s).
154 file-system PTYFS # /dev/pts/N support
156 ## File system options.
157 #options NFSSERVER # Sun NFS-compatible filesystem server
158 #options QUOTA # FFS quotas
159 #options FFS_EI # FFS Endian Independent support
160 #options FFS_NO_SNAPSHOT # No FFS snapshot support
162 ## Network protocol support. In most environments, INET is required.
163 options INET # IP (Internet Protocol) v4
164 #options GATEWAY # packet forwarding ("router switch")
165 #options MROUTING # packet forwarding of multicast packets
166 #options PIM # Protocol Independent Multicast
167 #options DIRECTED_BROADCAST # allow broadcasts through routers
168 #options ISO,TPIP # OSI networking
169 #options EON # OSI tunneling over IP
170 #options NETATALK # AppleTalk (over Ethernet) protocol
171 #options NTP # Network Time Protocol in-kernel support
172 #options PPS_SYNC # Add serial line synchronization for NTP
173 #options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
174 #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
175 #options IPFILTER_LOOKUP # ippool(8) support
176 #options PPP_BSDCOMP # Add BSD compression to ppp device
177 #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
178 #options PPP_FILTER # Add active filters for ppp (via bpf)
179 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
182 #### Main bus and CPU .. all systems.
186 #### Bus types found on SPARC systems.
188 #sbus0 at mainbus0 # sun4c
189 obio0 at mainbus0 # sun4 and sun4m
190 #sparcvme0 at mainbus0 # sun4
191 iommu0 at mainbus0 # sun4m
192 sbus0 at iommu0 # sun4m
193 #sparcvme0 at iommu0 # sun4m
194 #vme0 at sparcvme0 # mi VME attachment
197 #xbox* at sbus? slot ? offset ?
200 ## SBus to PCMCIA bridge
201 #nell* at sbus? slot ? offset ? # PCMCIA bridge
204 #### Standard system devices -- all required for a given architecture
206 ## Auxiliary system registers on sun4c and sun4m
207 #auxreg0 at mainbus0 # sun4c
208 auxreg0 at obio0 # sun4m
210 ## Power status and control register on Sun4m systems
213 ## Mostek clock found on 4/300, sun4c, and sun4m systems.
214 ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
215 #clock0 at mainbus0 # sun4c
216 clock0 at obio0 # sun4m
217 #clock0 at obio0 addr 0xf2000000 # sun4/300
219 ## Intersil clock found on 4/100 and 4/200 systems.
220 #oclock0 at obio0 addr 0xf3000000 # sun4/200
221 #oclock0 at obio0 addr 0x03000000 # sun4/100
223 ## Memory error registers.
224 #memreg0 at mainbus0 # sun4c
225 #memreg0 at obio0 # sun4m
226 #memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
227 #memreg0 at obio0 addr 0x04000000 # sun4/100
229 ## ECC memory control
230 #eccmemctl0 at mainbus0 # sun4m
232 ## Timer chip found on 4/300, sun4c, and sun4m systems.
233 #timer0 at mainbus0 # sun4c
234 timer0 at obio0 # sun4m
235 #timer0 at obio0 addr 0xef000000 # sun4/300
237 ## EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
238 ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
239 ## Mostek clock chip on 4/300 systems.
240 #eeprom0 at obio0 addr 0xf2000000 # sun4/200
241 #eeprom0 at obio0 addr 0x02000000 # sun4/100
244 #### Serial port configuration
246 ## Zilog 8530 serial chips. Each has two-channels.
247 ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
248 #zs0 at mainbus0 # sun4c
250 #zs0 at obio0 addr 0xf1000000 level 12 flags 0x103 # sun4/200 and sun4/300
251 #zs0 at obio0 addr 0x01000000 level 12 flags 0x103 # sun4/100
252 zstty0 at zs0 channel 0 # ttya
253 zstty1 at zs0 channel 1 # ttyb
255 #zs1 at mainbus0 # sun4c
257 #zs1 at obio0 addr 0xf0000000 level 12 flags 0x103 # sun4/200 and sun4/300
258 #zs1 at obio0 addr 0x00000000 level 12 flags 0x103 # sun4/100
259 kbd0 at zs1 channel 0 # keyboard
260 ms0 at zs1 channel 1 # mouse
262 #zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300
263 #zstty2 at zs2 channel 0 # ttyc
264 #zstty3 at zs2 channel 1 # ttyd
267 ## Magma Serial/Parallel driver
268 #magma* at sbus? slot ? offset ?
272 ## PCMCIA serial interfaces
277 #### Disk controllers and disks
281 ## The following flags may be set for the NCR53c94 based esp driver:
282 ## bits 0-7: disable disconnect/reselect for the corresponding target
283 ## bits 8-15: disable synchronous negotiation for target [bit-8]
285 ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
286 ## Both `dma' and `esp' are needed in all cases.
287 ## Two kinds of additional SBus SCSI interfaces are available. One uses
288 ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
290 ## sun4/300 SCSI - an NCR53c94 or equivalent behind
291 ## an LSI Logic DMA controller
293 #dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
294 #esp0 at obio0 addr 0xfa000000 level 4 flags 0x0000 # sun4/300
296 dma0 at sbus0 slot ? offset ? # sun4c/sun4m
297 #esp0 at sbus0 slot ? offset ? flags 0x0000 # sun4c
298 esp0 at dma0 flags 0x0000 # sun4m
301 #dma* at sbus? slot ? offset ? # SBus
302 #esp* at sbus? slot ? offset ? flags 0x0000 # SBus (older proms)
303 #esp* at dma? flags 0x0000 # SBus
307 ## Qlogic ISP SBus SCSI Card
308 #isp* at sbus? slot ? offset ?
311 ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
312 ## This driver has several flags which may be enabled by OR'ing
313 ## the values and using the "flags" directive.
316 ## 0x01 Use DMA (may be polled)
317 ## 0x02 Use DMA completion interrupts
318 ## 0x04 Allow disconnect/reselect
320 ## E.g. the following would enable DMA, interrupts, and reselect:
321 ## si0 at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
323 ## By default, DMA is enabled in the driver.
325 #si0 at vme0 addr 0x200000 irq 2 vect 0x40
328 ## NCR5380-based "SCSI Weird" on-board SCSI interface found
329 ## on sun4/100 systems. The flags are the same as the "si"
330 ## controller. Note, while DMA is enabled by default, only
331 ## polled DMA works at this time, and reselects do not work
332 ## on this particular controller.
334 #sw0 at obio0 addr 0x0a000000 level 3
337 ## PCMCIA SCSI controllers
342 ## These entries find devices on all SCSI busses and assign
343 ## unit numbers dynamically.
344 sd* at scsibus? target ? lun ? # SCSI disks
345 st* at scsibus? target ? lun ? # SCSI tapes
346 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
347 #ch* at scsibus? target ? lun ? # SCSI changer devices
348 #ss* at scsibus? target ? lun ? # SCSI scanners
349 #uk* at scsibus? target ? lun ? # unknown SCSI
352 ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
354 #xdc0 at vme0 addr 0xee80 irq 3 vect 0x44
355 #xdc1 at vme0 addr 0xee90 irq 3 vect 0x45
356 #xdc2 at vme0 addr 0xeea0 irq 3 vect 0x46
357 #xdc3 at vme0 addr 0xeeb0 irq 3 vect 0x47
360 ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
362 #xyc0 at vme0 addr 0xee40 irq 3 vect 0x48
363 #xyc1 at vme0 addr 0xee48 irq 3 vect 0x49
367 ## Floppy controller and drive found on SPARCstations.
369 #fdc0 at mainbus0 # sun4c controller
370 fdc0 at obio0 # sun4m controller
371 fd* at fdc0 # the drive itself
373 ## PCMCIA IDE controllers
377 ## A disk-like interface to files. Can be used to create floppy, CD,
378 ## miniroot images, etc.
382 ## Concatenated and striped disks; with this, you can create a software-based
383 ## disk array similar to a "RAID 0" setup. See ccd(4).
387 ## RAIDframe disk driver: software RAID driver. See raid(4).
389 #pseudo-device raid 4
391 ## Memory disk device, used on boot floppies with compressed
392 ## kernel-plus-root-disk images.
397 #### Network interfaces
399 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
400 ## Three flavors of additional SBus ethernets are available. One attaches
401 ## directly like the sun4c on-board, one uses the ledma device like the
402 ## sun4m on-board, and one uses the lebuffer device.
404 #le0 at obio0 addr 0xf9000000 level 6 # sun4/300
405 #le0 at sbus0 slot ? offset ? # sun4c on-board
406 ledma0 at sbus0 slot ? offset ? # sun4m on-board
407 le0 at ledma0 # sun4m on-board
408 #le* at sbus? slot ? offset ? # SBus
409 #ledma* at sbus? slot ? offset ? # SBus
410 #le* at ledma? # SBus
411 #lebuffer0 at sbus? slot ? offset ? # SBus
412 #le0 at lebuffer? # SBus
413 #lebuffer* at sbus? slot ? offset ? # SBus
414 #le* at lebuffer? # SBus
417 ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
418 ## or on a Multibus/VME card.
419 #ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
420 #ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
421 #ie1 at vme0 addr 0xe88000 irq 3 vect 0x75 # VME
422 #ie2 at vme0 addr 0x31ff02 irq 3 vect 0x76 # VME
423 #ie3 at vme0 addr 0x35ff02 irq 3 vect 0x77 # VME
424 #ie4 at vme0 addr 0x2dff02 irq 3 vect 0x7c # VME
427 #qec* at sbus? slot ? offset ?
432 #en0 at sbus? slot ? offset ?
434 # PCMCIA ethernet devices
441 #exphy* at mii? phy ? # 3Com internal PHYs
442 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
443 #inphy* at mii? phy ? # Intel 82555 PHYs
444 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
445 #nsphy* at mii? phy ? # NS83840 PHYs
446 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
447 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
448 #tlphy* at mii? phy ? # ThunderLAN PHYs
449 #ukphy* at mii? phy ? # generic unknown PHYs
451 ## Loopback network interface; required
454 ## SLIP and CSLIP interfaces, for IP over a serial line.
457 ## PPP, the successor to SLIP. See pppd(8).
460 ## Starmode Radio IP, a special hardware network device.
463 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
464 ## This is used by the third-party user-mode "ppp" program, and others.
467 ## Generic L3 over IP tunnel
468 #pseudo-device gre # generic L3 over IP tunnel
470 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
471 ## interface that allows selective examining of incoming packets.
472 pseudo-device bpfilter
474 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
475 ## one example of the use of the IP Filter.
476 #pseudo-device ipfilter
479 #### Audio and video devices
481 ## /dev/audio support (`audioamd' plus `audio')
483 #audioamd0 at mainbus0 # sun4c
484 #audioamd0 at obio0 # sun4m
485 audioamd0 at sbus0 slot ? offset ? # sun4m
488 #audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
492 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
493 ## systems. If your sun4 system has a cgfour installed in the P4 slot,
494 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
497 #bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
498 #bwtwo* at sbus? slot ? offset ? #
499 #bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
500 #bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
501 #bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
503 ## Sun "cgtwo" VME color framebuffer
504 #cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
506 ## Sun "cgthree" Sbus color framebuffer
507 cgthree0 at sbus? slot ? offset ?
508 cgthree* at sbus? slot ? offset ?
510 ## Sun "cgfour" color framebuffer with overlay plane. See above comment
511 ## regarding overlay plane.
512 #cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
513 #cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
515 ## Sun "cgsix" accelerated color framebuffer.
516 #cgsix0 at sbus? slot ? offset ?
517 #cgsix* at sbus? slot ? offset ?
518 #cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
519 #cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
521 ## Sun "cgeight" 24-bit framebuffer
522 #cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
523 #cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
525 ## Sun "tcx" accelerated color framebuffer.
526 #tcx0 at sbus? slot ? offset ?
527 #tcx* at sbus? slot ? offset ?
529 # Sun "cgfourteen" accelerated 24-bit framebuffer.
530 #cgfourteen0 at obio0 # sun4m
533 #### Other device configuration
535 ## Pseudo ttys, required for network logins and programs like screen.
537 pseudo-device pty # pseudo-ttys (for network, etc.)
539 ## Random device, used to implement /dev/random (a source of random noise),
540 ## and generate randomness for some kernel formulae.
544 pseudo-device clockctl # user control of clock subsystem
546 #pseudo-device fss 4 # file system snapshot device