GENERIC32 revision 1.25 1 # $NetBSD: GENERIC32,v 1.25 2001/11/20 12:56:39 lukem Exp $
2
3 include "arch/sparc64/conf/std.sparc64"
4
5 #ident "GENERIC-$Revision: 1.25 $"
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 KGDB_DEV and KGDB_DEVRATE should be specified;
73 ## KGDB_DEV is 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 KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
77 #options KGDB_DEVRATE=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
281 # UT marks untested.
282 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
283 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
284 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI UT
285 bha* at pci? dev ? function ? # BusLogic 9xx SCSI UT
286 dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID UT
287 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
288 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI UT
289 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
290
291 scsibus* at scsi?
292
293 ## These entries find devices on all SCSI busses and assign
294 ## unit numbers dynamically.
295 sd* at scsibus? target ? lun ? # SCSI disks
296 st* at scsibus? target ? lun ? # SCSI tapes
297 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
298 ch* at scsibus? target ? lun ? # SCSI changer devices
299 ss* at scsibus? target ? lun ? # SCSI scanners
300 ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
301 uk* at scsibus? target ? lun ? # unknown SCSI
302
303 # PCI IDE.
304 pciide* at pci ? dev ? function ? flags 0x0000
305 atapibus* at pciide? channel ?
306
307 ## Disable UDMA 4 which causes data corruption on the Acer Labs
308 ## chipset on Sun Blade 100 and Netra X1 machines.
309 wd* at pciide? channel ? drive ? flags 0x0a00 # Disable UDMA 4
310
311
312 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
313 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
314 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
315
316 # RAID controllers and devices (untested)
317 cac* at pci? dev ? function ? # Compaq PCI array controllers
318 mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
319 twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
320
321 ld* at cac? unit ? # logical disk devices
322 ld* at twe? unit ?
323 ld* at mlx? unit ?
324
325 ## Floppy controller and drive found on SPARCstations.
326
327 # need share with the sparc, and everyone else. needs to use auxio.
328 # actually, the ebus version has (will have) direct access to it's AUXIO
329 # register space (it is mapped in to fdthree not auxio).
330 #fdc0 at sbus? slot ? offset ? # SUNW,fdtwo
331 #fdc0 at ebus? # fdthree
332 #fd* at fdc0 # the drive itself
333
334 ## A disk-like interface to files. Can be used to create floppy, CD,
335 ## miniroot images, etc.
336
337 pseudo-device vnd 4
338
339 ## Concatenated and striped disks; with this, you can create a software-based
340 ## disk array similar to a "RAID 0" setup. See ccd(4).
341
342 pseudo-device ccd 4
343
344 ## RAIDframe disk driver: software RAID driver. See raid(4).
345
346 pseudo-device raid 4
347 #options RAID_AUTOCONFIG # auto-configuration of RAID components
348
349 ## Memory disk device, used on boot floppies with compressed
350 ## kernel-plus-root-disk images.
351
352 pseudo-device md 1
353
354
355 #### Network interfaces
356
357 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
358 ## Three flavors of additional SBus ethernets are available. One attaches
359 ## directly like the sun4c on-board, one uses the ledma device like the
360 ## sun4m on-board, and one uses the lebuffer device.
361
362 ledma0 at sbus? slot ? offset ? # sun4m on-board
363 le0 at ledma0 # sun4m on-board
364 le* at sbus? slot ? offset ? # SBus
365 ledma* at sbus? slot ? offset ? # SBus
366 le* at ledma? # SBus
367 lebuffer0 at sbus? slot ? offset ? # SBus
368 le0 at lebuffer? # SBus
369 lebuffer* at sbus? slot ? offset ? # SBus
370 le* at lebuffer? # SBus
371
372 ## Happy Meal Ethernet
373 hme* at sbus? slot ? offset ?
374 hme* at pci? dev ? function ? # network "hme" compatible
375
376 ## qec/be, qec/hme
377 qec* at sbus? slot ? offset ?
378 be* at qec?
379 qe* at qec?
380
381 # PCI network interfaces
382 # UT marks untested.
383 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) UT
384 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet UT
385 en* at pci? dev ? function ? # ENI/Adaptec ATM UT
386 # XXX causes ICE
387 #ep* at pci? dev ? function ? # 3Com 3c59x
388 ex* at pci? dev ? function ? # 3Com 90x[B] UT
389 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet UT
390 esh* at pci? dev ? function ? # Essential HIPPI card UT
391 fpa* at pci? dev ? function ? # DEC DEFPA FDDI UT
392 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B UT
393 gem* at pci? dev ? function ? # Apple GMAC and Sun ERI gigabit enet
394 le* at pci? dev ? function ? # PCnet-PCI Ethernet UT
395 # XXX uses vtophys()
396 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
397 ne* at pci? dev ? function ? # NE2000-compatible Ethernet UT
398 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial UT
399 rtk* at pci? dev ? function ? # Realtek 8129/8139 UT
400 sip* at pci? dev ? function ? # SiS 900 Ethernet UT
401 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet UT
402 # XXX uses vtophys()
403 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
404 tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
405 #options TLP_MATCH_21040
406 #options TLP_MATCH_21041
407 #options TLP_MATCH_21140
408 #options TLP_MATCH_21142
409 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
410
411 # MII/PHY support
412 # XXX: only nsphy "tested"
413 dmphy* at mii? phy ? # Davicom DM9101 PHYs
414 exphy* at mii? phy ? # 3Com internal PHYs
415 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
416 inphy* at mii? phy ? # Intel 82555 PHYs
417 iophy* at mii? phy ? # Intel 82553 PHYs
418 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
419 nsphy* at mii? phy ? # NS83840 PHYs
420 nsphyter* at mii? phy ? # NS83843 PHYs
421 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
422 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
423 tlphy* at mii? phy ? # ThunderLAN PHYs
424 tqphy* at mii? phy ? # TDK Semiconductor PHYs
425 ukphy* at mii? phy ? # generic unknown PHYs
426
427 # PCI USB controllers
428 ohci* at pci? dev ? function ? # Open Host Controller
429
430 usb* at ohci? # USB bus support
431 uhub* at usb? # USB Hubs
432 uhub* at uhub? port ? configuration ? interface ?
433
434 uhid* at uhub? port ? configuration ? interface ? # USB Generic HID
435 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
436
437 umodem* at uhub? port ? configuration ? # USB Modem
438 ucom* at umodem?
439
440 umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
441 atapibus* at umass? channel ?
442 scsibus* at umass? channel ?
443
444 uaudio* at uhub? port ? configuration ? # USB audio
445
446 # USB Ethernet adapters
447 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
448 cue* at uhub? port ? # CATC USB-EL1201A based adapters
449 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
450
451 uscanner* at uhub? port ? # USB scanners
452 uyap* at uhub? port ? # Y@P firmware loader
453 ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
454
455 # PCI IEEE1394 controllers
456 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
457 #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
458 fw* at fwbus? # IP over 1394
459
460 # IEEE1394 nodes
461 #fwnode* at fwbus? oui ? devhi ? devlo ?
462 #scsibus* at fwnode?
463
464 ## Loopback network interface; required
465 pseudo-device loop
466
467 ## SLIP and CSLIP interfaces, for IP over a serial line.
468 pseudo-device sl 2
469
470 ## PPP, the successor to SLIP. See pppd(8).
471 pseudo-device ppp 2
472
473 ## Starmode Radio IP, a special hardware network device.
474 pseudo-device strip 1
475
476 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
477 ## This is used by the third-party user-mode "ppp" program, and others.
478 pseudo-device tun 4
479
480 ## Generic L3 over IP tunnel
481 #pseudo-device gre 2 # generic L3 over IP tunnel
482
483 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
484 ## interface that allows selective examining of incoming packets.
485 pseudo-device bpfilter 8
486
487 ## Simple inter-network traffic bridging
488 pseudo-device bridge
489
490 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
491 ## one example of the use of the IP Filter.
492 pseudo-device ipfilter
493
494 ## for IPv6
495 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
496 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
497 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
498
499
500 #### Audio and video devices
501
502 ## /dev/audio support (`audiocs' plus `audio')
503 ##
504 audiocs* at sbus? slot ? offset ? # SUNW,CS4231
505 audio* at audiocs?
506
507
508 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
509 ## systems. If your sun4 system has a cgfour installed in the P4 slot,
510 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
511 ## "cgfour".
512
513 #bwtwo0 at sbus? slot ? offset ? # sun4c and sun4m
514 #bwtwo* at sbus? slot ? offset ?
515
516 ## Sun "cgthree" Sbus color framebuffer
517 #cgthree0 at sbus? slot ? offset ?
518 #cgthree* at sbus? slot ? offset ?
519
520 ## Sun "cgsix" accelerated color framebuffer.
521 cgsix0 at sbus? slot ? offset ?
522 cgsix* at sbus? slot ? offset ?
523
524 ## Sun FFB not supported
525 #ffb* at upa?
526
527 #### Other device configuration
528
529 ## Pseudo ttys, required for network logins and programs like screen.
530
531 pseudo-device pty # pseudo-ttys (for network, etc.)
532
533 ## Random device, used to implement /dev/random (a source of random noise),
534 ## and generate randomness for some kernel formulae.
535
536 pseudo-device rnd
537