Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.132
      1  1.132     isaki #	$NetBSD: GENERIC,v 1.132 2019/04/13 08:23:00 isaki Exp $
      2    1.1   thorpej #
      3    1.1   thorpej # Generic Shark configuration.
      4    1.1   thorpej #
      5    1.1   thorpej 
      6    1.1   thorpej include	"arch/shark/conf/std.shark"
      7    1.1   thorpej 
      8    1.5    atatat options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9    1.5    atatat 
     10  1.132     isaki #ident		"GENERIC-$Revision: 1.132 $"
     11    1.1   thorpej 
     12    1.1   thorpej # estimated number of users
     13    1.1   thorpej maxusers	32
     14    1.1   thorpej 
     15    1.1   thorpej # Standard system options
     16    1.1   thorpej 
     17    1.1   thorpej options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     18    1.1   thorpej options 	HZ=64
     19    1.1   thorpej #options 	NTP		# NTP phase/frequency locked loop
     20    1.1   thorpej #options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
     21    1.1   thorpej 
     22    1.1   thorpej # CPU options
     23    1.1   thorpej 
     24    1.1   thorpej options 	CPU_SA110	# Support the SA110 core
     25    1.1   thorpej 
     26    1.1   thorpej # Architecture options
     27    1.1   thorpej 
     28    1.1   thorpej options 	SHARK		# We are a Shark
     29    1.1   thorpej options 	NSIO		# We are using the National Semi SuperIO
     30   1.20       uwe makeoptions	CPUFLAGS="-march=armv4 -mtune=strongarm"
     31    1.1   thorpej 
     32    1.1   thorpej # compatibility with old version of OFW, which may have incorrect
     33    1.1   thorpej # properties and/or may set up devices incorrectly.
     34    1.1   thorpej options 	COMPAT_OLD_OFW
     35    1.1   thorpej 
     36    1.1   thorpej # File systems
     37    1.1   thorpej 
     38    1.1   thorpej file-system	FFS		# UFS
     39    1.1   thorpej #file-system	LFS		# log-structured file system
     40    1.1   thorpej file-system	MFS		# memory file system
     41    1.1   thorpej file-system	NFS		# Network file system
     42    1.1   thorpej #file-system 	ADOSFS		# AmigaDOS-compatible file system
     43    1.1   thorpej #file-system 	EXT2FS		# second extended file system (linux)
     44    1.1   thorpej #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     45    1.1   thorpej file-system	MSDOSFS		# MS-DOS file system
     46   1.30  christos file-system	FDESC		# /dev/fd
     47    1.1   thorpej #file-system	FILECORE	# Acorn filecore file system
     48    1.1   thorpej file-system	KERNFS		# /kern
     49   1.24      matt file-system	NULLFS		# loopback file system
     50    1.1   thorpej #file-system 	OVERLAY		# overlay filesystem
     51   1.30  christos file-system	PROCFS		# /proc
     52  1.100       mrg file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     53    1.1   thorpej #file-system	UMAPFS		# NULLFS + uid and gid remapping
     54    1.1   thorpej #file-system	UNION		# union file system
     55    1.1   thorpej #file-system	CODA		# Coda file system (needs vcoda below)
     56   1.51  christos file-system	PTYFS		# /dev/pts/N support
     57   1.69      matt file-system	TMPFS		# Efficient memory file-system
     58   1.57   reinoud #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     59    1.1   thorpej 
     60    1.1   thorpej # File system options
     61   1.93    bouyer #options 	QUOTA		# legacy UFS quotas
     62   1.93    bouyer #options 	QUOTA2		# new, in-filesystem UFS quotas
     63   1.95       wiz #options 	FFS_EI		# FFS Endian Independent support
     64   1.97  dholland options 	WAPBL		# File system journaling support
     65   1.40    rumble #options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     66   1.30  christos options 	NFSSERVER
     67   1.54   tsutsui #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     68  1.120      manu #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     69    1.1   thorpej 
     70    1.1   thorpej # Networking options
     71    1.1   thorpej 
     72    1.1   thorpej #options 	GATEWAY		# packet forwarding
     73    1.1   thorpej options 	INET		# IP + ICMP + TCP + UDP
     74    1.1   thorpej options 	INET6		# IPV6
     75    1.1   thorpej #options 	IPSEC		# IP security
     76    1.1   thorpej #options 	IPSEC_DEBUG	# debug for IP security
     77    1.1   thorpej #options 	MROUTING	# IP multicast routing
     78   1.34      manu #options 	PIM		# Protocol Independent Multicast
     79    1.1   thorpej #options 	NETATALK	# AppleTalk networking
     80    1.1   thorpej 				# if you enable the pseudo-device ipl).
     81    1.1   thorpej 
     82    1.1   thorpej #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     83    1.1   thorpej #options 	PPP_DEFLATE	# Deflate compression support for PPP
     84    1.1   thorpej #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     85    1.1   thorpej options 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
     86    1.1   thorpej #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     87    1.1   thorpej 
     88   1.31       abs #options 	ALTQ		# Manipulate network interfaces' output queues
     89   1.31       abs #options 	ALTQ_BLUE	# Stochastic Fair Blue
     90   1.31       abs #options 	ALTQ_CBQ	# Class-Based Queueing
     91   1.31       abs #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
     92   1.31       abs #options 	ALTQ_FIFOQ	# First-In First-Out Queue
     93   1.31       abs #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
     94   1.31       abs #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
     95   1.31       abs #options 	ALTQ_LOCALQ	# Local queueing discipline
     96   1.31       abs #options 	ALTQ_PRIQ	# Priority Queueing
     97   1.31       abs #options 	ALTQ_RED	# Random Early Detection
     98   1.31       abs #options 	ALTQ_RIO	# RED with IN/OUT
     99   1.31       abs #options 	ALTQ_WFQ	# Weighted Fair Queueing
    100   1.31       abs 
    101    1.1   thorpej # Compatibility options
    102    1.1   thorpej 
    103  1.130       mrg include 	"conf/compat_netbsd12.config"
    104  1.130       mrg options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
    105  1.130       mrg 
    106   1.24      matt options 	COMPAT_LINUX	# Linux compatibility.
    107    1.1   thorpej 
    108    1.1   thorpej # Shared memory options
    109    1.1   thorpej 
    110    1.1   thorpej options 	SYSVMSG		# System V-like message queues
    111    1.1   thorpej options 	SYSVSEM		# System V-like semaphores
    112    1.1   thorpej options 	SYSVSHM		# System V-like memory sharing
    113    1.1   thorpej 
    114    1.1   thorpej # Device options
    115    1.1   thorpej 
    116   1.44  christos #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    117    1.3     lukem #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
    118    1.1   thorpej #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    119    1.1   thorpej 
    120    1.1   thorpej options 	INSECURE		# disable kernel securelevel
    121    1.1   thorpej 
    122    1.1   thorpej # Use the following to force the serial to always be the console
    123    1.1   thorpej # device.  19200 is what the serial gets set up as by the firmware
    124    1.1   thorpej # when it hasn't fallen back from PC.  If it has fallen back then
    125    1.1   thorpej # the speed will be set at 9600.
    126    1.1   thorpej #options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
    127    1.1   thorpej 
    128    1.1   thorpej # Miscellaneous kernel options
    129    1.1   thorpej options 	KTRACE		# system call tracing, a la ktrace(1)
    130    1.1   thorpej options 	IRQSTATS	# manage IRQ statistics, XXX temp required
    131    1.7     lukem options 	USERCONF	# userconf(4) support
    132   1.37   tsutsui #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    133   1.32    atatat options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    134   1.92   tsutsui options 	MODULAR		# new style module(7) framework
    135  1.119   jnemeth options 	MODULAR_DEFAULT_AUTOLOAD
    136    1.1   thorpej 
    137    1.1   thorpej # Development and Debugging options
    138    1.1   thorpej 
    139    1.1   thorpej #options 	ARM700BUGTRACK	# track the ARM700 swi bug
    140    1.1   thorpej #options 	PORTMASTER	# Enable PortMaster only options
    141   1.75  christos options 	DIAGNOSTIC	# internal consistency checks
    142    1.1   thorpej #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    143    1.1   thorpej options 	DDB		# in-kernel debugger
    144  1.117     joerg makeoptions	COPY_SYMTAB=1 	# reserve symbol space for DDB
    145    1.8    martin 				# (needed because we boot netbsd.aout)
    146    1.1   thorpej #options 	DDB_ONPANIC=0	# don't run DDB at panictime
    147    1.1   thorpej #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    148   1.11       wiz #options 	KERNEL_DEBUG	# compile in kernel debugging capability
    149    1.1   thorpej #makeoptions	DEBUG="-g"	# compile full symbol table
    150    1.1   thorpej 
    151   1.38   tsutsui #
    152   1.38   tsutsui # wscons options
    153   1.38   tsutsui #
    154   1.38   tsutsui # builtin terminal emulations
    155   1.38   tsutsui #options 	WSEMUL_SUN		# sun terminal emulation
    156   1.38   tsutsui options 	WSEMUL_VT100		# VT100 / VT220 emulation
    157   1.38   tsutsui # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
    158   1.38   tsutsui #options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
    159   1.38   tsutsui #options 	WS_DEFAULT_FG=WSCOL_WHITE
    160   1.38   tsutsui #options 	WS_DEFAULT_BG=WSCOL_BLACK
    161   1.38   tsutsui #options 	WS_DEFAULT_COLATTR="(0)"
    162   1.38   tsutsui #options 	WS_DEFAULT_MONOATTR="(0)"
    163   1.38   tsutsui options 	WS_KERNEL_FG=WSCOL_GREEN
    164   1.38   tsutsui #options 	WS_KERNEL_BG=WSCOL_BLACK
    165   1.38   tsutsui #options 	WS_KERNEL_COLATTR=""
    166   1.38   tsutsui #options 	WS_KERNEL_MONOATTR=""
    167   1.38   tsutsui # customization of console border color
    168   1.38   tsutsui #options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
    169   1.38   tsutsui #options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
    170   1.38   tsutsui # compatibility to other console drivers
    171   1.38   tsutsui options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    172   1.38   tsutsui options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    173  1.101       abs options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    174   1.38   tsutsui options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    175   1.62  drochner # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
    176   1.38   tsutsui #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    177   1.38   tsutsui #options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
    178   1.38   tsutsui # allocate a number of virtual screens at autoconfiguration time
    179   1.38   tsutsui #options 	WSDISPLAY_DEFAULTSCREENS=4
    180   1.38   tsutsui # use a large software cursor that doesn't blink
    181   1.38   tsutsui #options 	PCDISPLAY_SOFTCURSOR
    182   1.38   tsutsui # modify the screen type of the console; defaults to "80x25"
    183   1.38   tsutsui #options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
    184   1.38   tsutsui # console scrolling support.
    185   1.38   tsutsui #options 	WSDISPLAY_SCROLLSUPPORT
    186   1.38   tsutsui # enable VGA raster mode capable of displaying multilingual text on console
    187   1.38   tsutsui #options 	VGA_RASTERCONSOLE
    188   1.38   tsutsui 
    189    1.1   thorpej config		netbsd		root on ? type ?
    190    1.1   thorpej 
    191    1.1   thorpej # The main bus device
    192    1.1   thorpej mainbus0 at root
    193    1.1   thorpej 
    194   1.23       wiz # The boot CPU
    195    1.1   thorpej cpu0 at mainbus?
    196    1.1   thorpej 
    197    1.1   thorpej # Open Firmware devices
    198    1.1   thorpej ofbus*		at root
    199    1.1   thorpej ofbus*		at ofbus?
    200    1.1   thorpej #ofdisk* 	at ofbus?
    201    1.1   thorpej #ofnet*		at ofbus?	# don't use with cs0
    202    1.1   thorpej #ofcons* 	at ofbus?	# don't use with pc0
    203    1.1   thorpej ofrtc*		at ofisa?
    204    1.1   thorpej ofrom*		at ofbus?
    205    1.1   thorpej 
    206    1.1   thorpej ofisa*		at ofbus?
    207    1.1   thorpej ofbus*		at ofisa?
    208    1.1   thorpej 
    209    1.1   thorpej # IDE/ATA disk
    210    1.1   thorpej wdc*		at ofisa?
    211   1.21    bouyer atabus* 	at wdc? channel ?
    212   1.21    bouyer wd*		at atabus? drive ?
    213    1.1   thorpej 
    214   1.21    bouyer atapibus*	at atabus?
    215    1.1   thorpej cd*		at atapibus? drive?
    216    1.1   thorpej sd*		at atapibus? drive?
    217    1.1   thorpej 
    218    1.1   thorpej # PCCONS@OFW
    219   1.38   tsutsui #ofisapc*	at ofbus?
    220   1.38   tsutsui #pc*		at ofisapc?
    221    1.1   thorpej #options 	FRENCH_KBD
    222    1.1   thorpej #options 	FINNISH_KBD
    223    1.1   thorpej #options 	GERMAN_KBD
    224    1.1   thorpej #options 	NORWEGIAN_KBD
    225    1.1   thorpej 
    226    1.1   thorpej # PS/2 Mouse
    227   1.38   tsutsui #opms0		at spckbd? irq 12
    228   1.38   tsutsui 
    229   1.38   tsutsui # wscons
    230   1.38   tsutsui pckbc*		at ofisa?
    231   1.38   tsutsui pckbd*		at pckbc?
    232   1.38   tsutsui pms*		at pckbc?
    233   1.38   tsutsui vga*		at ofbus?
    234   1.94  macallan igsfb*		at ofbus?	# IGS CyberPro in rev. 5 sharks
    235   1.94  macallan chipsfb*	at ofbus?	# C&T 65550 in rev. 4 and earlier
    236   1.68  macallan wsdisplay*	at wsemuldisplaydev?
    237   1.38   tsutsui wskbd*		at pckbd? console ?
    238   1.38   tsutsui wsmouse*	at pms? mux 0
    239    1.1   thorpej 
    240    1.1   thorpej # CS8900 Ethernet@OFW
    241    1.1   thorpej cs*		at ofisa?
    242    1.1   thorpej 
    243    1.1   thorpej # Serial @OFW
    244    1.1   thorpej com*		at ofisa?
    245    1.1   thorpej 
    246    1.1   thorpej # Parallel @OFW
    247    1.1   thorpej lpt*		at ofisa?
    248    1.1   thorpej 
    249    1.1   thorpej # Smart Card
    250    1.1   thorpej ofisascr*	at ofisa?
    251    1.1   thorpej scr*		at ofisascr?
    252    1.1   thorpej 
    253    1.1   thorpej # ESS Sound@OFW
    254    1.1   thorpej ess*		at ofisa?
    255    1.1   thorpej audio*		at ess?
    256    1.1   thorpej opl*		at ess?
    257    1.1   thorpej midi*		at opl?
    258    1.1   thorpej 
    259  1.126  christos spkr*		at audio?		# PC speaker (synthesized)
    260  1.124       nat 
    261    1.1   thorpej # Joystick @OFW
    262    1.1   thorpej joy*		at ofisa?
    263    1.1   thorpej 
    264  1.127  jakllsch # PCI @OFW
    265  1.127  jakllsch #vlpci*		at ofbus?
    266  1.127  jakllsch #pci*		at vlpci?
    267  1.127  jakllsch 
    268   1.77      jmmv # Pull in optional local configuration
    269   1.78      jmmv cinclude "arch/shark/conf/GENERIC.local"
    270   1.77      jmmv 
    271   1.81       tls #
    272   1.81       tls # accept filters
    273   1.81       tls pseudo-device   accf_data		# "dataready" accept filter
    274   1.81       tls pseudo-device   accf_http		# "httpready" accept filter
    275   1.81       tls 
    276  1.107  christos pseudo-device	loop			# network loopback
    277   1.58    rpaulo pseudo-device	bpfilter		# packet filter
    278   1.63  liamjfoy #pseudo-device	carp			# Common Address Redundancy Protocol
    279   1.59      cube #pseudo-device	sl			# CSLIP
    280   1.59      cube #pseudo-device	ppp			# PPP
    281   1.59      cube #pseudo-device	tun			# network tunneling over tty
    282  1.131      maxv #pseudo-device	npf			# NPF packet filter
    283   1.59      cube pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    284   1.59      cube #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    285   1.60     pavel pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    286   1.59      cube #pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
    287    1.1   thorpej pseudo-device	pty			# pseudo-terminals
    288   1.59      cube pseudo-device	vnd			# disk-like interface to files
    289   1.47   hubertf #options 	VND_COMPRESSION		# compressed vnd(4)
    290  1.107  christos #pseudo-device	ccd			# concatenated disk devices
    291   1.89     pooka pseudo-device	fss			# file system snapshot device
    292  1.107  christos #pseudo-device	cgd			# cryptographic disk devices
    293    1.1   thorpej 
    294   1.91   hannken #pseudo-device	md			# Ramdisk driver
    295    1.1   thorpej #pseudo-device	profiler 1		# fiq based profiling device
    296  1.109  christos pseudo-device	sequencer		# MIDI sequencer
    297    1.1   thorpej pseudo-device	openfirm		# /dev/openfirm
    298  1.108  christos #pseudo-device	vcoda			# coda kernel <-> cachemanager
    299    1.6     lukem pseudo-device	clockctl		# user control of clock subsystem
    300  1.132     isaki pseudo-device	drvctl			# user control of drive subsystem
    301   1.38   tsutsui pseudo-device	wsmux			# mouse & keyboard multiplexor
    302   1.38   tsutsui pseudo-device	wsfont
    303   1.16     ragge pseudo-device	ksyms			# /dev/ksyms
    304  1.100       mrg pseudo-device	putter			# for puffs and pud
    305   1.55      elad 
    306   1.55      elad # Veriexec
    307   1.55      elad #
    308   1.55      elad # a pseudo device needed for veriexec
    309  1.108  christos #pseudo-device	veriexec
    310   1.55      elad #
    311   1.55      elad # Uncomment the fingerprint methods below that are desired. Note that
    312   1.55      elad # removing fingerprint methods will have almost no impact on the kernel
    313   1.55      elad # code size.
    314   1.55      elad #
    315   1.55      elad #options VERIFIED_EXEC_FP_SHA256
    316   1.55      elad #options VERIFIED_EXEC_FP_SHA384
    317   1.55      elad #options VERIFIED_EXEC_FP_SHA512
    318   1.75  christos 
    319   1.75  christos options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
    320   1.75  christos options PAX_ASLR=0			# PaX Address Space Layout Randomization
    321