GENERIC32 revision 1.22 1 # $NetBSD: GENERIC32,v 1.22 2001/10/24 18:49:39 thorpej Exp $
2
3 include "arch/sparc64/conf/std.sparc64"
4
5 #ident "GENERIC-$Revision: 1.22 $"
6
7 maxusers 64
8
9 ## System kernel configuration. See options(4) for more detail.
10
11
12 # Options for variants of the Sun SPARC architecure.
13 # We currently support three architecture types; at least one is required.
14 options SUN4U # sun4u - UltraSPARC
15
16 ## System options specific to the sparc machine type
17
18 ## Use a faster console than the PROM's slow drawing routines. Not needed
19 ## for headless (no framebuffer) machines.
20 # XXX borken on sparc64
21 #options RASTERCONSOLE # fast rasterop console
22 #options FONT_GALLANT12x22 # the console font
23 #options FONT_BOLD8x16 # a somewhat smaller font
24
25 #### System options that are the same for all ports
26
27 ## Root device configuration: change the ?'s if you are going to use a
28 ## nonstandard root partition (other than where the kernel is booted from)
29 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
30 ## automagically determined at boot time.
31
32 config netbsd root on ? type ?
33
34 ## UVM options.
35 #options UVM_PAGE_TRKOWN
36 #options UVMHIST
37 #options UVMHIST_PRINT # Loud!
38
39 ## System call tracing (see ktrace(1)).
40 options KTRACE
41
42 ## Collect statistics on kernel malloc's and free's. This does have a
43 ## significant performance hit on slower machines, so it is intended for
44 ## diagnostic use only.
45 #options KMEMSTATS
46
47 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
48 options SYSVMSG # System V message queues
49 options SYSVSEM # System V semaphores
50 options SYSVSHM # System V shared memory
51 #options SHMMAXPGS=1024 # 1024 pages is the default
52
53 ## Loadable kernel module support; still under development.
54 options LKM
55
56 ## NFS boot options; default on sparc is the bootparam protocol
57 options NFS_BOOT_BOOTPARAM
58 #options NFS_BOOT_BOOTP
59 #options NFS_BOOT_DHCP
60
61 #### Debugging options
62
63 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
64 ## serial console break or keyboard reset, where the PROM would normally
65 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
66 # we enable DDB in GENERIC for now.
67 options DDB # kernel dynamic debugger
68 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
69 #options DDB_ONPANIC # see also sysctl(8): `ddb.onpanic'
70
71 ## You may also use gdb, on another computer connected to this machine over
72 ## a serial port. Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
73 ## a dev_t encoded device number of the serial port to use.
74 ## (0xc01 = ttya, 0xc02 = ttyb.)
75 #options KGDB # support for kernel gdb
76 #options KGDBDEV=0xc01 # kgdb device number (this sample is `ttyb')
77 #options KGDBRATE=38400 # baud rate
78
79
80 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
81 ## such that gdb(1) can be used on a kernel coredump.
82
83 #makeoptions DEBUG="-g"
84
85
86 ## Adds code to the kernel that does internal consistency checks, and will
87 ## cause the kernel to panic if corruption of internal data structures
88 ## is detected.
89 #options DIAGNOSTIC # extra kernel sanity checking
90
91 ## Enable (possibly expensive) debugging code that may also display messages
92 ## on the system console
93 #options DEBUG
94
95 ## Make SCSI error messages more verbose when explaining their meanings.
96 options SCSIVERBOSE
97 options PCIVERBOSE
98 options MIIVERBOSE # verbose PHY autoconfig messages
99 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
100
101 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
102 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
103 ## and other insecurities good only for development work. Do not use this
104 ## option on a production machine.
105 #options INSECURE
106
107 ## Allow non-root users to grab /dev/console with programs such as xconsole.
108 ## `xconsole' therefore does not need setuid root with this option enabled.
109 #options UCONSOLE
110
111 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
112 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
113 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
114 ## opaque file mechanism. Perl calls this "secure setuid scripts."
115
116 #options FDSCRIPTS
117 #options SETUIDSCRIPTS
118
119 ## Options for compatibility with previous releases foreign system binaries.
120 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
121 ## additional user-level utilities or system configuration files. See
122 ## compat_sunos(8) and compat_svr4(8).
123
124 options COMPAT_43 # 4.3BSD system interfaces
125 options COMPAT_09 # NetBSD 0.9 binary compatibility
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_SUNOS # SunOS 4.x binary compatibility
132 options COMPAT_SVR4 # SunOS 5.x binary compatibility
133 #options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only
134 #options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only
135 options EXEC_AOUT # execve(2) support for a.out binaries
136 options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
137 #options SYSCALL_DEBUG
138
139 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
140
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 OVERLAY # overlay file system
147 file-system MFS # memory-based filesystem
148 file-system FDESC # user file descriptor filesystem
149 file-system UMAPFS # uid/gid remapping filesystem
150 file-system LFS # Log-based filesystem (still experimental)
151 file-system PORTAL # portal filesystem (still experimental)
152 file-system PROCFS # /proc
153 file-system CD9660 # ISO 9660 + Rock Ridge file system
154 file-system UNION # union file system
155 file-system MSDOSFS # MS-DOS FAT filesystem(s).
156
157 ## File system options.
158 options NFSSERVER # Sun NFS-compatible filesystem server
159 options QUOTA # FFS quotas
160 #options FFS_EI # FFS Endian Independent support
161 options SOFTDEP # FFS soft updates support.
162
163 ## Network protocol support. In most environments, INET is required.
164 options INET # IP (Internet Protocol) v4
165 options INET6 # IPV6
166 #options IPSEC # IP security
167 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
168 #options IPSEC_DEBUG # debug for IP security
169 #options GATEWAY # packet forwarding ("router switch")
170 options MROUTING # packet forwarding of multicast packets
171 #options DIRECTED_BROADCAST # allow broadcasts through routers
172 options NS # Xerox NS networking
173 #options NSIP # Xerox NS tunneling over IP
174 options ISO,TPIP # OSI networking
175 options EON # OSI tunneling over IP
176 #options CCITT,LLC,HDLC # X.25 packet switched protocol
177 options NETATALK # AppleTalk (over Ethernet) protocol
178 options NTP # Network Time Protocol in-kernel support
179 #options PPS_SYNC # Add serial line synchronization for NTP
180 options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
181 options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
182 options PPP_BSDCOMP # Add BSD compression to ppp device
183 options PPP_DEFLATE # Add deflate (libz) compression to ppp device
184 options PPP_FILTER # Add active filters for ppp (via bpf)
185 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
186
187
188 #### Main bus and CPU .. all systems.
189 mainbus0 at root
190 cpu0 at mainbus0
191
192 #### Bus types found on SPARC systems.
193
194 sbus0 at mainbus0 # Ultra 1
195 #upa0 at mainbus0 # Ultra 1E, Ultra 2, Ex0000
196 psycho* at mainbus0 # Darwin, Ultra5
197 pci* at psycho?
198 pci* at ppb?
199 ppb* at pci? dev ? function ? # `APB' support.
200 #pci* at simba?
201 #simba* at pci? dev ? function ? # `APB' support.
202 ebus* at pci? # ebus devices
203 # XXX 'puc's aren't really bridges, but there's no better place for them here
204 puc* at pci? dev ? function ? # PCI "universal" comm. cards
205
206 #### Standard system devices -- all required for a given architecture
207
208 ## PROM console driver -- if all else fails
209 pcons0 at mainbus0 # PROM console
210
211 ## Auxiliary system registers -- We use the OBP for power management
212 auxio* at ebus? # auxio registers
213 auxio* at sbus? slot ? offset ? # auxio registers
214
215 # We also need:
216 bpp* at sbus? slot ? offset ? # parallel port
217 lpt* at ebus? # parallel port
218
219 ## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems.
220 ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
221 clock* at sbus? slot ? offset ?
222 clock* at ebus?
223
224 ## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
225 timer* at mainbus0 # sun4c
226
227 #### Serial port configuration
228
229 ## Zilog 8530 serial chips. Each has two-channels.
230 ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
231 zs* at sbus? slot ? offset ?
232 zstty* at zs? channel ? # ttya
233 kbd0 at zstty?
234 ms0 at zstty?
235
236 ## PCI machines have serial ports:
237 ## Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
238 ## Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
239
240 ## The SAB82532 controller has two serial ports
241 #sab* at ebus? # ttya/ttyb
242 #sabtty* at sab? channel ?
243
244 ## Part of a PC87332VLJ
245 com* at ebus? # `com' driver for `su'
246 kbd0 at com? # keyboard
247 ms0 at com? # mouse
248
249 # PCI serial interfaces
250 com* at puc? port ? # 16x50s on "universal" comm boards
251 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
252 cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
253
254 #### Disk controllers and disks
255
256 ## The following flags may be set for the NCR53c94 based esp driver:
257 ## bits 0-7: disable disconnect/reselect for the corresponding target
258 ## bits 8-15: disable synchronous negotiation for target [bit-8]
259
260 ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
261 ## equivalent behind an LSI Logic DMA controller
262
263 dma* at sbus? slot ? offset ? # SBus
264 esp* at dma? flags 0x0000 # SBus
265
266 ## FAS supported by esp driver
267 esp* at sbus? slot ? offset ?
268
269 scsibus* at esp?
270
271 ## Qlogic ISP SBus or PCI SCSI Card
272 isp* at sbus? slot ? offset ?
273 isp* at pci?
274 scsibus* at isp?
275
276 ## GLM support
277 siop* at pci? # 53C875 "glm" compatible
278 scsibus* at siop?
279
280 # PCI SCSI controllers (untested)
281 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
282 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
283 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
284 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
285 dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
286 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
287
288 scsibus* at scsi?
289
290 ## These entries find devices on all SCSI busses and assign
291 ## unit numbers dynamically.
292 sd* at scsibus? target ? lun ? # SCSI disks
293 st* at scsibus? target ? lun ? # SCSI tapes
294 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
295 ch* at scsibus? target ? lun ? # SCSI changer devices
296 ss* at scsibus? target ? lun ? # SCSI scanners
297 ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
298 uk* at scsibus? target ? lun ? # unknown SCSI
299
300 # PCI IDE.
301 pciide* at pci ? dev ? function ? flags 0x0000
302 atapibus* at pciide? channel ?
303
304 ## Disable UDMA 4 which causes data corruption on the Acer Labs
305 ## chipset on Sun Blade 100 and Netra X1 machines.
306 wd* at pciide? channel ? drive ? flags 0x0a00 # Disable UDMA 4
307
308
309 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
310 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
311 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
312
313 # RAID controllers and devices (untested)
314 cac* at pci? dev ? function ? # Compaq PCI array controllers
315 mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
316 twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
317
318 ld* at cac? unit ? # logical disk devices
319 ld* at twe? unit ?
320 ld* at mlx? unit ?
321
322 ## Floppy controller and drive found on SPARCstations.
323
324 # need share with the sparc, and everyone else. needs to use auxio.
325 # actually, the ebus version has (will have) direct access to it's AUXIO
326 # register space (it is mapped in to fdthree not auxio).
327 #fdc0 at sbus? slot ? offset ? # SUNW,fdtwo
328 #fdc0 at ebus? # fdthree
329 #fd* at fdc0 # the drive itself
330
331 ## A disk-like interface to files. Can be used to create floppy, CD,
332 ## miniroot images, etc.
333
334 pseudo-device vnd 4
335
336 ## Concatenated and striped disks; with this, you can create a software-based
337 ## disk array similar to a "RAID 0" setup. See ccd(4).
338
339 pseudo-device ccd 4
340
341 ## RAIDframe disk driver: software RAID driver. See raid(4).
342
343 pseudo-device raid 4
344 #options RAID_AUTOCONFIG # auto-configuration of RAID components
345
346 ## Memory disk device, used on boot floppies with compressed
347 ## kernel-plus-root-disk images.
348
349 pseudo-device md 1
350
351
352 #### Network interfaces
353
354 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
355 ## Three flavors of additional SBus ethernets are available. One attaches
356 ## directly like the sun4c on-board, one uses the ledma device like the
357 ## sun4m on-board, and one uses the lebuffer device.
358
359 ledma0 at sbus? slot ? offset ? # sun4m on-board
360 le0 at ledma0 # sun4m on-board
361 le* at sbus? slot ? offset ? # SBus
362 ledma* at sbus? slot ? offset ? # SBus
363 le* at ledma? # SBus
364 lebuffer0 at sbus? slot ? offset ? # SBus
365 le0 at lebuffer? # SBus
366 lebuffer* at sbus? slot ? offset ? # SBus
367 le* at lebuffer? # SBus
368
369 ## Happy Meal Ethernet
370 hme* at sbus? slot ? offset ?
371 hme* at pci? dev ? function ? # network "hme" compatible
372
373 ## qec/be, qec/hme
374 qec* at sbus? slot ? offset ?
375 be* at qec?
376 qe* at qec?
377
378 # PCI network interfaces
379 # UT marks untested.
380 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) UT
381 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet UT
382 en* at pci? dev ? function ? # ENI/Adaptec ATM UT
383 # XXX causes ICE
384 #ep* at pci? dev ? function ? # 3Com 3c59x
385 ex* at pci? dev ? function ? # 3Com 90x[B] UT
386 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet UT
387 esh* at pci? dev ? function ? # Essential HIPPI card UT
388 fpa* at pci? dev ? function ? # DEC DEFPA FDDI UT
389 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B UT
390 gem* at pci? dev ? function ? # Apple GMAC and Sun ERI gigabit enet
391 le* at pci? dev ? function ? # PCnet-PCI Ethernet UT
392 # XXX uses vtophys()
393 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
394 ne* at pci? dev ? function ? # NE2000-compatible Ethernet UT
395 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial UT
396 rtk* at pci? dev ? function ? # Realtek 8129/8139 UT
397 sip* at pci? dev ? function ? # SiS 900 Ethernet UT
398 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet UT
399 # XXX uses vtophys()
400 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
401 tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
402 #options TLP_MATCH_21040
403 #options TLP_MATCH_21041
404 #options TLP_MATCH_21140
405 #options TLP_MATCH_21142
406 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
407
408 # MII/PHY support
409 # XXX: only nsphy "tested"
410 dmphy* at mii? phy ? # Davicom DM9101 PHYs
411 exphy* at mii? phy ? # 3Com internal PHYs
412 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
413 inphy* at mii? phy ? # Intel 82555 PHYs
414 iophy* at mii? phy ? # Intel 82553 PHYs
415 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
416 nsphy* at mii? phy ? # NS83840 PHYs
417 nsphyter* at mii? phy ? # NS83843 PHYs
418 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
419 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
420 tlphy* at mii? phy ? # ThunderLAN PHYs
421 tqphy* at mii? phy ? # TDK Semiconductor PHYs
422 ukphy* at mii? phy ? # generic unknown PHYs
423
424 # PCI USB controllers
425 ohci* at pci? dev ? function ? # Open Host Controller
426
427 usb* at ohci? # USB bus support
428 uhub* at usb? # USB Hubs
429 uhub* at uhub? port ? configuration ? interface ?
430
431 uhid* at uhub? port ? configuration ? interface ? # USB Generic HID
432 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
433
434 umodem* at uhub? port ? configuration ? # USB Modem
435 ucom* at umodem?
436
437 umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
438 atapibus* at umass? channel ?
439 scsibus* at umass? channel ?
440
441 uaudio* at uhub? port ? configuration ? # USB audio
442
443 # USB Ethernet adapters
444 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
445 cue* at uhub? port ? # CATC USB-EL1201A based adapters
446 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
447
448 uscanner* at uhub? port ? # USB scanners
449 uyap* at uhub? port ? # Y@P firmware loader
450 ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
451
452 # PCI IEEE1394 controllers
453 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
454 #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
455 fw* at fwbus? # IP over 1394
456
457 # IEEE1394 nodes
458 #fwnode* at fwbus? oui ? devhi ? devlo ?
459 #scsibus* at fwnode?
460
461 ## Loopback network interface; required
462 pseudo-device loop
463
464 ## SLIP and CSLIP interfaces, for IP over a serial line.
465 pseudo-device sl 2
466
467 ## PPP, the successor to SLIP. See pppd(8).
468 pseudo-device ppp 2
469
470 ## Starmode Radio IP, a special hardware network device.
471 pseudo-device strip 1
472
473 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
474 ## This is used by the third-party user-mode "ppp" program, and others.
475 pseudo-device tun 4
476
477 ## Generic L3 over IP tunnel
478 #pseudo-device gre 2 # generic L3 over IP tunnel
479
480 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
481 ## interface that allows selective examining of incoming packets.
482 pseudo-device bpfilter 8
483
484 ## Simple inter-network traffic bridging
485 pseudo-device bridge
486
487 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
488 ## one example of the use of the IP Filter.
489 pseudo-device ipfilter
490
491 ## for IPv6
492 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
493 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
494 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
495
496
497 #### Audio and video devices
498
499 ## /dev/audio support (`audiocs' plus `audio')
500 ##
501 audiocs* at sbus? slot ? offset ? # SUNW,CS4231
502 audio* at audiocs?
503
504
505 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
506 ## systems. If your sun4 system has a cgfour installed in the P4 slot,
507 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
508 ## "cgfour".
509
510 #bwtwo0 at sbus? slot ? offset ? # sun4c and sun4m
511 #bwtwo* at sbus? slot ? offset ?
512
513 ## Sun "cgthree" Sbus color framebuffer
514 #cgthree0 at sbus? slot ? offset ?
515 #cgthree* at sbus? slot ? offset ?
516
517 ## Sun "cgsix" accelerated color framebuffer.
518 cgsix0 at sbus? slot ? offset ?
519 cgsix* at sbus? slot ? offset ?
520
521 ## Sun FFB not supported
522 #ffb* at upa?
523
524 #### Other device configuration
525
526 ## Pseudo ttys, required for network logins and programs like screen.
527
528 pseudo-device pty # pseudo-ttys (for network, etc.)
529
530 ## Random device, used to implement /dev/random (a source of random noise),
531 ## and generate randomness for some kernel formulae.
532
533 pseudo-device rnd
534