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