Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.9
      1  1.9    mrg # 	$NetBSD: GENERIC,v 1.9 1999/01/20 17:24:36 mrg Exp $
      2  1.1    eeh 
      3  1.1    eeh include "arch/sparc64/conf/std.sparc64"
      4  1.1    eeh 
      5  1.1    eeh maxusers	32
      6  1.1    eeh 
      7  1.1    eeh ## System kernel configuration.  See options(4) for more detail.
      8  1.1    eeh 
      9  1.1    eeh 
     10  1.1    eeh # Options for variants of the Sun SPARC architecure.
     11  1.1    eeh # We currently support three architecture types; at least one is required.
     12  1.1    eeh options		SUN4U		# sun4u - Ultra 140 and 170
     13  1.1    eeh options		TRAPWIN
     14  1.1    eeh 
     15  1.1    eeh ## System options specific to the sparc machine type
     16  1.1    eeh 
     17  1.1    eeh ## Use a faster console than the PROM's slow drawing routines.  Not needed
     18  1.1    eeh ## for headless (no framebuffer) machines.
     19  1.3    mrg # XXX broken on sparc64
     20  1.3    mrg #options 	RASTERCONSOLE	# fast rasterop console
     21  1.1    eeh 
     22  1.1    eeh 
     23  1.1    eeh #### System options that are the same for all ports
     24  1.1    eeh 
     25  1.1    eeh ## Root device configuration: change the ?'s if you are going to use a
     26  1.1    eeh ## nonstandard root partition (other than where the kernel is booted from)
     27  1.1    eeh ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     28  1.1    eeh ## automagically determined at boot time.
     29  1.1    eeh 
     30  1.1    eeh config		netbsd	root on ? type ?
     31  1.1    eeh 
     32  1.4    mrg ## UVM options.
     33  1.6    mrg #options 	UVMHIST
     34  1.4    mrg #options 	UVMHIST_PRINT	# Loud!
     35  1.4    mrg #options 	PMAP_NEW	# new pmap interface; not yet supported
     36  1.1    eeh 
     37  1.1    eeh ## System call tracing (see ktrace(1)).
     38  1.1    eeh options 	KTRACE
     39  1.1    eeh 
     40  1.1    eeh ## Collect statistics on kernel malloc's and free's.  This does have a
     41  1.1    eeh ## significant performance hit on slower machines, so it is intended for
     42  1.1    eeh ## diagnostic use only.
     43  1.1    eeh #options 	KMEMSTATS
     44  1.1    eeh 
     45  1.1    eeh ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     46  1.1    eeh options 	SYSVMSG		# System V message queues
     47  1.1    eeh options 	SYSVSEM		# System V semaphores
     48  1.1    eeh options 	SYSVSHM		# System V shared memory
     49  1.1    eeh #options 	SHMMAXPGS=1024	# 1024 pages is the default
     50  1.1    eeh 
     51  1.1    eeh ## Loadable kernel module support; still under development.
     52  1.1    eeh options 	LKM
     53  1.1    eeh 
     54  1.1    eeh ## NFS boot options; default on sparc is the bootparam protocol
     55  1.1    eeh options 	NFS_BOOT_BOOTPARAM
     56  1.1    eeh #options 	NFS_BOOT_BOOTP
     57  1.1    eeh #options 	NFS_BOOT_DHCP
     58  1.1    eeh 
     59  1.1    eeh #### Debugging options
     60  1.1    eeh 
     61  1.1    eeh ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     62  1.1    eeh ## serial console break or keyboard reset, where the PROM would normally
     63  1.1    eeh ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
     64  1.9    mrg # we enable DDB in GENERIC for now.
     65  1.9    mrg options 	DDB			# kernel dynamic debugger
     66  1.1    eeh #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     67  1.1    eeh #options 	DDB_ONPANIC		# see also sysctl(8): `ddb.onpanic'
     68  1.1    eeh 
     69  1.1    eeh ## You may also use gdb, on another computer connected to this machine over
     70  1.1    eeh ## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
     71  1.1    eeh ## a dev_t encoded device number of the serial port to use.
     72  1.1    eeh ## (0xc01 = ttya, 0xc02 = ttyb.)
     73  1.1    eeh #options 	KGDB		# support for kernel gdb
     74  1.1    eeh #options 	KGDBDEV=0xc01	# kgdb device number (this sample is `ttyb')
     75  1.1    eeh #options 	KGDBRATE=38400	# baud rate
     76  1.1    eeh 
     77  1.1    eeh 
     78  1.1    eeh ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
     79  1.1    eeh ## such that gdb(1) can be used on a kernel coredump.
     80  1.1    eeh 
     81  1.1    eeh #makeoptions 	DEBUG="-g"
     82  1.1    eeh 
     83  1.1    eeh 
     84  1.1    eeh ## Adds code to the kernel that does internal consistency checks, and will
     85  1.1    eeh ## cause the kernel to panic if corruption of internal data structures
     86  1.1    eeh ## is detected.
     87  1.1    eeh #options 	DIAGNOSTIC	# extra kernel sanity checking
     88  1.1    eeh 
     89  1.1    eeh ## Enable (possibly expensive) debugging code that may also display messages
     90  1.1    eeh ## on the system console
     91  1.1    eeh #options 	DEBUG
     92  1.1    eeh 
     93  1.1    eeh ## Make SCSI error messages more verbose when explaining their meanings.
     94  1.1    eeh options 	SCSIVERBOSE
     95  1.1    eeh 
     96  1.1    eeh ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
     97  1.1    eeh ## This allows writing to /dev/mem, loading kernel modules while multi-user,
     98  1.1    eeh ## and other insecurities good only for development work.  Do not use this
     99  1.1    eeh ## option on a production machine.
    100  1.1    eeh #options 	INSECURE
    101  1.1    eeh 
    102  1.1    eeh ## Allow non-root users to grab /dev/console with programs such as xconsole.
    103  1.1    eeh ## `xconsole' therefore does not need setuid root with this option enabled.
    104  1.1    eeh #options 	UCONSOLE
    105  1.1    eeh 
    106  1.1    eeh ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    107  1.1    eeh ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    108  1.1    eeh ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    109  1.1    eeh ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    110  1.1    eeh 
    111  1.1    eeh #options 	FDSCRIPTS
    112  1.1    eeh #options 	SETUIDSCRIPTS
    113  1.1    eeh 
    114  1.1    eeh ## Options for compatibility with previous releases foreign system binaries.
    115  1.1    eeh ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    116  1.1    eeh ## additional user-level utilities or system configuration files. See
    117  1.1    eeh ## compat_sunos(8) and compat_svr4(8).
    118  1.1    eeh 
    119  1.1    eeh options 	COMPAT_43	# 4.3BSD system interfaces
    120  1.1    eeh options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    121  1.1    eeh options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    122  1.1    eeh options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    123  1.1    eeh options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    124  1.3    mrg options 	COMPAT_SPARC32	# NetBSD/sparc binary compatibility
    125  1.1    eeh options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    126  1.1    eeh options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    127  1.1    eeh options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
    128  1.9    mrg options		EXEC_ELF64	# Exec module for sparc64 & SunOs 5.x binaries.
    129  1.1    eeh 
    130  1.1    eeh ## File systems.  You probably need at least one of FFS or NFS.
    131  1.1    eeh file-system	FFS		# Berkeley Fast Filesystem
    132  1.1    eeh file-system	NFS		# Sun NFS-compatible filesystem client
    133  1.1    eeh file-system	KERNFS		# kernel data-structure filesystem
    134  1.1    eeh file-system	NULLFS		# NULL layered filesystem
    135  1.1    eeh file-system	MFS		# memory-based filesystem
    136  1.1    eeh file-system	FDESC		# user file descriptor filesystem
    137  1.1    eeh file-system	UMAPFS		# uid/gid remapping filesystem
    138  1.1    eeh file-system	LFS		# Log-based filesystem (still experimental)
    139  1.1    eeh file-system	PORTAL		# portal filesystem (still experimental)
    140  1.1    eeh file-system	PROCFS		# /proc
    141  1.1    eeh file-system	CD9660		# ISO 9660 + Rock Ridge file system
    142  1.1    eeh file-system	UNION		# union file system
    143  1.1    eeh file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    144  1.1    eeh 
    145  1.1    eeh ## File system options.
    146  1.1    eeh options 	NFSSERVER	# Sun NFS-compatible filesystem server
    147  1.1    eeh options 	QUOTA		# FFS quotas
    148  1.1    eeh #options 	FFS_EI		# FFS Endian Independent support
    149  1.1    eeh 
    150  1.1    eeh ## Network protocol support.  In most environments, INET is required.
    151  1.1    eeh options 	INET		# IP (Internet Protocol) v4
    152  1.1    eeh options 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
    153  1.1    eeh #options 	GATEWAY		# packet forwarding ("router switch")
    154  1.9    mrg options 	MROUTING	# packet forwarding of multicast packets
    155  1.1    eeh #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    156  1.1    eeh options 	NS		# Xerox NS networking
    157  1.1    eeh #options 	NSIP		# Xerox NS tunneling over IP
    158  1.1    eeh options 	ISO,TPIP	# OSI networking
    159  1.1    eeh options 	EON		# OSI tunneling over IP
    160  1.1    eeh #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    161  1.1    eeh options 	NETATALK	# AppleTalk (over Ethernet) protocol
    162  1.9    mrg options 	NTP		# Network Time Protocol in-kernel support
    163  1.1    eeh #options 	PPS_SYNC	# Add serial line synchronization for NTP
    164  1.9    mrg options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    165  1.9    mrg options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    166  1.9    mrg options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    167  1.9    mrg options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    168  1.9    mrg options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    169  1.1    eeh 
    170  1.1    eeh 
    171  1.1    eeh #### Main bus and CPU .. all systems.
    172  1.1    eeh mainbus0 at root
    173  1.1    eeh cpu0	at mainbus0
    174  1.1    eeh 
    175  1.1    eeh #### Bus types found on SPARC systems.
    176  1.1    eeh 
    177  1.1    eeh sbus0	at mainbus0				# sun4c and sun4u
    178  1.1    eeh #upa0	at mainbus0				# Ultra 1E, Ultra 2, Ex0000
    179  1.1    eeh #pci0	at mainbus0				# Darwin
    180  1.1    eeh 
    181  1.1    eeh #### Standard system devices -- all required for a given architecture
    182  1.1    eeh 
    183  1.1    eeh ## Auxiliary system registers on sun4c and sun4m
    184  1.3    mrg #auxreg0 at sbus0
    185  1.1    eeh 
    186  1.1    eeh # We also need:
    187  1.1    eeh # bpp0 at sbus0					# parallel port
    188  1.1    eeh 
    189  1.1    eeh ## Power status and control register on Sun4m systems
    190  1.9    mrg # XXX is this on the ultrasparc?
    191  1.3    mrg #power0 at sbus0
    192  1.1    eeh 
    193  1.9    mrg ## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems.
    194  1.1    eeh ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
    195  1.3    mrg clock0	at sbus0 slot ? offset ?
    196  1.1    eeh 
    197  1.9    mrg ## Timer chip found on 4/300, sun4c, sun4m and sun4u systems.
    198  1.1    eeh timer0	at mainbus0				# sun4c
    199  1.1    eeh 
    200  1.1    eeh #### Serial port configuration
    201  1.1    eeh 
    202  1.1    eeh ## Zilog 8530 serial chips.  Each has two-channels.
    203  1.1    eeh ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
    204  1.3    mrg zs0	at sbus0 slot ? offset ?
    205  1.1    eeh zstty0	at zs0 channel 0	# ttya
    206  1.1    eeh zstty1	at zs0 channel 1	# ttyb
    207  1.1    eeh 
    208  1.3    mrg zs1	at sbus0 slot ? offset ?
    209  1.1    eeh kbd0	at zs1 channel 0	# keyboard
    210  1.1    eeh ms0	at zs1 channel 1	# mouse
    211  1.1    eeh 
    212  1.1    eeh #### Disk controllers and disks
    213  1.1    eeh 
    214  1.1    eeh ## The following flags may be set for the NCR53c94 based esp driver:
    215  1.1    eeh ##	bits 0-7:  disable disconnect/reselect for the corresponding target
    216  1.1    eeh ##	bits 8-15: disable synchronous negotiation for target [bit-8]
    217  1.1    eeh 
    218  1.9    mrg ## sun4/300, sun4c, sun4m and sun4u on-board SCSI, and FSBE/S SBus SCSI cards.
    219  1.1    eeh ## Both `dma' and `esp' are needed in all cases.
    220  1.1    eeh ## Two kinds of additional SBus SCSI interfaces are available.  One uses
    221  1.1    eeh ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
    222  1.1    eeh 
    223  1.1    eeh ## sun4/300 SCSI - an NCR53c94 or equivalent behind
    224  1.1    eeh ## an LSI Logic DMA controller
    225  1.1    eeh 
    226  1.9    mrg dma0	at sbus0 slot ? offset ?			# sun4c/sun4m/sun4u
    227  1.9    mrg esp0	at dma0 flags 0x0000				# sun4m/sun4u
    228  1.1    eeh 
    229  1.1    eeh # FSBE/S SCSI
    230  1.1    eeh dma*	at sbus? slot ? offset ?			# SBus
    231  1.1    eeh esp*	at dma? flags 0x0000				# SBus
    232  1.1    eeh 
    233  1.1    eeh scsibus* at esp?
    234  1.1    eeh 
    235  1.1    eeh ## Qlogic ISP SBus SCSI Card
    236  1.5    mrg isp*	at sbus? slot ? offset ?
    237  1.5    mrg scsibus* at isp?
    238  1.1    eeh 
    239  1.9    mrg ## FAS support missing
    240  1.9    mrg #fas*	at sbus? slot ? offset ?
    241  1.9    mrg #scsibus* at fas?
    242  1.9    mrg 
    243  1.1    eeh ## These entries find devices on all SCSI busses and assign
    244  1.1    eeh ## unit numbers dynamically.
    245  1.1    eeh sd*	at scsibus? target ? lun ?		# SCSI disks
    246  1.1    eeh st*	at scsibus? target ? lun ?		# SCSI tapes
    247  1.1    eeh cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
    248  1.1    eeh ch*	at scsibus? target ? lun ?		# SCSI changer devices
    249  1.1    eeh ss*	at scsibus? target ? lun ?		# SCSI scanners
    250  1.1    eeh uk*	at scsibus? target ? lun ?		# unknown SCSI
    251  1.1    eeh 
    252  1.1    eeh ## Floppy controller and drive found on SPARCstations.
    253  1.1    eeh 
    254  1.9    mrg # need share with the sparc...uses auxreg.  what is this on sparc64?
    255  1.3    mrg #fdc0	at sbus0 slot ? offset ?
    256  1.9    mrg #fd*	at fdc0 	 			# the drive itself
    257  1.1    eeh 
    258  1.1    eeh ## A disk-like interface to files.  Can be used to create floppy, CD,
    259  1.1    eeh ## miniroot images, etc.
    260  1.1    eeh 
    261  1.1    eeh pseudo-device	vnd	4
    262  1.1    eeh 
    263  1.1    eeh ## Concatenated and striped disks; with this, you can create a software-based
    264  1.1    eeh ## disk array similar to a "RAID 0" setup.  See ccd(4).
    265  1.1    eeh 
    266  1.1    eeh pseudo-device	ccd	4
    267  1.7  oster 
    268  1.7  oster ## RAIDframe disk driver: software RAID driver.  See raid(4).
    269  1.7  oster 
    270  1.9    mrg pseudo-device	raid	4
    271  1.1    eeh 
    272  1.1    eeh ## Memory disk device, used on boot floppies with compressed
    273  1.1    eeh ## kernel-plus-root-disk images.
    274  1.1    eeh 
    275  1.9    mrg pseudo-device	md	1
    276  1.1    eeh 
    277  1.1    eeh 
    278  1.1    eeh #### Network interfaces
    279  1.1    eeh 
    280  1.1    eeh ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
    281  1.1    eeh ## Three flavors of additional SBus ethernets are available.  One attaches
    282  1.1    eeh ## directly like the sun4c on-board, one uses the ledma device like the
    283  1.1    eeh ## sun4m on-board, and one uses the lebuffer device.
    284  1.1    eeh 
    285  1.1    eeh ledma0		at sbus0 slot ? offset ?		# sun4m on-board
    286  1.1    eeh le0		at ledma0				# sun4m on-board
    287  1.1    eeh le*		at sbus? slot ? offset ?		# SBus
    288  1.1    eeh ledma*		at sbus? slot ? offset ?		# SBus
    289  1.1    eeh le*		at ledma?				# SBus
    290  1.1    eeh lebuffer0	at sbus? slot ? offset ?		# SBus
    291  1.1    eeh le0		at lebuffer?				# SBus
    292  1.1    eeh lebuffer*	at sbus? slot ? offset ?		# SBus
    293  1.1    eeh le*		at lebuffer?				# SBus
    294  1.1    eeh 
    295  1.9    mrg ## qec/be, qec/hme
    296  1.9    mrg qec*		at sbus? slot ? offset ?
    297  1.9    mrg be*		at qec?
    298  1.9    mrg qe*		at qec?
    299  1.1    eeh 
    300  1.1    eeh ## Loopback network interface; required
    301  1.1    eeh pseudo-device	loop
    302  1.1    eeh 
    303  1.1    eeh ## SLIP and CSLIP interfaces, for IP over a serial line.
    304  1.1    eeh pseudo-device	sl		2
    305  1.1    eeh 
    306  1.1    eeh ## PPP, the successor to SLIP.  See pppd(8).
    307  1.1    eeh pseudo-device	ppp		2
    308  1.1    eeh 
    309  1.1    eeh ## Starmode Radio IP, a special hardware network device.
    310  1.9    mrg pseudo-device	strip		1
    311  1.1    eeh 
    312  1.1    eeh ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    313  1.1    eeh ## This is used by the third-party user-mode "ppp" program, and others.
    314  1.1    eeh pseudo-device	tun		4
    315  1.8    hwr 
    316  1.8    hwr ## Generic L3 over IP tunnel
    317  1.8    hwr #pseudo-device	gre		2	# generic L3 over IP tunnel
    318  1.1    eeh 
    319  1.1    eeh ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    320  1.1    eeh ## interface that allows selective examining of incoming packets.
    321  1.1    eeh pseudo-device	bpfilter	8
    322  1.1    eeh 
    323  1.1    eeh ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    324  1.1    eeh ## one example of the use of the IP Filter.
    325  1.1    eeh pseudo-device	ipfilter
    326  1.1    eeh 
    327  1.1    eeh 
    328  1.1    eeh #### Audio and video devices
    329  1.1    eeh 
    330  1.9    mrg ## /dev/audio support (`audiocs' plus `audio')
    331  1.1    eeh ##
    332  1.9    mrg audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
    333  1.9    mrg audio*		at audiocs0
    334  1.1    eeh 
    335  1.1    eeh 
    336  1.1    eeh ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
    337  1.1    eeh ## systems.  If your sun4 system has a cgfour installed in the P4 slot,
    338  1.1    eeh ## the P4 entries for "bwtwo" will attach to the overlay plane of the
    339  1.1    eeh ## "cgfour".
    340  1.1    eeh 
    341  1.3    mrg #bwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
    342  1.3    mrg #bwtwo*		at sbus? slot ? offset ?		#
    343  1.1    eeh 
    344  1.1    eeh ## Sun "cgthree" Sbus color framebuffer
    345  1.3    mrg #cgthree0	at sbus? slot ? offset ?
    346  1.3    mrg #cgthree*	at sbus? slot ? offset ?
    347  1.1    eeh 
    348  1.1    eeh ## Sun "cgsix" accelerated color framebuffer.
    349  1.1    eeh cgsix0		at sbus? slot ? offset ?
    350  1.1    eeh cgsix*		at sbus? slot ? offset ?
    351  1.1    eeh 
    352  1.1    eeh ## Sun "tcx" accelerated color framebuffer.
    353  1.3    mrg #tcx0		at sbus? slot ? offset ?
    354  1.3    mrg #tcx*		at sbus? slot ? offset ?
    355  1.1    eeh 
    356  1.1    eeh # Sun "cgfourteen" accelerated 24-bit framebuffer.
    357  1.3    mrg #cgfourteen0	at obio0			# sun4m
    358  1.1    eeh 
    359  1.1    eeh 
    360  1.1    eeh #### Other device configuration
    361  1.1    eeh 
    362  1.1    eeh ## Pseudo ttys, required for network logins and programs like screen.
    363  1.1    eeh ## 32 is a good number for average systems; you may have as many as you
    364  1.1    eeh ## like, though 256 is more or less the upper limit.  Increasing this
    365  1.1    eeh ## number still requires you to run /dev/MAKEDEV to create the files
    366  1.1    eeh ## for the ptys.
    367  1.1    eeh 
    368  1.9    mrg pseudo-device	pty		64	# pseudo-ttys (for network, etc.)
    369  1.1    eeh 
    370  1.1    eeh ## Random device, used to implement /dev/random (a source of random noise),
    371  1.1    eeh ## and generate randomness for some kernel formulae.
    372  1.1    eeh ## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
    373  1.1    eeh 
    374  1.9    mrg pseudo-device	rnd
    375