1 # $NetBSD: NONPLUS64,v 1.29 2009/10/21 21:12:02 rmind Exp $
3 include "arch/sparc64/conf/std.sparc64"
5 #ident "NONPLUS64-$Revision: 1.30 $"
7 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 ## System kernel configuration. See options(4) for more detail.
13 #options AUDIO_DEBUG=1
15 # Options for variants of the Sun SPARC architecure.
16 # We currently support three architecture types; at least one is required.
17 options SUN4U # sun4u - UltraSPARC
18 options __ELF__ # we use elf
19 makeoptions SPARC_BINARIES=1
21 #### System options that are the same for all ports
23 ## Root device configuration: change the ?'s if you are going to use a
24 ## nonstandard root partition (other than where the kernel is booted from)
25 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
26 ## automagically determined at boot time.
28 config netbsd root on ? type ?
31 #options UVM_PAGE_TRKOWN
33 #options UVMHIST_PRINT # Loud!
35 ## System call tracing (see ktrace(1)).
38 ## Collect statistics on kernel malloc's and free's. This does have a
39 ## significant performance hit on slower machines, so it is intended for
40 ## diagnostic use only.
43 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
44 options SYSVMSG # System V message queues
45 options SYSVSEM # System V semaphores
46 options SYSVSHM # System V shared memory
48 ## Loadable kernel module support; still under development.
50 options USERCONF # userconf(4) support
51 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
52 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
54 ## NFS boot options; default on sparc is the bootparam protocol
55 options NFS_BOOT_BOOTPARAM
56 #options NFS_BOOT_BOOTP
57 #options NFS_BOOT_DHCP
59 #### Debugging options
61 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
62 ## serial console break or keyboard reset, where the PROM would normally
63 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
64 options DDB # kernel dynamic debugger
65 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
66 options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
68 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
69 ## such that gdb(1) can be used on a kernel coredump.
71 makeoptions DEBUG="-g"
74 ## Adds code to the kernel that does internal consistency checks, and will
75 ## cause the kernel to panic if corruption of internal data structures
77 #options DIAGNOSTIC # extra kernel sanity checking
79 ## Enable (possibly expensive) debugging code that may also display messages
80 ## on the system console
84 ## Enable printing of spl() transisions -- really slow
88 ## Make SCSI error messages more verbose when explaining their meanings.
92 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
93 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
94 ## and other insecurities good only for development work. Do not use this
95 ## option on a production machine.
98 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
99 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
100 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
101 ## opaque file mechanism. Perl calls this "secure setuid scripts."
104 #options SETUIDSCRIPTS
106 ## Options for compatibility with previous releases foreign system binaries.
107 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
108 ## additional user-level utilities or system configuration files. See
109 ## compat_sunos(8) and compat_svr4(8).
111 options COMPAT_43 # 4.3BSD system interfaces
112 options COMPAT_09 # NetBSD 0.9 binary compatibility
113 options COMPAT_10 # NetBSD 1.0 binary compatibility
114 options COMPAT_11 # NetBSD 1.1 binary compatibility
115 options COMPAT_12 # NetBSD 1.2 binary compatibility
116 options COMPAT_13 # NetBSD 1.3 binary compatibility
117 options COMPAT_14 # NetBSD 1.4 binary compatibility
118 options COMPAT_15 # NetBSD 1.5 binary compatibility
119 options COMPAT_16 # NetBSD 1.6 binary compatibility
120 options COMPAT_20 # NetBSD 2.0 binary compatibility
121 options COMPAT_30 # NetBSD 3.0 compatibility.
122 options COMPAT_40 # NetBSD 4.0 compatibility.
123 options COMPAT_SUNOS # SunOS 4.x binary compatibility
124 options COMPAT_SVR4 # SunOS 5.x binary compatibility
125 options COMPAT_SVR4_32 # 32-bit SVR4 binaries
126 options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility
127 options EXEC_ELF32 # Exec module for NetBSD/sparc 1.5 binaries.
128 #options SYSCALL_DEBUG
129 options EXEC_AOUT # Exec module for NetBSD/sparc pre-1.5 binaries.
131 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
132 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
134 ## File systems. You probably need at least one of FFS or NFS.
135 file-system FFS # Berkeley Fast Filesystem
136 file-system NFS # Sun NFS-compatible filesystem client
137 file-system KERNFS # kernel data-structure filesystem
138 file-system NULLFS # NULL layered filesystem
139 file-system OVERLAY # overlay file system
140 file-system MFS # memory-based filesystem
141 file-system FDESC # user file descriptor filesystem
142 file-system UMAPFS # uid/gid remapping filesystem
143 file-system LFS # Log-based filesystem (still experimental)
144 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
145 file-system PROCFS # /proc
146 file-system CD9660 # ISO 9660 + Rock Ridge file system
147 file-system UNION # union file system
148 file-system MSDOSFS # MS-DOS FAT filesystem(s).
149 file-system PTYFS # /dev/pts/N support
151 ## File system options.
152 options NFSSERVER # Sun NFS-compatible filesystem server
153 options QUOTA # FFS quotas
154 #options FFS_EI # FFS Endian Independent support
155 #options FFS_NO_SNAPSHOT # No FFS snapshot support
157 ## Network protocol support. In most environments, INET is required.
158 options INET # IP (Internet Protocol) v4
160 #options IPSEC # IP security
161 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
162 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
163 #options IPSEC_DEBUG # debug for IP security
164 #options TCP_SIGNATURE # TCP MD5 Signatures, for BGP routing sessions
165 options GATEWAY # packet forwarding ("router switch")
166 #options MROUTING # packet forwarding of multicast packets
167 #options PIM # Protocol Independent Multicast
168 #options DIRECTED_BROADCAST # allow broadcasts through routers
169 options ISO,TPIP # OSI networking
170 #options EON # OSI tunneling over IP
171 options NETATALK # AppleTalk (over Ethernet) protocol
172 options NTP # Network Time Protocol in-kernel support
173 #options PPS_SYNC # Add serial line synchronization for NTP
174 options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
175 #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
176 #options IPFILTER_LOOKUP # ippool(8) support
177 options PPP_BSDCOMP # Add BSD compression to ppp device
178 options PPP_DEFLATE # Add deflate (libz) compression to ppp device
179 options PPP_FILTER # Add active filters for ppp (via bpf)
180 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
183 #### Main bus and CPU .. all systems.
185 cpu0 at mainbus0 # UPA bus for the moment
187 #### Bus types found on SPARC systems.
189 sbus0 at mainbus0 # sun4c and sun4u
190 #pci* at mainbus0 # pci buses
191 #ebus* at pci? # ebus devices
193 #### Standard system devices -- all required for a given architecture
195 #pcons0 at mainbus0 # PROM console
197 ## Auxiliary system registers -- We use the OBP for power management
198 #auxio* at ebus? # auxio registers
199 #auxio* at sbus? slot ? offset ? # auxio registers
201 ## Auxiliary system registers on sun4c and sun4m
206 bpp0 at sbus0 slot ? offset ? # parallel port
207 # ecpp0 at pci0 # parallel port ?
210 clock0 at sbus0 slot ? offset ?
216 #### Serial port configuration
218 ## Zilog 8530 serial chips. Each has two-channels.
219 ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
220 #zs0 at sbus0 slot ? offset ?
221 #zstty0 at zs0 channel 0 # ttya
222 #zstty1 at zs0 channel 1 # ttyb
225 #zs1 at sbus0 slot ? offset ?
226 #kbd0 at zs1 channel 0 # keyboard
227 #ms0 at zs1 channel 1 # mouse
230 #zstty2 at zs1 channel 0 # ttya
231 #zstty3 at zs1 channel 1 # ttyb
232 #kbd0 at zstty2 # keyboard
233 #ms0 at zstty3 # mouse
235 #wildcard attach scheme
236 zs* at sbus? slot ? offset ?
237 zstty* at zs? channel ?
241 ## PCI machines apparently have serial ports
242 ## called `se' and `su'
244 ## Part of a PC87332VLJ?
245 #com* at ebus? # `com' driver
246 #kbd0 at com? # keyboard
249 ## This is the SAB82532 DUART
253 #### Disk controllers and disks
257 ## The following flags may be set for the NCR53c94 based esp driver:
258 ## bits 0-7: disable disconnect/reselect for the corresponding target
259 ## bits 8-15: disable synchronous negotiation for target [bit-8]
261 ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
262 ## Both `dma' and `esp' are needed in all cases.
263 ## Two kinds of additional SBus SCSI interfaces are available. One uses
264 ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
266 ## sun4/300 SCSI - an NCR53c94 or equivalent behind
267 ## an LSI Logic DMA controller
269 dma* at sbus? slot ? offset ? # SBus
270 esp* at dma? flags 0x0000 # SBus
273 ## FAS support missing
274 #fas* at sbus? slot ? offset ? flags 0x0000 # fast/wide NCR derivative
275 #scsi* at pci? # 53C875 "glm" compatible
278 ## Qlogic ISP SBus SCSI Card
279 #isp* at sbus? slot ? offset ?
282 ## These entries find devices on all SCSI busses and assign
283 ## unit numbers dynamically.
284 sd0 at scsibus? target 0 lun 0 # SCSI disks
285 sd1 at scsibus? target 1 lun 0 # SCSI disks
286 sd2 at scsibus? target 2 lun 0 # SCSI disks
287 sd3 at scsibus? target 3 lun 0 flags 0x10 # SCSI disks
288 sd4 at scsibus? target 4 lun 0 flags 0x10 # SCSI disks
289 sd5 at scsibus? target 5 lun 0 # SCSI disks
290 sd6 at scsibus? target 6 lun 0 # SCSI disks
291 sd* at scsibus? target ? lun ? # SCSI disks
292 st* at scsibus? target ? lun ? # SCSI tapes
293 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
294 ch* at scsibus? target ? lun ? # SCSI changer devices
295 ss* at scsibus? target ? lun ? # SCSI scanners
296 uk* at scsibus? target ? lun ? # unknown SCSI
299 ## Floppy controller and drive found on SPARCstations.
302 #fdc0 at pci? # Called fdthree?
303 #fd* at fdc0 # the drive itself
306 ## A disk-like interface to files. Can be used to create floppy, CD,
307 ## miniroot images, etc.
311 ## Concatenated and striped disks; with this, you can create a software-based
312 ## disk array similar to a "RAID 0" setup. See ccd(4).
316 ## Memory disk device, used on boot floppies with compressed
317 ## kernel-plus-root-disk images.
322 #### Network interfaces
324 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
325 ## Three flavors of additional SBus ethernets are available. One attaches
326 ## directly like the sun4c on-board, one uses the ledma device like the
327 ## sun4m on-board, and one uses the lebuffer device.
329 #options LANCE_REVC_BUG
332 ledma0 at sbus0 slot ? offset ? # sun4m on-board
333 le0 at ledma0 # sun4m on-board
334 #le* at sbus? slot ? offset ? # SBus
335 #ledma* at sbus? slot ? offset ? # SBus
336 #le* at ledma? # SBus
337 #lebuffer0 at sbus? slot ? offset ? # SBus
338 #le0 at lebuffer? # SBus
339 lebuffer* at sbus? slot ? offset ? # SBus
340 le* at lebuffer? # SBus
342 #hme0 at sbus0 slot ? offset ?
343 #network* at pci? # "hme" compatible
345 ## Loopback network interface; required
348 ## SLIP and CSLIP interfaces, for IP over a serial line.
351 ## PPP, the successor to SLIP. See pppd(8).
354 ## Starmode Radio IP, a special hardware network device.
357 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
358 ## This is used by the third-party user-mode "ppp" program, and others.
361 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
362 ## interface that allows selective examining of incoming packets.
363 pseudo-device bpfilter
365 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
366 ## one example of the use of the IP Filter.
367 pseudo-device ipfilter
370 #### Audio and video devices
372 ## /dev/audio support (`audiocs' plus `audio')
374 audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
378 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
379 ## systems. If your sun4 system has a cgfour installed in the P4 slot,
380 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
383 #bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
384 #bwtwo* at sbus? slot ? offset ? #
386 ## Sun "cgthree" Sbus color framebuffer
387 #cgthree0 at sbus? slot ? offset ?
388 #cgthree* at sbus? slot ? offset ?
390 ## Sun "cgsix" accelerated color framebuffer.
391 cgsix0 at sbus? slot ? offset ?
392 cgsix* at sbus? slot ? offset ?
394 ## Sun "tcx" accelerated color framebuffer.
395 #tcx0 at sbus? slot ? offset ?
396 #tcx* at sbus? slot ? offset ?
398 # Sun "cgfourteen" accelerated 24-bit framebuffer.
399 #cgfourteen0 at obio0 # sun4m
401 #### Other device configuration
403 ## Pseudo ttys, required for network logins and programs like screen.
405 pseudo-device pty # pseudo-ttys (for network, etc.)
407 ## Random device, used to implement /dev/random (a source of random noise),
408 ## and generate randomness for some kernel formulae.
409 ## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
413 pseudo-device clockctl # user control of clock subsystem
414 #pseudo-device fss 4 # file system snapshot device
415 pseudo-device putter # for puffs and pud