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