Home | History | Annotate | Line # | Download | only in conf
TADPOLE3GX revision 1.75
      1  1.75      maxv # 	$NetBSD: TADPOLE3GX,v 1.75 2018/08/01 20:04:14 maxv Exp $
      2   1.1      matt 
      3   1.1      matt include "arch/sparc/conf/std.sparc"
      4  1.14    atatat 
      5  1.14    atatat #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      6   1.1      matt 
      7  1.27  macallan # all supported SPARCbooks have V8 CPUs
      8  1.27  macallan makeoptions		CCPUOPTS="-mcpu=v8 -mtune=v8"
      9  1.27  macallan 
     10   1.1      matt maxusers	32
     11   1.1      matt 
     12   1.1      matt ## System kernel configuration.  See options(4) for more detail.
     13   1.1      matt 
     14   1.1      matt 
     15   1.1      matt # Options for variants of the Sun SPARC architecure.
     16   1.1      matt # We currently support three architecture types; at least one is required.
     17   1.1      matt options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
     18   1.1      matt 
     19   1.1      matt ## System options specific to the sparc machine type
     20   1.1      matt 
     21   1.1      matt # Blink the power LED on some machines to indicate the system load.
     22   1.1      matt #options 	BLINK
     23   1.1      matt 
     24  1.37  macallan # wsdisplay options
     25  1.57  macallan #options 	WSEMUL_SUN
     26  1.57  macallan options 	WSEMUL_VT100
     27  1.37  macallan options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
     28  1.37  macallan options 	WSDISPLAY_CUSTOM_OUTPUT		# wsconsctl(8)
     29  1.37  macallan 
     30  1.37  macallan # black on white, kernel output in green
     31  1.37  macallan options 	WS_DEFAULT_FG=WSCOL_BLACK
     32  1.37  macallan options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
     33  1.37  macallan options 	WS_KERNEL_FG=WSCOL_GREEN
     34  1.37  macallan options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
     35  1.37  macallan 
     36  1.37  macallan options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
     37  1.37  macallan options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
     38  1.56       abs options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
     39  1.37  macallan 
     40  1.37  macallan options 	WSDISPLAY_DEFAULTSCREENS=1
     41  1.37  macallan 
     42  1.44       jdc options 	SPARCBOOK_CMD		# enable screen switching with lAlt-Fn
     43   1.1      matt #options 	FONT_GALLANT12x22	# the console font
     44   1.2      matt options 	FONT_BOLD8x16		# a somewhat smaller font
     45   1.1      matt 
     46   1.1      matt #### System options that are the same for all ports
     47   1.1      matt 
     48   1.1      matt ## Root device configuration: change the ?'s if you are going to use a
     49   1.1      matt ## nonstandard root partition (other than where the kernel is booted from)
     50   1.1      matt ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     51   1.1      matt ## automagically determined at boot time.
     52   1.1      matt 
     53   1.1      matt config		netbsd	root on ? type ?
     54   1.1      matt 
     55   1.1      matt ## System call tracing (see ktrace(1)).
     56   1.1      matt options 	KTRACE
     57   1.1      matt 
     58   1.1      matt ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     59   1.1      matt options 	SYSVMSG		# System V message queues
     60   1.1      matt options 	SYSVSEM		# System V semaphores
     61   1.1      matt options 	SYSVSHM		# System V shared memory
     62   1.1      matt 
     63  1.17     lukem options 	USERCONF	# userconf(4) support
     64  1.44       jdc #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     65  1.20    atatat #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     66   1.1      matt 
     67  1.15     lukem ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     68   1.1      matt options 	NFS_BOOT_BOOTPARAM
     69   1.1      matt #options 	NFS_BOOT_BOOTP
     70  1.15     lukem options 	NFS_BOOT_DHCP
     71   1.1      matt 
     72   1.1      matt #### Debugging options
     73   1.1      matt 
     74   1.1      matt ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     75   1.1      matt ## serial console break or keyboard reset, where the PROM would normally
     76   1.1      matt ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
     77  1.47   tsutsui options 	DDB			# kernel dynamic debugger
     78  1.66  uebayasi pseudo-device	ksyms
     79  1.47   tsutsui options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     80  1.61  szptvlfn #options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
     81   1.1      matt 
     82   1.1      matt ## You may also use gdb, on another computer connected to this machine over
     83  1.10     lukem ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
     84  1.10     lukem ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
     85   1.1      matt ## (0xc01 = ttya, 0xc02 = ttyb.)
     86  1.10     lukem #options 	KGDB			# support for kernel gdb
     87  1.10     lukem #options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
     88  1.10     lukem #options 	KGDB_DEVRATE=38400	# baud rate
     89   1.1      matt 
     90   1.1      matt 
     91   1.1      matt ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
     92   1.1      matt ## such that gdb(1) can be used on a kernel coredump.
     93   1.1      matt 
     94  1.11     lukem makeoptions	DEBUG="-g"
     95   1.1      matt 
     96   1.1      matt 
     97   1.1      matt ## Adds code to the kernel that does internal consistency checks, and will
     98   1.1      matt ## cause the kernel to panic if corruption of internal data structures
     99   1.1      matt ## is detected.
    100   1.1      matt #options 	DIAGNOSTIC	# extra kernel sanity checking
    101   1.1      matt 
    102   1.1      matt ## Enable (possibly expensive) debugging code that may also display messages
    103   1.1      matt ## on the system console
    104   1.1      matt #options 	DEBUG
    105  1.52       jdc #options 	LOCKDEBUG
    106  1.52       jdc #options 	SYSCALL_DEBUG
    107   1.1      matt 
    108   1.1      matt ## Make SCSI error messages more verbose when explaining their meanings.
    109   1.1      matt options 	SCSIVERBOSE
    110   1.1      matt 
    111   1.1      matt ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    112   1.1      matt ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    113   1.1      matt ## and other insecurities good only for development work.  Do not use this
    114   1.1      matt ## option on a production machine.
    115   1.4      matt options 	INSECURE
    116   1.1      matt 
    117   1.1      matt ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    118   1.1      matt ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    119   1.1      matt ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    120   1.1      matt ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    121   1.1      matt 
    122   1.1      matt #options 	FDSCRIPTS
    123   1.1      matt #options 	SETUIDSCRIPTS
    124   1.1      matt 
    125   1.1      matt ## Options for compatibility with previous releases foreign system binaries.
    126   1.1      matt ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    127   1.1      matt ## additional user-level utilities or system configuration files. See
    128   1.1      matt ## compat_sunos(8) and compat_svr4(8).
    129   1.1      matt 
    130  1.73       mrg include 	"conf/compat_netbsd10.config"
    131   1.1      matt options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    132  1.72      maxv #options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    133   1.1      matt 
    134   1.1      matt ## File systems.  You probably need at least one of FFS or NFS.
    135   1.1      matt file-system	FFS		# Berkeley Fast Filesystem
    136   1.1      matt file-system	NFS		# Sun NFS-compatible filesystem client
    137   1.1      matt file-system	KERNFS		# kernel data-structure filesystem
    138   1.1      matt #file-system	NULLFS		# NULL layered filesystem
    139   1.1      matt file-system	MFS		# memory-based filesystem
    140   1.1      matt #file-system	FDESC		# user file descriptor filesystem
    141   1.1      matt #file-system	UMAPFS		# uid/gid remapping filesystem
    142   1.1      matt #file-system	LFS		# Log-based filesystem (still experimental)
    143   1.1      matt file-system	PROCFS		# /proc
    144   1.1      matt file-system	CD9660		# ISO 9660 + Rock Ridge file system
    145   1.1      matt #file-system	UNION		# union file system
    146   1.1      matt file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    147  1.32  christos file-system	PTYFS		# /dev/pts/N support
    148   1.1      matt 
    149   1.1      matt ## File system options.
    150   1.1      matt options 	NFSSERVER	# Sun NFS-compatible filesystem server
    151  1.53    bouyer options 	QUOTA		# legacy UFS quotas
    152  1.53    bouyer options 	QUOTA2		# new, in-filesystem UFS quotas
    153   1.1      matt #options 	FFS_EI		# FFS Endian Independent support
    154  1.34   tsutsui #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    155  1.64      manu options 	UFS_EXTATTR	# Extended attribute support for UFS1
    156   1.1      matt 
    157   1.1      matt ## Network protocol support.  In most environments, INET is required.
    158   1.1      matt options 	INET		# IP (Internet Protocol) v4
    159   1.1      matt #options 	GATEWAY		# packet forwarding ("router switch")
    160   1.1      matt #options 	MROUTING	# packet forwarding of multicast packets
    161  1.21      manu #options 	PIM		# Protocol Independent Multicast
    162   1.1      matt #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    163   1.1      matt options 	NTP		# Network Time Protocol in-kernel support
    164   1.1      matt #options 	PPS_SYNC	# Add serial line synchronization for NTP
    165   1.1      matt options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    166   1.1      matt options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    167   1.1      matt options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    168   1.9       abs #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    169   1.1      matt 
    170   1.1      matt 
    171   1.1      matt #### Main bus and CPU .. all systems.
    172   1.1      matt mainbus0 at root
    173   1.1      matt cpu0	at mainbus0
    174   1.1      matt 
    175   1.1      matt #### Bus types found on SPARC systems.
    176   1.1      matt 
    177   1.1      matt obio0	at mainbus0				# sun4 and sun4m
    178   1.1      matt iommu0	at mainbus0				# sun4m
    179   1.1      matt sbus0	at iommu0				# sun4m
    180   1.1      matt 
    181   1.1      matt ## SBus to PCMCIA bridge
    182  1.27  macallan tslot*	at sbus? slot ? offset ?		# PCMCIA bridge (tadpole 3gx)
    183  1.27  macallan pcmcia*	at tslot?
    184   1.1      matt 
    185   1.1      matt #### Standard system devices -- all required for a given architecture
    186   1.1      matt 
    187   1.1      matt ## Auxiliary system registers on sun4c and sun4m
    188   1.1      matt auxreg0	at obio0				# sun4m
    189   1.6       jdc 
    190   1.6       jdc ## Additional auxiliary system registers on Sparcbook
    191   1.6       jdc auxiotwo0	at obio0				# sun4m
    192   1.1      matt 
    193  1.37  macallan ## Clock control on SPARCbook - used to put the CPU to sleep when idle
    194  1.33  macallan clkctrl0 at obio0
    195  1.33  macallan 
    196   1.1      matt ## Mostek clock found on 4/300, sun4c, and sun4m systems.
    197   1.1      matt ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
    198   1.1      matt clock0	at obio0				# sun4m
    199   1.1      matt 
    200   1.1      matt ## Timer chip found on 4/300, sun4c, and sun4m systems.
    201   1.1      matt timer0	at obio0				# sun4m
    202   1.1      matt 
    203   1.1      matt #### Serial port configuration
    204   1.1      matt 
    205   1.1      matt ## Zilog 8530 serial chips.  Each has two-channels.
    206   1.1      matt ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
    207   1.1      matt zs0	at obio0					# sun4m
    208   1.1      matt zstty0	at zs0 channel 0	# ttya
    209   1.1      matt zstty1	at zs0 channel 1	# ttyb
    210   1.1      matt 
    211   1.1      matt zs1	at obio0					# sun4m
    212  1.37  macallan zstty*	at zs1 channel ?	# mouse/keyboard
    213  1.37  macallan 
    214  1.37  macallan kbd0	at zstty?
    215  1.37  macallan ms0	at zstty?
    216  1.37  macallan 
    217  1.37  macallan wskbd*		at kbd? console ?
    218  1.37  macallan wsmouse*	at ms?
    219   1.1      matt 
    220   1.1      matt ## Tadpole 3GX/3XL have a builtin modem that emulates a NS16450.
    221   1.1      matt com*	at obio0					# sun4m (tadpole)
    222   1.1      matt 
    223   1.1      matt ## PCMCIA serial interfaces
    224  1.27  macallan com*	at pcmcia?
    225  1.27  macallan pcmcom*	at pcmcia?
    226  1.27  macallan com*	at pcmcom?
    227   1.1      matt 
    228   1.1      matt #### Disk controllers and disks
    229   1.1      matt 
    230   1.1      matt #
    231   1.1      matt 
    232   1.1      matt ## The following flags may be set for the NCR53c94 based esp driver:
    233   1.1      matt ##	bits 0-7:  disable disconnect/reselect for the corresponding target
    234   1.1      matt ##	bits 8-15: disable synchronous negotiation for target [bit-8]
    235   1.1      matt 
    236   1.1      matt ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
    237   1.1      matt ## Both `dma' and `esp' are needed in all cases.
    238   1.1      matt ## Two kinds of additional SBus SCSI interfaces are available.  One uses
    239   1.1      matt ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
    240   1.1      matt 
    241   1.1      matt ## sun4/300 SCSI - an NCR53c94 or equivalent behind
    242   1.1      matt ## an LSI Logic DMA controller
    243   1.1      matt 
    244   1.1      matt dma0	at sbus0 slot ? offset ?			# sun4c/sun4m
    245   1.1      matt esp0	at dma0 flags 0x0000				# sun4m
    246   1.1      matt 
    247   1.1      matt scsibus* at esp?
    248   1.1      matt 
    249   1.1      matt ## PCMCIA SCSI controllers
    250   1.1      matt #aic*	at pcmcia?
    251   1.1      matt #scsibus* at aic?
    252   1.1      matt 
    253   1.1      matt ## These entries find devices on all SCSI busses and assign
    254   1.1      matt ## unit numbers dynamically.
    255   1.1      matt sd*	at scsibus? target ? lun ?		# SCSI disks
    256   1.1      matt st*	at scsibus? target ? lun ?		# SCSI tapes
    257   1.1      matt cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
    258   1.1      matt ch*	at scsibus? target ? lun ?		# SCSI changer devices
    259   1.1      matt ss*	at scsibus? target ? lun ?		# SCSI scanners
    260   1.1      matt uk*	at scsibus? target ? lun ?		# unknown SCSI
    261   1.1      matt 
    262   1.1      matt ## PCMCIA IDE controllers
    263  1.27  macallan wdc*	at pcmcia?
    264  1.27  macallan 
    265  1.27  macallan atabus* at ata?
    266  1.27  macallan wd*		at atabus? drive ? flags 0x0000
    267   1.1      matt 
    268   1.1      matt ## A disk-like interface to files.  Can be used to create floppy, CD,
    269   1.1      matt ## miniroot images, etc.
    270   1.1      matt 
    271  1.36      cube pseudo-device	vnd	
    272   1.1      matt 
    273   1.1      matt ## Memory disk device, used on boot floppies with compressed
    274   1.1      matt ## kernel-plus-root-disk images.
    275   1.1      matt 
    276  1.51   hannken #pseudo-device	md	
    277   1.1      matt 
    278   1.1      matt 
    279   1.1      matt #### Network interfaces
    280   1.1      matt 
    281   1.1      matt ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
    282   1.1      matt ## Three flavors of additional SBus ethernets are available.  One attaches
    283   1.1      matt ## directly like the sun4c on-board, one uses the ledma device like the
    284   1.1      matt ## sun4m on-board, and one uses the lebuffer device.
    285   1.1      matt 
    286   1.1      matt ledma0		at sbus0 slot ? offset ?		# sun4m on-board
    287   1.1      matt le0		at ledma0				# sun4m on-board
    288   1.1      matt 
    289   1.1      matt # PCMCIA ethernet devices
    290  1.27  macallan ep*	at pcmcia?
    291   1.1      matt #mbe*	at pcmcia?
    292   1.1      matt #ne*	at pcmcia?
    293   1.1      matt #sm*	at pcmcia?
    294   1.1      matt 
    295  1.27  macallan wi*	at pcmcia?
    296  1.27  macallan 
    297   1.1      matt ## Loopback network interface; required
    298   1.1      matt pseudo-device	loop
    299   1.1      matt 
    300   1.1      matt ## PPP, the successor to SLIP.  See pppd(8).
    301  1.36      cube pseudo-device	ppp		
    302   1.1      matt 
    303   1.1      matt ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    304   1.1      matt ## This is used by the third-party user-mode "ppp" program, and others.
    305  1.36      cube pseudo-device	tun		
    306   1.1      matt 
    307   1.1      matt ## Generic L3 over IP tunnel
    308  1.36      cube #pseudo-device	gre			# generic L3 over IP tunnel
    309   1.1      matt 
    310   1.1      matt ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    311   1.1      matt ## interface that allows selective examining of incoming packets.
    312  1.35    rpaulo pseudo-device	bpfilter
    313   1.1      matt 
    314  1.75      maxv pseudo-device	npf			# NPF packet filter
    315   1.1      matt 
    316   1.1      matt 
    317   1.1      matt #### Audio and video devices
    318   1.1      matt 
    319  1.28  macallan ## /dev/audio support
    320  1.28  macallan 
    321  1.44       jdc #options 	DBRI_DEBUG	# noisy debug output from the dbri driver
    322  1.44       jdc options 	DBRI_BIG_BUFFER	# use bigger DMA buffers, for slow CPUs
    323  1.28  macallan dbri0		at sbus0 slot ? offset ?		# SUNW,DBRI[s3|e]
    324  1.28  macallan audio*		at audiobus?
    325   1.2      matt 
    326  1.70  christos spkr*		at audio?		# PC speaker (synthesized)
    327  1.68       nat 
    328   1.2      matt # Tadpole 3GX/3GS (P9100 -- P Nine One Zero Zero -> pnozz)
    329   1.2      matt pnozz0 at sbus? slot ? offset ?
    330  1.44       jdc #options 	PNOZZ_EMUL_CG3		# emulate a CG3 for Xsun instead of 
    331  1.37  macallan 					# running natively
    332  1.37  macallan 
    333  1.37  macallan wsdisplay* 	at wsemuldisplaydev? console ?
    334   1.1      matt 
    335   1.1      matt #### Other device configuration
    336   1.3      matt 
    337   1.3      matt # Tadpole microcontroller
    338   1.3      matt tctrl0 at obio0
    339   1.1      matt 
    340   1.1      matt ## Pseudo ttys, required for network logins and programs like screen.
    341   1.1      matt 
    342   1.8  jdolecek pseudo-device	pty			# pseudo-ttys (for network, etc.)
    343   1.1      matt 
    344   1.1      matt ## Random device, used to implement /dev/random (a source of random noise),
    345   1.1      matt ## and generate randomness for some kernel formulae.
    346   1.1      matt 
    347  1.16     lukem 
    348  1.16     lukem pseudo-device	clockctl		# user control of clock subsystem
    349  1.49     pooka #pseudo-device	fss			# file system snapshot device
    350  1.37  macallan 
    351  1.37  macallan pseudo-device	wsmux			# mouse and keyboard multiplexor
    352  1.37  macallan pseudo-device	wsfont
    353