Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.107.12.1
      1 # $NetBSD: GENERIC,v 1.107.12.1 2008/06/23 04:30:12 wrstuden 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.107.12.1 $"
     26 
     27 maxusers	32
     28 
     29 #options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
     30 #options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
     31 # HMAC key to be used for debugging sessions
     32 #options 	IPKDBKEY="\"HMAC pass phrase text\""
     33 #options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
     34 makeoptions	DEBUG="-g"
     35 
     36 #options 	DEBUG
     37 #options 	DIAGNOSTIC
     38 options 	TRAP_PANICWAIT
     39 options 	DDB
     40 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
     41 options 	KTRACE
     42 options 	USERCONF		# userconf(4) support
     43 #options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     44 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     45 
     46 # Enable experimental buffer queue strategy for better responsiveness under 
     47 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     48 #options 	BUFQ_READPRIO
     49 #options 	BUFQ_PRIOCSCAN
     50 
     51 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     52 options 	COMPAT_43
     53 options 	COMPAT_09
     54 options 	COMPAT_10
     55 options 	COMPAT_12
     56 options 	COMPAT_13
     57 options 	COMPAT_14
     58 options 	COMPAT_15
     59 options 	COMPAT_16
     60 options 	COMPAT_20
     61 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     62 options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
     63 #options 	COMPAT_LINUX		# Linux binary compatibility
     64 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     65 
     66 file-system 	FFS
     67 file-system 	MFS
     68 file-system 	NFS
     69 file-system 	CD9660
     70 file-system 	MSDOSFS
     71 file-system 	FDESC
     72 file-system 	KERNFS
     73 file-system 	NULLFS
     74 file-system 	OVERLAY
     75 file-system 	PORTAL
     76 file-system 	PROCFS
     77 file-system 	UMAPFS
     78 file-system 	UNION
     79 file-system	PTYFS		# /dev/pts/N support
     80 #file-system	TMPFS		# Efficient memory file-system
     81 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     82 
     83 #options 	FFS_EI		# FFS Endian Independant support
     84 options 	SOFTDEP		# FFS soft updates support.
     85 #options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
     86 #options 	NFSSERVER
     87 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     88 
     89 options 	INET
     90 options 	INET6		# IPV6
     91 #options 	IPSEC		# IP security
     92 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
     93 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
     94 #options 	IPSEC_DEBUG	# debug for IP security
     95 
     96 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     97 
     98 #options 	ALTQ		# Manipulate network interfaces' output queues
     99 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    100 #options 	ALTQ_CBQ	# Class-Based Queueing
    101 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    102 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    103 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    104 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    105 #options 	ALTQ_LOCALQ	# Local queueing discipline
    106 #options 	ALTQ_PRIQ	# Priority Queueing
    107 #options 	ALTQ_RED	# Random Early Detection
    108 #options 	ALTQ_RIO	# RED with IN/OUT
    109 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    110 
    111 # These options enable verbose messages for several subsystems.
    112 # Warning, these may compile large string tables into the kernel!
    113 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    114 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    115 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    116 options 	PCI_NETBSD_CONFIGURE
    117 options 	SCSIVERBOSE	# human readable SCSI error messages
    118 
    119 #options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
    120 
    121 # wscons options
    122 # builtin terminal emulations
    123 #options 	WSEMUL_SUN		# sun terminal emulation
    124 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    125 options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
    126 
    127 config		netbsd	root on ? type ?
    128 
    129 mainbus0 at root
    130 
    131 cpu*	at mainbus0
    132 pci0	at mainbus0 bus ?
    133 
    134 pci*	at ppb? bus ?
    135 
    136 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    137 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    138 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    139 
    140 isa*	at pcib?			# ISA on PCI-ISA bridge
    141 
    142 # Console Devices
    143 
    144 # wscons
    145 pckbc0		at isa?			# pc keyboard controller
    146 pckbd*		at pckbc?		# PC keyboard
    147 pms*		at pckbc?		# PS/2 mouse for wsmouse
    148 #options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
    149 options		PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
    150 genfb*		at pci? dev ? function ?
    151 vga*		at pci? dev ? function ?
    152 wsdisplay*	at vga? console ?
    153 wskbd*		at pckbd? console ?
    154 wsmouse*	at pms? mux 0
    155 
    156 # make sure the console display is always wsdisplay0
    157 wsdisplay0	at wsemuldisplaydev? console 1
    158 wsdisplay*	at wsemuldisplaydev?
    159 
    160 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    161 com1	at isa? port 0x2f8 irq 3
    162 com2	at isa? port 0x380 irq 22
    163 com3	at isa? port 0x388 irq 23
    164 
    165 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    166 
    167 mcclock0 at isa? port 0x70		# time-of-day clock
    168 attimer0 at isa?
    169 pcppi0	at isa?
    170 spkr0	at pcppi?
    171 
    172 #wss0	at isa? port ? irq 30 drq 6 drq2 7	# Windows Sound System
    173 
    174 # Audio support
    175 #audio*  at audiobus?
    176 
    177 # MIDI support
    178 midi*	at pcppi?			# MIDI interface to the PC speaker
    179 
    180 # Joystick driver. Probe is a little strange; add only if you have one.
    181 joy0	at isa? port 0x201
    182 
    183 siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
    184 scsibus* at siop?
    185 
    186 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    187 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    188 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    189 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    190 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    191 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    192 
    193 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    194 #fdc1	at isa? port 0x370 irq ? drq ?
    195 fd0	at fdc? drive 1
    196 #fd*	at fdc? drive ?
    197 
    198 wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
    199 
    200 atabus* at ata?
    201 wd*	at atabus? drive ?
    202 
    203 # ATAPI bus support
    204 atapibus* at atapi?
    205 
    206 # ATAPI devices
    207 # flags have the same meaning as for IDE drives.
    208 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    209 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    210 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    211 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    212 
    213 # Network devices
    214 ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    215 ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
    216 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    217 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    218 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    219 
    220 # MII/PHY support
    221 ukphy*  at mii? phy ?                   # generic unknown PHYs
    222 
    223 
    224 # Pseudo-Devices
    225 
    226 pseudo-device	crypto			# /dev/crypto device
    227 					# (disabled, requires generic softints)
    228 pseudo-device	swcrypto		# software crypto implementation
    229 
    230 # disk/mass storage pseudo-devices
    231 pseudo-device	bio			# RAID control device driver
    232 pseudo-device	ccd		4	# concatenated/striped disk devices
    233 pseudo-device	cgd		4	# cryptographic disk devices
    234 pseudo-device	raid		8	# RAIDframe disk driver
    235 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    236 # Options to enable various other RAIDframe RAID types.
    237 #options 	RF_INCLUDE_EVENODD=1
    238 #options 	RF_INCLUDE_RAID5_RS=1
    239 #options 	RF_INCLUDE_PARITYLOGGING=1
    240 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    241 #options 	RF_INCLUDE_INTERDECLUSTER=1
    242 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    243 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    244 pseudo-device	fss		4	# file system snapshot device
    245 
    246 pseudo-device	md		1	# memory disk device
    247 pseudo-device	vnd			# disk-like interface to files
    248 options 	VND_COMPRESSION		# compressed vnd(4)
    249 
    250 # network pseudo-devices
    251 pseudo-device	bpfilter		# packet filter
    252 #pseudo-device	carp			# Common Address Redundancy Protocol
    253 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    254 pseudo-device	loop			# network loopback
    255 pseudo-device	ppp			# Point-to-Point Protocol
    256 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    257 pseudo-device	sl			# Serial Line IP
    258 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    259 #pseudo-device	irframetty		# IrDA frame line discipline
    260 pseudo-device	tap			# virtual Ethernet
    261 pseudo-device	tun			# network tunneling over tty
    262 #pseudo-device	gre			# generic L3 over IP tunnel
    263 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    264 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    265 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    266 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    267 #pseudo-device	bridge			# simple inter-network bridging
    268 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    269 #pseudo-device	agr			# IEEE 802.3ad link aggregation
    270 #pseudo-device	pf			# PF packet filter
    271 #pseudo-device	pflog			# PF log if
    272 # srt is EXPERIMENTAL
    273 #pseudo-device	srt			# source-address-based routing
    274 
    275 # miscellaneous pseudo-devices
    276 pseudo-device	pty			# pseudo-terminals
    277 pseudo-device	sequencer	1	# MIDI sequencer
    278 pseudo-device	rnd			# /dev/random and in-kernel generator
    279 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    280 pseudo-device	clockctl		# user control of clock subsystem
    281 pseudo-device	ksyms			# /dev/ksyms
    282 pseudo-device	lockstat		# lock profiling
    283 #pseudo-device	bcsp			# BlueCore Serial Protocol
    284 #pseudo-device	btuart			# Bluetooth HCI UART (H4)
    285 
    286 # a pseudo device needed for Coda	# also needs CODA (above)
    287 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    288 
    289 # a pseudo device needed for SMBFS
    290 #pseudo-device	nsmb			# experimental - SMB requester
    291 
    292 # wscons pseudo-devices
    293 pseudo-device	wsmux			# mouse & keyboard multiplexor
    294 pseudo-device	wsfont
    295 
    296 # pseudo audio device driver
    297 #pseudo-device	pad
    298 
    299 # userland interface to drivers, including autoconf and properties retrieval
    300 #pseudo-device	drvctl
    301 
    302 #options 	FILEASSOC		# fileassoc(9) - required for Veriexec
    303 
    304 
    305 # Veriexec
    306 #
    307 # a pseudo device needed for veriexec
    308 #pseudo-device	veriexec		1
    309 #
    310 # Uncomment the fingerprint methods below that are desired. Note that
    311 # removing fingerprint methods will have almost no impact on the kernel
    312 # code size.
    313 #
    314 #options 	VERIFIED_EXEC_FP_RMD160
    315 #options 	VERIFIED_EXEC_FP_SHA256
    316 #options 	VERIFIED_EXEC_FP_SHA384
    317 #options 	VERIFIED_EXEC_FP_SHA512
    318 #options 	VERIFIED_EXEC_FP_SHA1
    319 #options 	VERIFIED_EXEC_FP_MD5
    320 
    321 #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    322 #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    323