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