GENERIC revision 1.129
11.129Sdholland# $NetBSD: GENERIC,v 1.129 2011/12/18 05:49:25 dholland Exp $ 21.1Ssakamoto# 31.48Sgmcgarry# GENERIC machine description file 41.108Skiyohara# 51.48Sgmcgarry# This machine description file is used to generate the default NetBSD 61.48Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.48Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Ssakamoto# 91.48Sgmcgarry# The machine description file can be customised for your specific 101.48Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.48Sgmcgarry# 121.48Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.48Sgmcgarry# man page. 141.48Sgmcgarry# 151.48Sgmcgarry# For further information on hardware support for this architecture, see 161.48Sgmcgarry# the intro(4) man page. For further information about kernel options 171.48Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.48Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.48Sgmcgarry# device. 201.1Ssakamoto 211.48Sgmcgarryinclude "arch/bebox/conf/std.bebox" 221.23Shubertf 231.123Skiyoharaoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.55Satatat 251.129Sdholland#ident "GENERIC-$Revision: 1.129 $" 261.1Ssakamoto 271.1Ssakamotomaxusers 32 281.1Ssakamoto 291.108Skiyohara# Standard system options 301.108Skiyohara 311.108Skiyoharaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 321.108Skiyoharaoptions NTP # NTP phase/frequency locked loop 331.108Skiyohara 341.108Skiyoharaoptions KTRACE # system call tracing via ktrace(1) 351.108Skiyohara 361.108Skiyoharaoptions SYSVMSG # System V-like message queues 371.108Skiyoharaoptions SYSVSEM # System V-like semaphores 381.108Skiyoharaoptions SYSVSHM # System V-like memory sharing 391.108Skiyoharaoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 401.108Skiyohara 411.108Skiyoharaoptions USERCONF # userconf(4) support 421.108Skiyohara#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 431.74Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 441.60Sjunyoung 451.108Skiyohara# Enable experimental buffer queue strategy for better responsiveness under 461.60Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 471.82Stsutsui#options BUFQ_READPRIO 481.82Stsutsui#options BUFQ_PRIOCSCAN 491.1Ssakamoto 501.108Skiyohara# Diagnostic/debugging support options 511.108Skiyohara#options DIAGNOSTIC # cheap kernel consistency checks 521.108Skiyohara#options DEBUG # expensive debugging checks/support 531.108Skiyohara#options KMEMSTATS # kernel memory statistics (vmstat -m) 541.108Skiyoharaoptions DDB # in-kernel debugger 551.108Skiyoharaoptions DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 561.108Skiyoharaoptions DDB_HISTORY_SIZE=512 # Enable history editing in DDB 571.108Skiyohara#makeoptions DEBUG="-g" 581.108Skiyohara 591.108Skiyoharaoptions COMPAT_09 # NetBSD 0.9, 601.108Skiyoharaoptions COMPAT_10 # NetBSD 1.0, 611.108Skiyoharaoptions COMPAT_11 # NetBSD 1.1, 621.108Skiyoharaoptions COMPAT_12 # NetBSD 1.2, 631.108Skiyoharaoptions COMPAT_13 # NetBSD 1.3, 641.108Skiyoharaoptions COMPAT_14 # NetBSD 1.4, 651.108Skiyoharaoptions COMPAT_15 # NetBSD 1.5, 661.108Skiyoharaoptions COMPAT_16 # NetBSD 1.6, 671.108Skiyoharaoptions COMPAT_20 # NetBSD 2.0, 681.108Skiyoharaoptions COMPAT_30 # NetBSD 3.0 compatibility. 691.109Stsutsuioptions COMPAT_40 # NetBSD 4.0 compatibility. 701.115Smrgoptions COMPAT_50 # NetBSD 5.0 compatibility. 711.108Skiyoharaoptions COMPAT_43 # 4.3BSD 721.108Skiyohara#options COMPAT_386BSD_MBRPART # recognize old partition ID 731.108Skiyohara#options COMPAT_LINUX # Linux binary compatibility 741.40Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 751.75Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 761.1Ssakamoto 771.108Skiyohara# File systems 781.108Skiyoharafile-system FFS # UFS 791.108Skiyohara#file-system EXT2FS # second extended file system (linux) 801.108Skiyohara#file-system LFS # log-structured file system 811.108Skiyoharafile-system MFS # memory file system 821.108Skiyoharafile-system NFS # Network File System client 831.108Skiyoharafile-system CD9660 # ISO 9660 + Rock Ridge file system 841.108Skiyoharafile-system MSDOSFS # MS-DOS file system 851.108Skiyohara#file-system FDESC # /dev/fd 861.108Skiyoharafile-system KERNFS # /kern 871.108Skiyoharafile-system NULLFS # loopback file system 881.108Skiyohara#file-system OVERLAY # overlay file system 891.118Schsfile-system PROCFS # /proc 901.108Skiyohara#file-system UMAPFS # NULLFS + uid and gid remapping 911.108Skiyoharafile-system UNION # union file system 921.108Skiyohara#file-system CODA # Coda File System; also needs vcoda (below) 931.108Skiyohara#file-system SMBFS # CIFS; also needs nsmb (below) 941.118Schsfile-system PTYFS # /dev/pts/N support 951.118Schsfile-system TMPFS # Efficient memory file-system 961.95Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 971.108Skiyohara#file-system HFS # experimental - Apple HFS+ (read-only) 981.1Ssakamoto 991.108Skiyohara# File system options 1001.126Sbouyeroptions QUOTA # legacy UFS quotas 1011.126Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1021.127Swiz#options FFS_EI # FFS Endian Independent support 1031.129Sdhollandoptions WAPBL # File system journaling support 1041.108Skiyohara#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1051.108Skiyohara#options NFSSERVER # Network File System server 1061.93Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1071.108Skiyohara#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1081.108Skiyohara # immutable) behave as system flags. 1091.108Skiyohara#options APPLE_UFS # Apple UFS support in FFS 1101.108Skiyohara 1111.108Skiyohara# Networking options 1121.108Skiyohara#options GATEWAY # packet forwarding 1131.108Skiyoharaoptions INET # IP + ICMP + TCP + UDP 1141.21Sitojunoptions INET6 # IPV6 1151.21Sitojun#options IPSEC # IP security 1161.21Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1171.84Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1181.21Sitojun#options IPSEC_DEBUG # debug for IP security 1191.108Skiyohara#options MROUTING # IP multicast routing 1201.108Skiyohara#options PIM # Protocol Independent Multicast 1211.108Skiyohara#options ISO,TPIP # OSI 1221.108Skiyohara#options EON # OSI tunneling over IP 1231.108Skiyohara#options NETATALK # AppleTalk networking protocols 1241.108Skiyohara#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1251.108Skiyohara#options PPP_DEFLATE # Deflate compression support for PPP 1261.108Skiyohara#options PPP_FILTER # Active filter support for PPP (requires bpf) 1271.108Skiyohara#options PFIL_HOOKS # pfil(9) packet filter hooks 1281.108Skiyohara#options IPFILTER_LOG # ipmon(8) log support 1291.108Skiyohara#options IPFILTER_LOOKUP # ippool(8) support 1301.119Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1311.108Skiyohara#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1321.40Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1331.5Ssakamoto 1341.73Sabs#options ALTQ # Manipulate network interfaces' output queues 1351.73Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1361.73Sabs#options ALTQ_CBQ # Class-Based Queueing 1371.73Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1381.73Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1391.73Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1401.73Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1411.73Sabs#options ALTQ_LOCALQ # Local queueing discipline 1421.73Sabs#options ALTQ_PRIQ # Priority Queueing 1431.73Sabs#options ALTQ_RED # Random Early Detection 1441.73Sabs#options ALTQ_RIO # RED with IN/OUT 1451.73Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1461.73Sabs 1471.108Skiyohara# These options enable verbose messages for several subsystems. 1481.108Skiyohara# Warning, these may compile large string tables into the kernel! 1491.108Skiyoharaoptions PCIVERBOSE # verbose PCI device autoconfig messages 1501.108Skiyoharaoptions MIIVERBOSE # verbose PHY autoconfig messages 1511.108Skiyohara#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1521.108Skiyoharaoptions SCSIVERBOSE # human readable SCSI error messages 1531.1Ssakamoto 1541.108Skiyohara#options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 1551.1Ssakamoto 1561.108Skiyohara# wscons options 1571.108Skiyohara# builtin terminal emulations 1581.108Skiyohara#options WSEMUL_SUN # sun terminal emulation 1591.108Skiyoharaoptions WSEMUL_VT100 # VT100 / VT220 emulation 1601.108Skiyoharaoptions WS_DEFAULT_FG=WSCOL_LIGHT_WHITE 1611.120Skiyohara# compatibility to other console drivers 1621.120Skiyoharaoptions WSDISPLAY_COMPAT_USL # VT handling 1631.120Skiyoharaoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1641.34Sitojun 1651.108Skiyoharaconfig netbsd root on ? type ? 1661.1Ssakamoto 1671.1Ssakamotomainbus0 at root 1681.1Ssakamoto 1691.41Smattcpu* at mainbus0 1701.1Ssakamotopci0 at mainbus0 bus ? 1711.1Ssakamoto 1721.108Skiyoharapci* at ppb? bus ? 1731.108Skiyohara 1741.1Ssakamotoppb* at pci? dev ? function ? # PCI-PCI bridges 1751.1Ssakamotopchb* at pci? dev ? function ? # PCI-Host bridges 1761.1Ssakamotopcib* at pci? dev ? function ? # PCI-ISA bridges 1771.1Ssakamoto 1781.1Ssakamotoisa* at pcib? # ISA on PCI-ISA bridge 1791.1Ssakamoto 1801.108Skiyohara# Console Devices 1811.108Skiyohara 1821.108Skiyohara# wscons 1831.108Skiyoharapckbc0 at isa? # pc keyboard controller 1841.108Skiyoharapckbd* at pckbc? # PC keyboard 1851.108Skiyoharapms* at pckbc? # PS/2 mouse for wsmouse 1861.108Skiyohara#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume 1871.121Skiyohara#options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads 1881.108Skiyoharagenfb* at pci? dev ? function ? 1891.120Skiyoharaoptions WSFB_FAKE_VGA_FB 1901.108Skiyoharavga* at pci? dev ? function ? 1911.108Skiyoharawsdisplay* at vga? console ? 1921.108Skiyoharawskbd* at pckbd? console ? 1931.108Skiyoharawsmouse* at pms? mux 0 1941.102Sgdamore 1951.108Skiyohara# make sure the console display is always wsdisplay0 1961.108Skiyoharawsdisplay0 at wsemuldisplaydev? console 1 1971.108Skiyoharawsdisplay* at wsemuldisplaydev? 1981.1Ssakamoto 1991.5Ssakamotocom0 at isa? port 0x3f8 irq 4 # standard PC serial ports 2001.5Ssakamotocom1 at isa? port 0x2f8 irq 3 2011.108Skiyoharacom2 at isa? port 0x380 irq 22 2021.108Skiyoharacom3 at isa? port 0x388 irq 23 2031.46Slukem 2041.1Ssakamotolpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 2051.1Ssakamoto 2061.108Skiyoharamcclock0 at isa? port 0x70 # time-of-day clock 2071.108Skiyoharaattimer0 at isa? 2081.108Skiyoharapcppi0 at isa? 2091.108Skiyoharaspkr0 at pcppi? 2101.108Skiyohara 2111.124Skiyoharawss0 at isa? port 0x82c irq 30 drq 6 drq2 7 # Windows Sound System 2121.8Ssakamoto 2131.108Skiyohara# Audio support 2141.124Skiyoharaaudio* at audiobus? 2151.67Sjonathan 2161.108Skiyohara# MIDI support 2171.108Skiyoharamidi* at pcppi? # MIDI interface to the PC speaker 2181.108Skiyohara 2191.108Skiyohara# Joystick driver. Probe is a little strange; add only if you have one. 2201.108Skiyoharajoy0 at isa? port 0x201 2211.67Sjonathan 2221.110Skiyoharasiop* at pci? dev ? function ? # NCR 538XX SCSI controllers 2231.110Skiyoharascsibus* at siop? 2241.1Ssakamoto 2251.110Skiyoharasd* at scsibus? target ? lun ? # SCSI disk drives 2261.1Ssakamoto#st* at scsibus? target ? lun ? # SCSI tape drives 2271.110Skiyoharacd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2281.1Ssakamoto#ch* at scsibus? target ? lun ? # SCSI autochangers 2291.1Ssakamoto#ss* at scsibus? target ? lun ? # SCSI scanners 2301.1Ssakamoto#uk* at scsibus? target ? lun ? # SCSI unknown 2311.1Ssakamoto 2321.10Ssakamotofdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 2331.1Ssakamoto#fdc1 at isa? port 0x370 irq ? drq ? 2341.10Ssakamotofd0 at fdc? drive 1 2351.1Ssakamoto#fd* at fdc? drive ? 2361.1Ssakamoto 2371.6Ssakamotowdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 2381.108Skiyohara 2391.66Slukematabus* at ata? 2401.65Sbouyerwd* at atabus? drive ? 2411.1Ssakamoto 2421.108Skiyohara# ATAPI bus support 2431.108Skiyoharaatapibus* at atapi? 2441.108Skiyohara 2451.108Skiyohara# ATAPI devices 2461.108Skiyohara# flags have the same meaning as for IDE drives. 2471.108Skiyoharacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2481.108Skiyohara#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2491.108Skiyohara#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 2501.108Skiyohara#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2511.108Skiyohara 2521.108Skiyohara# Network devices 2531.108Skiyoharaec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2541.6Ssakamotone0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards 2551.108Skiyoharafxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 2561.108Skiyoharane* at pci? dev ? function ? # NE2000-compatible Ethernet 2571.108Skiyoharatlp* at pci? dev ? function ? # DECchip 21x4x and clones 2581.108Skiyohara 2591.108Skiyohara# MII/PHY support 2601.108Skiyoharaukphy* at mii? phy ? # generic unknown PHYs 2611.108Skiyohara 2621.121Skiyohara# TV cards 2631.121Skiyohara 2641.121Skiyohara# Brooktree 848/849/878/879 based TV cards 2651.121Skiyoharabktr* at pci? dev ? function ? # Brooktree video/audio capture/tuner 2661.121Skiyohara 2671.108Skiyohara 2681.108Skiyohara# Pseudo-Devices 2691.108Skiyohara 2701.108Skiyoharapseudo-device crypto # /dev/crypto device 2711.108Skiyohara # (disabled, requires generic softints) 2721.108Skiyoharapseudo-device swcrypto # software crypto implementation 2731.108Skiyohara 2741.108Skiyohara# disk/mass storage pseudo-devices 2751.108Skiyoharapseudo-device bio # RAID control device driver 2761.108Skiyoharapseudo-device ccd 4 # concatenated/striped disk devices 2771.108Skiyoharapseudo-device cgd 4 # cryptographic disk devices 2781.108Skiyoharapseudo-device raid 8 # RAIDframe disk driver 2791.108Skiyoharaoptions RAID_AUTOCONFIG # auto-configuration of RAID components 2801.108Skiyohara# Options to enable various other RAIDframe RAID types. 2811.108Skiyohara#options RF_INCLUDE_EVENODD=1 2821.108Skiyohara#options RF_INCLUDE_RAID5_RS=1 2831.108Skiyohara#options RF_INCLUDE_PARITYLOGGING=1 2841.108Skiyohara#options RF_INCLUDE_CHAINDECLUSTER=1 2851.108Skiyohara#options RF_INCLUDE_INTERDECLUSTER=1 2861.108Skiyohara#options RF_INCLUDE_PARITY_DECLUSTERING=1 2871.108Skiyohara#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2881.117Spookapseudo-device fss # file system snapshot device 2891.108Skiyohara 2901.125Shannkenpseudo-device md # memory disk device 2911.108Skiyoharapseudo-device vnd # disk-like interface to files 2921.108Skiyoharaoptions VND_COMPRESSION # compressed vnd(4) 2931.108Skiyohara 2941.108Skiyohara# network pseudo-devices 2951.108Skiyoharapseudo-device bpfilter # packet filter 2961.108Skiyohara#pseudo-device carp # Common Address Redundancy Protocol 2971.108Skiyoharapseudo-device ipfilter # IP filter (firewall) and NAT 2981.108Skiyoharapseudo-device loop # network loopback 2991.108Skiyoharapseudo-device ppp # Point-to-Point Protocol 3001.108Skiyoharapseudo-device pppoe # PPP over Ethernet (RFC 2516) 3011.108Skiyoharapseudo-device sl # Serial Line IP 3021.108Skiyohara#pseudo-device strip # Starmode Radio IP (Metricom) 3031.108Skiyohara#pseudo-device irframetty # IrDA frame line discipline 3041.108Skiyoharapseudo-device tap # virtual Ethernet 3051.108Skiyoharapseudo-device tun # network tunneling over tty 3061.108Skiyohara#pseudo-device gre # generic L3 over IP tunnel 3071.108Skiyohara#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 3081.108Skiyohara#pseudo-device faith # IPv[46] tcp relay translation i/f 3091.108Skiyohara#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3101.108Skiyohara#pseudo-device vlan # IEEE 802.1q encapsulation 3111.108Skiyohara#pseudo-device bridge # simple inter-network bridging 3121.108Skiyohara#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3131.108Skiyohara#pseudo-device agr # IEEE 802.3ad link aggregation 3141.108Skiyohara#pseudo-device pf # PF packet filter 3151.108Skiyohara#pseudo-device pflog # PF log if 3161.108Skiyohara# srt is EXPERIMENTAL 3171.108Skiyohara#pseudo-device srt # source-address-based routing 3181.108Skiyohara 3191.112Stls# 3201.112Stls# accept filters 3211.112Stlspseudo-device accf_data # "dataready" accept filter 3221.112Stlspseudo-device accf_http # "httpready" accept filter 3231.112Stls 3241.108Skiyohara# miscellaneous pseudo-devices 3251.108Skiyoharapseudo-device pty # pseudo-terminals 3261.108Skiyoharapseudo-device sequencer 1 # MIDI sequencer 3271.108Skiyohara#options RND_COM # use "com" randomness as well (BROKEN) 3281.108Skiyoharapseudo-device clockctl # user control of clock subsystem 3291.108Skiyoharapseudo-device ksyms # /dev/ksyms 3301.108Skiyoharapseudo-device lockstat # lock profiling 3311.108Skiyohara#pseudo-device bcsp # BlueCore Serial Protocol 3321.108Skiyohara#pseudo-device btuart # Bluetooth HCI UART (H4) 3331.108Skiyohara 3341.108Skiyohara# a pseudo device needed for Coda # also needs CODA (above) 3351.108Skiyohara#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3361.108Skiyohara 3371.108Skiyohara# a pseudo device needed for SMBFS 3381.108Skiyohara#pseudo-device nsmb # experimental - SMB requester 3391.108Skiyohara 3401.108Skiyohara# wscons pseudo-devices 3411.108Skiyoharapseudo-device wsmux # mouse & keyboard multiplexor 3421.108Skiyoharapseudo-device wsfont 3431.1Ssakamoto 3441.108Skiyohara# pseudo audio device driver 3451.108Skiyohara#pseudo-device pad 3461.10Ssakamoto 3471.108Skiyohara# userland interface to drivers, including autoconf and properties retrieval 3481.108Skiyohara#pseudo-device drvctl 3491.1Ssakamoto 3501.108Skiyohara#options FILEASSOC # fileassoc(9) - required for Veriexec 3511.108Skiyohara 3521.108Skiyohara 3531.108Skiyohara# Veriexec 3541.108Skiyohara# 3551.108Skiyohara# a pseudo device needed for veriexec 3561.108Skiyohara#pseudo-device veriexec 1 3571.108Skiyohara# 3581.108Skiyohara# Uncomment the fingerprint methods below that are desired. Note that 3591.108Skiyohara# removing fingerprint methods will have almost no impact on the kernel 3601.108Skiyohara# code size. 3611.108Skiyohara# 3621.108Skiyohara#options VERIFIED_EXEC_FP_RMD160 3631.108Skiyohara#options VERIFIED_EXEC_FP_SHA256 3641.108Skiyohara#options VERIFIED_EXEC_FP_SHA384 3651.108Skiyohara#options VERIFIED_EXEC_FP_SHA512 3661.108Skiyohara#options VERIFIED_EXEC_FP_SHA1 3671.108Skiyohara#options VERIFIED_EXEC_FP_MD5 3681.108Skiyohara 3691.108Skiyohara#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 3701.108Skiyohara#options PAX_ASLR=0 # PaX Address Space Layout Randomization 371