GENERIC32 revision 1.24
1# 	$NetBSD: GENERIC32,v 1.24 2001/11/20 08:43:36 lukem Exp $
2
3include "arch/sparc64/conf/std.sparc64"
4
5#ident 		"GENERIC-$Revision: 1.24 $"
6
7maxusers	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.
14options 	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
32config		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)).
40options 	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))
48options 	SYSVMSG		# System V message queues
49options 	SYSVSEM		# System V semaphores
50options 	SYSVSHM		# System V shared memory
51#options 	SHMMAXPGS=1024	# 1024 pages is the default
52
53## Loadable kernel module support; still under development.
54options 	LKM
55
56## NFS boot options; default on sparc is the bootparam protocol
57options 	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.
67options 	DDB			# kernel dynamic debugger
68options 	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.
96options 	SCSIVERBOSE
97options 	PCIVERBOSE
98options 	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
124options 	COMPAT_43	# 4.3BSD system interfaces
125options 	COMPAT_09	# NetBSD 0.9 binary compatibility
126options 	COMPAT_10	# NetBSD 1.0 binary compatibility
127options 	COMPAT_11	# NetBSD 1.1 binary compatibility
128options 	COMPAT_12	# NetBSD 1.2 binary compatibility
129options 	COMPAT_13	# NetBSD 1.3 binary compatibility
130options 	COMPAT_14	# NetBSD 1.4 binary compatibility
131options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
132options 	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
135options 	EXEC_AOUT	# execve(2) support for a.out binaries
136options 	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.
142file-system	FFS		# Berkeley Fast Filesystem
143file-system	NFS		# Sun NFS-compatible filesystem client
144file-system	KERNFS		# kernel data-structure filesystem
145file-system	NULLFS		# NULL layered filesystem
146file-system 	OVERLAY		# overlay file system
147file-system	MFS		# memory-based filesystem
148file-system	FDESC		# user file descriptor filesystem
149file-system	UMAPFS		# uid/gid remapping filesystem
150file-system	LFS		# Log-based filesystem (still experimental)
151file-system	PORTAL		# portal filesystem (still experimental)
152file-system	PROCFS		# /proc
153file-system	CD9660		# ISO 9660 + Rock Ridge file system
154file-system	UNION		# union file system
155file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
156
157## File system options.
158options 	NFSSERVER	# Sun NFS-compatible filesystem server
159options 	QUOTA		# FFS quotas
160#options 	FFS_EI		# FFS Endian Independent support
161options 	SOFTDEP         # FFS soft updates support.
162
163## Network protocol support.  In most environments, INET is required.
164options 	INET		# IP (Internet Protocol) v4
165options 	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")
170options 	MROUTING	# packet forwarding of multicast packets
171#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
172options 	NS		# Xerox NS networking
173#options 	NSIP		# Xerox NS tunneling over IP
174options 	ISO,TPIP	# OSI networking
175options 	EON		# OSI tunneling over IP
176#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
177options 	NETATALK	# AppleTalk (over Ethernet) protocol
178options 	NTP		# Network Time Protocol in-kernel support
179#options 	PPS_SYNC	# Add serial line synchronization for NTP
180options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
181options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
182options 	PPP_BSDCOMP	# Add BSD compression to ppp device
183options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
184options 	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.
189mainbus0 at root
190cpu0	at mainbus0
191
192#### Bus types found on SPARC systems.
193
194sbus0	at mainbus0				# Ultra 1
195#upa0	at mainbus0				# Ultra 1E, Ultra 2, Ex0000
196psycho*	at mainbus0				# Darwin, Ultra5
197pci*	at psycho?
198pci*	at ppb?
199ppb*	at pci? dev ? function ?		# `APB' support.
200#pci*	at simba?
201#simba*	at pci? dev ? function ?		# `APB' support.
202ebus*	at pci?					# ebus devices
203# XXX 'puc's aren't really bridges, but there's no better place for them here
204puc*	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
209pcons0	at mainbus0				# PROM console
210
211## Auxiliary system registers -- We use the OBP for power management
212auxio*	at ebus?				# auxio registers
213auxio*	at sbus? slot ? offset ?		# auxio registers
214
215# We also need:
216bpp*	at sbus? slot ? offset ?		# parallel port
217lpt*	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.
221clock*	at sbus? slot ? offset ?
222clock*	at ebus?
223
224## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
225timer*	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.
231zs*	at sbus? slot ? offset ?
232zstty*	at zs? channel ?			# ttya
233kbd0	at zstty?
234ms0	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
245com*	at ebus?				# `com' driver for `su'
246kbd0	at com?					# keyboard
247ms0	at com?					# mouse
248
249# PCI serial interfaces
250com*	at puc? port ?			# 16x50s on "universal" comm boards
251cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
252cz*	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
263dma*	at sbus? slot ? offset ?		# SBus
264esp*	at dma? flags 0x0000			# SBus
265
266## FAS supported by esp driver
267esp*	at sbus? slot ? offset ?
268
269scsibus* at esp?
270
271## Qlogic ISP SBus or PCI SCSI Card
272isp*	at sbus? slot ? offset ?
273isp*	at pci?
274scsibus* at isp?
275
276## GLM support
277siop*	at pci?					# 53C875 "glm" compatible
278scsibus* at siop?
279
280# PCI SCSI controllers
281# 	UT marks untested.
282adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
283adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
284ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI UT
285bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI UT
286dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID UT
287iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
288pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI UT
289trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
290
291scsibus* at scsi?
292
293## These entries find devices on all SCSI busses and assign
294## unit numbers dynamically.
295sd*	at scsibus? target ? lun ?		# SCSI disks
296st*	at scsibus? target ? lun ?		# SCSI tapes
297cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
298ch*	at scsibus? target ? lun ?		# SCSI changer devices
299ss*	at scsibus? target ? lun ?		# SCSI scanners
300ses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE devices
301uk*	at scsibus? target ? lun ?		# unknown SCSI
302
303# PCI IDE.
304pciide* at pci ? dev ? function ? flags 0x0000
305atapibus* 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.
309wd*     at pciide? channel ? drive ? flags 0x0a00 # Disable UDMA 4
310						
311
312cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
313sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
314uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
315
316# RAID controllers and devices (untested)
317cac*	at pci? dev ? function ?	# Compaq PCI array controllers
318mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
319twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
320
321ld*	at cac? unit ?			# logical disk devices
322ld*	at twe? unit ?
323ld*	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
337pseudo-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
342pseudo-device	ccd	4
343
344## RAIDframe disk driver: software RAID driver.  See raid(4).
345
346pseudo-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
352pseudo-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
362ledma0		at sbus? slot ? offset ?	# sun4m on-board
363le0		at ledma0			# sun4m on-board
364le*		at sbus? slot ? offset ?	# SBus
365ledma*		at sbus? slot ? offset ?	# SBus
366le*		at ledma?			# SBus
367lebuffer0	at sbus? slot ? offset ?	# SBus
368le0		at lebuffer?			# SBus
369lebuffer*	at sbus? slot ? offset ?	# SBus
370le*		at lebuffer?			# SBus
371
372## Happy Meal Ethernet
373hme*		at sbus? slot ? offset ?
374hme*		at pci?	dev ? function ?	# network "hme" compatible
375
376## qec/be, qec/hme
377qec*		at sbus? slot ? offset ?
378be*		at qec?
379qe*		at qec?
380
381# PCI network interfaces
382# 	UT marks untested.
383an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11) UT
384de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet UT
385en*	at pci? dev ? function ?	# ENI/Adaptec ATM UT
386# XXX causes ICE
387#ep*	at pci? dev ? function ?	# 3Com 3c59x
388ex*	at pci? dev ? function ?	# 3Com 90x[B] UT
389epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet UT
390esh*	at pci? dev ? function ?	# Essential HIPPI card UT
391fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI UT
392fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B UT
393gem*	at pci? dev ? function ?	# Apple GMAC and Sun ERI gigabit enet
394le*	at pci? dev ? function ?	# PCnet-PCI Ethernet UT
395# XXX uses vtophys()
396#lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
397ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet UT
398ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial UT
399rtk*	at pci? dev ? function ?	# Realtek 8129/8139 UT
400sip*	at pci? dev ? function ?	# SiS 900 Ethernet UT
401ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet UT
402# XXX uses vtophys()
403#tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
404tlp*	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
409vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
410
411# MII/PHY support
412# XXX: only nsphy "tested"
413dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
414exphy*	at mii? phy ?			# 3Com internal PHYs
415icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
416inphy*	at mii? phy ?			# Intel 82555 PHYs
417iophy*	at mii? phy ?			# Intel 82553 PHYs
418lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
419nsphy*	at mii? phy ?			# NS83840 PHYs
420nsphyter* at mii? phy ?			# NS83843 PHYs
421qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
422sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
423tlphy*	at mii? phy ?			# ThunderLAN PHYs
424tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
425ukphy*	at mii? phy ?			# generic unknown PHYs
426
427# PCI USB controllers
428ohci*	at pci? dev ? function ?			# Open Host Controller
429
430usb*	at ohci?					# USB bus support
431uhub*	at usb?						# USB Hubs
432uhub*	at uhub? port ? configuration ? interface ?
433
434uhid*	at uhub? port ? configuration ? interface ?	# USB Generic HID
435ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
436
437umodem*	at uhub? port ? configuration ?			# USB Modem
438ucom*	at umodem?
439
440umass*	at uhub? port ? configuration ? interface ?	# USB Mass Storage
441atapibus* at umass? channel ?
442scsibus* at umass? channel ?
443
444uaudio*	at uhub? port ? configuration ?			# USB audio
445
446# USB Ethernet adapters
447aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
448cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
449kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
450
451uscanner* at uhub? port ?				# USB scanners
452uyap* at uhub? port ?					# Y@P firmware loader
453ugen*	at uhub? port ? configuration ? interface ?	# USB Generic driver
454
455# PCI IEEE1394 controllers
456fwohci* at pci? dev ? function ?        # IEEE1394 Open Host Controller
457#fwlynx* at pci? dev ? function ?       # IEEE1394 TI Lynx Controller
458fw*     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
465pseudo-device	loop
466
467## SLIP and CSLIP interfaces, for IP over a serial line.
468pseudo-device	sl		2
469
470## PPP, the successor to SLIP.  See pppd(8).
471pseudo-device	ppp		2
472
473## Starmode Radio IP, a special hardware network device.
474pseudo-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.
478pseudo-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.
485pseudo-device	bpfilter	8
486
487## Simple inter-network traffic bridging
488pseudo-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.
492pseudo-device	ipfilter
493
494## for IPv6
495pseudo-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##
504audiocs*	at sbus? slot ? offset ?	# SUNW,CS4231
505audio*		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.
521cgsix0		at sbus? slot ? offset ?
522cgsix*		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
531pseudo-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
536pseudo-device	rnd
537