Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.33
      1 # $NetBSD: GENERIC,v 1.33 2010/11/23 11:13:58 hannken Exp $
      2 #
      3 # GENERIC machine description file
      4 # This machine description file is used to generate the default NetBSD
      5 # kernel.  The generic kernel does not include all options, subsystems
      6 # and device drivers, but should be useful for most applications.
      7 #
      8 # The machine description file can be customised for your specific
      9 # machine to reduce the kernel size and improve its performance.
     10 #
     11 # For further information on compiling NetBSD kernels, see the config(8)
     12 # man page.
     13 #
     14 # For further information on hardware support for this architecture, see
     15 # the intro(4) man page.  For further information about kernel options
     16 # for this architecture, see the options(4) man page.  For an explanation
     17 # of each device driver in this file see the section 4 man page for the
     18 # device.
     19 
     20 #
     21 # kernel config file for EWS4800/350, 360AD, 360ADII
     22 #
     23 
     24 include 	"arch/ews4800mips/conf/std.ews4800mips"
     25 
     26 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     27 
     28 #ident		"GENERIC-$Revision: 1.33 $"
     29 
     30 maxusers	16
     31 
     32 #options 	MIPS1			# R2000/R3000
     33 options 	MIPS3			# R4000/R4400
     34 
     35 makeoptions	CPUFLAGS="-march=r4400 -mabi=32" # optimize for R4400
     36 
     37 # MIPS3 on-chip timer interrupt is not used on EWS4800,
     38 # but the external timer interrupt line is connected to CPU INT5.
     39 options 	MIPS3_ENABLE_CLOCK_INTR
     40 
     41 # Support for specific models
     42 options 	EWS4800_TR2		# 350
     43 options 	EWS4800_TR2A		# 360,360AD,360ADII,360SX,360EX
     44 
     45 # Standard system options
     46 options 	NTP			# NTP phase/frequency locked loop
     47 
     48 options 	KTRACE			# system call tracing ktrace(1)
     49 
     50 options 	SYSVMSG			# System V-like message queues
     51 options 	SYSVSEM			# System V-like semaphores
     52 options 	SEMMNI=10		# number of semaphore identifiers
     53 options 	SYSVSHM			# System V shared memory
     54 options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
     55 
     56 
     57 options 	USERCONF		# userconf(4) support
     58 #options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     59 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     60 
     61 # Enable experimental buffer queue strategy for better responsiveness under
     62 # high disk I/O load. Likely stable but not yet the default.
     63 #options 	BUFQ_READPRIO
     64 #options 	BUFQ_PRIOCSCAN
     65 
     66 # Diagnostic/debugging support options
     67 #options 	DIAGNOSTIC	# expensive kernel consistency checks
     68 #options 	DEBUG		# extra kernel debugging support
     69 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     70 options 	DDB		# in-kernel debugger
     71 #options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
     72 #options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     73 #makeoptions	DEBUG="-g"	# compile full symbol table
     74 
     75 # Compatibility options
     76 #options 	COMPAT_10	# NetBSD 1.0
     77 #options 	COMPAT_11	# NetBSD 1.1
     78 #options 	COMPAT_12	# NetBSD 1.2
     79 options 	COMPAT_13	# NetBSD 1.3
     80 options 	COMPAT_14	# NetBSD 1.4
     81 options 	COMPAT_15	# NetBSD 1.5
     82 options 	COMPAT_16	# NetBSD 1.6
     83 options 	COMPAT_20	# NetBSD 2.0
     84 options 	COMPAT_30	# NetBSD 3.0
     85 options 	COMPAT_40	# NetBSD 4.0
     86 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     87 options 	COMPAT_43	# 4.3BSD
     88 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     89 
     90 #options 	COMPAT_LINUX	# binary compatibility with Linux
     91 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     92 
     93 # File systems
     94 file-system 	FFS		# fast filesystem with user and group quotas
     95 file-system	EXT2FS		# second extended file system (linux)
     96 file-system	LFS		# log-structured file system
     97 file-system	MFS		# memory file system
     98 file-system 	NFS		# Network File System client
     99 #file-system	NTFS		# Windows/NT file system (experimental)
    100 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    101 file-system	MSDOSFS		# MS-DOS file system
    102 file-system	FDESC		# /dev/fd
    103 file-system	KERNFS		# /kern
    104 file-system	NULLFS		# loopback file system
    105 file-system	OVERLAY		# overlay file system
    106 file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
    107 file-system	PROCFS		# /proc
    108 file-system	UMAPFS		# NULLFS + uid and gid remapping
    109 file-system	UNION		# union file system
    110 #file-system	CODA		# Coda file system; also needs vcoda (below)
    111 #file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
    112 file-system	SYSVBFS		# System V boot filesystem.
    113 file-system	PTYFS		# /dev/pts/N support
    114 file-system	TMPFS		# Efficient memory file-system
    115 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    116 
    117 # File system options
    118 options 	QUOTA		# UFS quotas
    119 #options 	FFS_EI		# FFS Endian Indpendent support
    120 options 	WAPBL		# File system journaling support - Experimental
    121 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    122 options 	NFSSERVER	# Network File System server
    123 #options 	FFS_NO_SNAPSHOT	# no FFS snapshot support
    124 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    125 				# immutable) behave as system flags.
    126 
    127 # Networking options
    128 #options 	GATEWAY		# packet forwarding
    129 options 	INET		# IP + ICMP + TCP + UDP
    130 options 	INET6		# IPV6
    131 #options 	IPSEC		# IP security
    132 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    133 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
    134 #options 	IPSEC_DEBUG	# debug for IP security
    135 #options 	MROUTING	# IP multicast routing
    136 #options 	PIM		# Protocol Independent Multicast
    137 #options 	ISO,TPIP	# OSI
    138 #options 	EON		# OSI tunneling over IP
    139 options 	NETATALK	# AppleTalk networking protocols
    140 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    141 options 	PPP_DEFLATE	# Deflate compression support for PPP
    142 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    143 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    144 options 	IPFILTER_LOG	# ipmon(8) log support
    145 options 	IPFILTER_LOOKUP	# ippool(8) support
    146 options 	IPFILTER_COMPAT # Compat for IP-Filter
    147 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    148 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    149 
    150 #options 	ALTQ		# Manipulate network interfaces' output queues
    151 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    152 #options 	ALTQ_CBQ	# Class-Based Queueing
    153 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    154 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    155 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    156 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    157 #options 	ALTQ_LOCALQ	# Local queueing discipline
    158 #options 	ALTQ_PRIQ	# Priority Queueing
    159 #options 	ALTQ_RED	# Random Early Detection
    160 #options 	ALTQ_RIO	# RED with IN/OUT
    161 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    162 
    163 # These options enable verbose messages for several subsystems.
    164 # Warning, these may compile large string tables into the kernel!
    165 options 	SCSIVERBOSE	# human readable SCSI error messages
    166 
    167 options 	NFS_BOOT_DHCP
    168 
    169 
    170 # workstation console options
    171 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    172 options 	WS_KERNEL_FG=WSCOL_GREEN
    173 options 	WS_KERNEL_BG=WSCOL_BLACK
    174 
    175 options 	FONT_GALLANT12x22
    176 #options 	FONT_SONY12x24
    177 
    178 config		netbsd		root on ? type ?
    179 
    180 #
    181 # Device configuration
    182 #
    183 
    184 mainbus0 at root
    185 
    186 cpu0	at mainbus?
    187 
    188 sbdio0	at mainbus?
    189 
    190 mkclock0 at sbdio?
    191 
    192 zsc0	at sbdio?
    193 zstty0	at zsc? channel 0	# SIO ch-A
    194 zstty1	at zsc? channel 1	# SIO ch-B
    195 
    196 #kbms*	at sbdio?
    197 #wskbd0		at kbms? console ?
    198 #wsmouse0	at kbms?
    199 
    200 zsc1	at sbdio?
    201 ewskbd0 at zsc?
    202 wskbd* at ewskbd?
    203 ewsms0 at zsc?
    204 wsmouse* at ewsms?
    205 
    206 fb*	at sbdio?
    207 wsdisplay*	at fb? console ?
    208 
    209 # Disk
    210 osiop*	at sbdio? flags 0x0000
    211 scsibus* at scsi?
    212 
    213 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    214 st*	at scsibus? target ? lun ?	# SCSI tape drives
    215 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    216 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    217 ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    218 ss*	at scsibus? target ? lun ?	# SCSI scanners
    219 uk*	at scsibus? target ? lun ?	# SCSI unknown
    220 
    221 # Ether
    222 iee*	at sbdio?			# TR2
    223 le*	at sbdio?			# TR2A
    224 
    225 
    226 # Pseudo-Devices
    227 
    228 # disk/mass strage pseudo-devices
    229 pseudo-device	ccd		4	# concatenated/striped disk devices
    230 #pseudo-device	cgd		4	# cryptographic disk devices
    231 pseudo-device	raid		8	# RAIDframe disk driver
    232 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    233 # Options to enable various other RAIDframe RAID types.
    234 #options 	RF_INCLUDE_EVENODD=1
    235 #options 	RF_INCLUDE_RAID5_RS=1
    236 #options 	RF_INCLUDE_PARITYLOGGING=1
    237 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    238 #options 	RF_INCLUDE_INTERDECLUSTER=1
    239 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    240 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    241 pseudo-device	fss			# file system snapshot device
    242 pseudo-device	putter			# for puffs and pud
    243 
    244 pseudo-device	md			# memory disk device (ramdisk)
    245 pseudo-device	vnd			# virtual disk ick
    246 options 	VND_COMPRESSION		# compressed vnd(4)
    247 
    248 # network pseudo-devices
    249 pseudo-device	bpfilter		# packet filter ports
    250 #pseudo-device	carp			# Common Address Redundancy Protocol
    251 pseudo-device	ipfilter		# IP filter, NAT
    252 pseudo-device	loop			# network loopback
    253 pseudo-device	ppp			# Point-to-Point Protocol
    254 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    255 pseudo-device	sl			# Serial Line IP
    256 pseudo-device	strip			# Starmode Radio IP (Metricom)
    257 #pseudo-device	irframetty		# IrDA frame line discipline
    258 pseudo-device	tap			# virtual Ethernet
    259 pseudo-device	tun			# network tunneling over tty
    260 pseudo-device	gre			# generic L3 over IP tunnel
    261 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    262 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    263 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    264 pseudo-device	vlan			# IEEE 802.1q encapsulation
    265 pseudo-device	bridge			# simple inter-network bridging
    266 #options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    267 pseudo-device	agr			# IEEE 802.3ad link aggregation
    268 #pseudo-device	pf			# PF packet filter
    269 #pseudo-device	pflog			# PF log if
    270 
    271 #
    272 # accept filters
    273 pseudo-device   accf_data		# "dataready" accept filter
    274 pseudo-device   accf_http		# "httpready" accept filter
    275 
    276 # miscellaneous pseudo-devices
    277 pseudo-device	pty			# pseudo-terminals
    278 #pseudo-device	tb		1	# tablet line discipline
    279 pseudo-device	rnd			# /dev/random and in-kernel generator
    280 pseudo-device	clockctl		# user control of clock subsystem
    281 pseudo-device	ksyms			# /dev/ksyms
    282 
    283 # a pseudo device needed for Coda	# also needs CODA (above)
    284 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    285 
    286 # a pseudo device needed for SMBFS
    287 #pseudo-device	nsmb			# experimental - SMB requester
    288 
    289 # wscons pseudo-devices
    290 pseudo-device	wsmux
    291 
    292 # Veriexec
    293 
    294 # a pseudo device needed for veriexec
    295 #pseudo-device  veriexec                1
    296 
    297 # Uncomment the fingerprint methods below that are desired. Note that
    298 # removing fingerprint methods will have almost no impact on the kernel
    299 # code size.
    300 #options 	VERIFIED_EXEC_FP_RMD160
    301 #options 	VERIFIED_EXEC_FP_SHA256
    302 #options 	VERIFIED_EXEC_FP_SHA384
    303 #options 	VERIFIED_EXEC_FP_SHA512
    304 #options 	VERIFIED_EXEC_FP_SHA1
    305 #options 	VERIFIED_EXEC_FP_MD5
    306