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