Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.141
      1 # $NetBSD: GENERIC,v 1.141 2014/03/24 14:15:37 szptvlfn Exp $
      2 #
      3 # GENERIC machine description file
      4 #
      5 # This machine description file is used to generate the default NetBSD
      6 # kernel.  The generic kernel does not include all options, subsystems
      7 # and device drivers, but should be useful for most applications.
      8 #
      9 # The machine description file can be customised for your specific
     10 # machine to reduce the kernel size and improve its performance.
     11 #
     12 # For further information on compiling NetBSD kernels, see the config(8)
     13 # man page.
     14 #
     15 # For further information on hardware support for this architecture, see
     16 # the intro(4) man page.  For further information about kernel options
     17 # for this architecture, see the options(4) man page.  For an explanation
     18 # of each device driver in this file see the section 4 man page for the
     19 # device.
     20 
     21 include 	"arch/bebox/conf/std.bebox"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.141 $"
     26 
     27 maxusers	32
     28 
     29 # Standard system options
     30 
     31 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     32 options 	NTP		# NTP phase/frequency locked loop
     33 
     34 options 	KTRACE		# system call tracing via ktrace(1)
     35 
     36 options 	SYSVMSG		# System V-like message queues
     37 options 	SYSVSEM		# System V-like semaphores
     38 options 	SYSVSHM		# System V-like memory sharing
     39 
     40 options 	USERCONF	# userconf(4) support
     41 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     42 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     43 
     44 # Enable experimental buffer queue strategy for better responsiveness under
     45 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     46 #options 	BUFQ_READPRIO
     47 #options 	BUFQ_PRIOCSCAN
     48 
     49 # Diagnostic/debugging support options
     50 #options 	DIAGNOSTIC	# cheap kernel consistency checks
     51 #options 	DEBUG		# expensive debugging checks/support
     52 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     53 options 	DDB		# in-kernel debugger
     54 options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
     55 options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
     56 #makeoptions	DEBUG="-g"
     57 
     58 options 	COMPAT_09	# NetBSD 0.9,
     59 options 	COMPAT_10	# NetBSD 1.0,
     60 options 	COMPAT_11	# NetBSD 1.1,
     61 options 	COMPAT_12	# NetBSD 1.2,
     62 options 	COMPAT_13	# NetBSD 1.3,
     63 options 	COMPAT_14	# NetBSD 1.4,
     64 options 	COMPAT_15	# NetBSD 1.5,
     65 options 	COMPAT_16	# NetBSD 1.6,
     66 options 	COMPAT_20	# NetBSD 2.0,
     67 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     68 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     69 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     70 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     71 options 	COMPAT_43	# 4.3BSD
     72 #options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
     73 #options 	COMPAT_LINUX	# Linux binary compatibility
     74 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     75 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     76 
     77 # File systems
     78 file-system	FFS		# UFS
     79 #file-system	EXT2FS		# second extended file system (linux)
     80 #file-system	LFS		# log-structured file system
     81 file-system	MFS		# memory file system
     82 file-system	NFS		# Network File System client
     83 file-system	CD9660		# ISO 9660 + Rock Ridge file system
     84 file-system	MSDOSFS		# MS-DOS file system
     85 #file-system	FDESC		# /dev/fd
     86 file-system	KERNFS		# /kern
     87 file-system	NULLFS		# loopback file system
     88 #file-system	OVERLAY		# overlay file system
     89 file-system	PROCFS		# /proc
     90 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     91 file-system	UNION		# union file system
     92 #file-system	CODA		# Coda File System; also needs vcoda (below)
     93 #file-system	SMBFS		# CIFS; also needs nsmb (below)
     94 file-system	PTYFS		# /dev/pts/N support
     95 file-system	TMPFS		# Efficient memory file-system
     96 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     97 #file-system	HFS		# experimental - Apple HFS+ (read-only)
     98 
     99 # File system options
    100 options 	QUOTA		# legacy UFS quotas
    101 options 	QUOTA2		# new, in-filesystem UFS quotas
    102 #options 	FFS_EI		# FFS Endian Independent support
    103 options 	WAPBL		# File system journaling support
    104 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    105 #options 	NFSSERVER	# Network File System server
    106 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    107 #options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
    108 				# immutable) behave as system flags.
    109 #options 	APPLE_UFS	# Apple UFS support in FFS
    110 
    111 # Networking options
    112 #options 	GATEWAY		# packet forwarding
    113 options 	INET		# IP + ICMP + TCP + UDP
    114 options 	INET6		# IPV6
    115 #options 	IPSEC		# IP security
    116 #options 	IPSEC_DEBUG	# debug for IP security
    117 #options 	MROUTING	# IP multicast routing
    118 #options 	PIM		# Protocol Independent Multicast
    119 #options 	NETATALK	# AppleTalk networking protocols
    120 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    121 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    122 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    123 #options 	IPFILTER_LOG	# ipmon(8) log support
    124 #options 	IPFILTER_LOOKUP	# ippool(8) support
    125 options 	IPFILTER_COMPAT # Compat for IP-Filter
    126 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    127 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    128 
    129 #options 	ALTQ		# Manipulate network interfaces' output queues
    130 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    131 #options 	ALTQ_CBQ	# Class-Based Queueing
    132 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    133 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    134 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    135 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    136 #options 	ALTQ_LOCALQ	# Local queueing discipline
    137 #options 	ALTQ_PRIQ	# Priority Queueing
    138 #options 	ALTQ_RED	# Random Early Detection
    139 #options 	ALTQ_RIO	# RED with IN/OUT
    140 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    141 
    142 # These options enable verbose messages for several subsystems.
    143 # Warning, these may compile large string tables into the kernel!
    144 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    145 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    146 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    147 options 	SCSIVERBOSE	# human readable SCSI error messages
    148 
    149 #options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
    150 
    151 # wscons options
    152 # builtin terminal emulations
    153 #options 	WSEMUL_SUN		# sun terminal emulation
    154 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    155 options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
    156 # compatibility to other console drivers
    157 options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
    158 options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
    159 
    160 config		netbsd	root on ? type ?
    161 
    162 mainbus0 at root
    163 
    164 cpu*	at mainbus0
    165 pci0	at mainbus0 bus ?
    166 
    167 pci*	at ppb? bus ?
    168 
    169 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    170 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    171 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    172 
    173 isa*	at pcib?			# ISA on PCI-ISA bridge
    174 
    175 # Console Devices
    176 
    177 # wscons
    178 pckbc0		at isa?			# pc keyboard controller
    179 pckbd*		at pckbc?		# PC keyboard
    180 pms*		at pckbc?		# PS/2 mouse for wsmouse
    181 #options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
    182 #options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
    183 genfb*		at pci? dev ? function ?
    184 options 	WSFB_FAKE_VGA_FB
    185 vga*		at pci? dev ? function ?
    186 wsdisplay*	at vga? console ?
    187 wskbd*		at pckbd? console ?
    188 wsmouse*	at pms? mux 0
    189 
    190 # make sure the console display is always wsdisplay0
    191 wsdisplay0	at wsemuldisplaydev? console 1
    192 wsdisplay*	at wsemuldisplaydev?
    193 
    194 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    195 com1	at isa? port 0x2f8 irq 3
    196 com2	at isa? port 0x380 irq 22
    197 com3	at isa? port 0x388 irq 23
    198 
    199 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    200 
    201 mcclock0 at isa? port 0x70		# time-of-day clock
    202 attimer0 at isa?
    203 #pcppi0	at isa?
    204 #spkr0	at pcppi?
    205 
    206 wss0	at isa? port 0x82c irq 30 drq 6 drq2 7	# Windows Sound System
    207 
    208 # Audio support
    209 audio*	at audiobus?
    210 
    211 # MIDI support
    212 #midi*	at pcppi?			# MIDI interface to the PC speaker
    213 
    214 # Joystick driver. Probe is a little strange; add only if you have one.
    215 joy0	at isa? port 0x201
    216 
    217 siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
    218 scsibus* at siop?
    219 
    220 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    221 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    222 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    223 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    224 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    225 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    226 
    227 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    228 fd0	at fdc? drive 1
    229 #fd*	at fdc? drive ?
    230 
    231 wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
    232 
    233 atabus* at ata?
    234 wd*	at atabus? drive ?
    235 
    236 # ATAPI bus support
    237 atapibus* at atapi?
    238 
    239 # ATAPI devices
    240 # flags have the same meaning as for IDE drives.
    241 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    242 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    243 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    244 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    245 
    246 # Network devices
    247 ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    248 ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
    249 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    250 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    251 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    252 
    253 # MII/PHY support
    254 ukphy*  at mii? phy ?                   # generic unknown PHYs
    255 
    256 # TV cards
    257 
    258 # Brooktree 848/849/878/879 based TV cards
    259 bktr*	at pci? dev ? function ?	# Brooktree video/audio capture/tuner
    260 
    261 
    262 # Pseudo-Devices
    263 
    264 pseudo-device	crypto			# /dev/crypto device
    265 					# (disabled, requires generic softints)
    266 pseudo-device	swcrypto		# software crypto implementation
    267 
    268 # disk/mass storage pseudo-devices
    269 #pseudo-device	bio			# RAID control device driver
    270 pseudo-device	ccd			# concatenated/striped disk devices
    271 pseudo-device	cgd			# cryptographic disk devices
    272 #pseudo-device	raid			# RAIDframe disk driver
    273 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    274 # Options to enable various other RAIDframe RAID types.
    275 #options 	RF_INCLUDE_EVENODD=1
    276 #options 	RF_INCLUDE_RAID5_RS=1
    277 #options 	RF_INCLUDE_PARITYLOGGING=1
    278 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    279 #options 	RF_INCLUDE_INTERDECLUSTER=1
    280 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    281 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    282 pseudo-device	fss			# file system snapshot device
    283 
    284 pseudo-device	md			# memory disk device
    285 pseudo-device	vnd			# disk-like interface to files
    286 options 	VND_COMPRESSION		# compressed vnd(4)
    287 
    288 # network pseudo-devices
    289 pseudo-device	bpfilter		# packet filter
    290 #pseudo-device	carp			# Common Address Redundancy Protocol
    291 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    292 pseudo-device	loop			# network loopback
    293 pseudo-device	ppp			# Point-to-Point Protocol
    294 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    295 pseudo-device	sl			# Serial Line IP
    296 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    297 #pseudo-device	irframetty		# IrDA frame line discipline
    298 pseudo-device	tap			# virtual Ethernet
    299 pseudo-device	tun			# network tunneling over tty
    300 #pseudo-device	gre			# generic L3 over IP tunnel
    301 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    302 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    303 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    304 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    305 #pseudo-device	bridge			# simple inter-network bridging
    306 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    307 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    308 #pseudo-device	pf			# PF packet filter
    309 #pseudo-device	pflog			# PF log if
    310 # srt is EXPERIMENTAL
    311 #pseudo-device	srt			# source-address-based routing
    312 
    313 #
    314 # accept filters
    315 pseudo-device   accf_data		# "dataready" accept filter
    316 pseudo-device   accf_http		# "httpready" accept filter
    317 
    318 # miscellaneous pseudo-devices
    319 pseudo-device	pty			# pseudo-terminals
    320 pseudo-device	sequencer		# MIDI sequencer
    321 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    322 pseudo-device	clockctl		# user control of clock subsystem
    323 pseudo-device	ksyms			# /dev/ksyms
    324 pseudo-device	lockstat		# lock profiling
    325 #pseudo-device	bcsp			# BlueCore Serial Protocol
    326 #pseudo-device	btuart			# Bluetooth HCI UART (H4)
    327 
    328 # a pseudo device needed for Coda	# also needs CODA (above)
    329 #pseudo-device	vcoda			# coda minicache <-> venus comm.
    330 
    331 # a pseudo device needed for SMBFS
    332 #pseudo-device	nsmb			# experimental - SMB requester
    333 
    334 # wscons pseudo-devices
    335 pseudo-device	wsmux			# mouse & keyboard multiplexor
    336 pseudo-device	wsfont
    337 
    338 # pseudo audio device driver
    339 #pseudo-device	pad
    340 
    341 # userland interface to drivers, including autoconf and properties retrieval
    342 #pseudo-device	drvctl
    343 
    344 #options 	FILEASSOC		# fileassoc(9) - required for Veriexec
    345 
    346 
    347 # Veriexec
    348 #
    349 # a pseudo device needed for veriexec
    350 #pseudo-device	veriexec
    351 #
    352 # Uncomment the fingerprint methods below that are desired. Note that
    353 # removing fingerprint methods will have almost no impact on the kernel
    354 # code size.
    355 #
    356 #options 	VERIFIED_EXEC_FP_RMD160
    357 #options 	VERIFIED_EXEC_FP_SHA256
    358 #options 	VERIFIED_EXEC_FP_SHA384
    359 #options 	VERIFIED_EXEC_FP_SHA512
    360 #options 	VERIFIED_EXEC_FP_SHA1
    361 #options 	VERIFIED_EXEC_FP_MD5
    362 
    363 #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    364 #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    365