GENERIC revision 1.204
11.204Sdholland# $NetBSD: GENERIC,v 1.204 2011/12/18 05:49:29 dholland Exp $ 21.21Scgd# 31.117Sgmcgarry# GENERIC machine description file 41.117Sgmcgarry# 51.117Sgmcgarry# This machine description file is used to generate the default NetBSD 61.117Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.117Sgmcgarry# and device drivers, but should be useful for most applications. 81.117Sgmcgarry# 91.117Sgmcgarry# The machine description file can be customised for your specific 101.117Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.117Sgmcgarry# 121.117Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.117Sgmcgarry# man page. 141.117Sgmcgarry# 151.117Sgmcgarry# For further information on hardware support for this architecture, see 161.117Sgmcgarry# the intro(4) man page. For further information about kernel options 171.117Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.117Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.117Sgmcgarry# device. 201.1Sbriggs 211.117Sgmcgarryinclude "arch/mac68k/conf/std.mac68k" 221.95Shubertf 231.125Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.125Satatat 251.204Sdholland#ident "GENERIC-$Revision: 1.204 $" 261.2Sbriggs 271.74Sscottrmaxusers 16 # estimated number of users 281.71Sscottr 291.71Sscottr# CPU support. At least one is REQUIRED. 301.71Sscottroptions M68040 311.71Sscottroptions M68030 321.71Sscottroptions M68020 # Note: must have 68851 PMMU 331.71Sscottr 341.71Sscottr# CPU-related options. 351.71Sscottroptions FPSP 361.71Sscottroptions FPU_EMULATE 371.2Sbriggs 381.2Sbriggs# Standard system options 391.71Sscottr 401.71Sscottroptions INSECURE # disable kernel security levels 411.71Sscottr 421.71Sscottroptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 431.71Sscottr#options NTP # NTP phase/frequency locked loop 441.71Sscottr 451.71Sscottroptions KTRACE # system call tracing via ktrace(1) 461.71Sscottr 471.71Sscottroptions SYSVMSG # System V-like message queues 481.71Sscottroptions SYSVSEM # System V-like semaphores 491.71Sscottroptions SYSVSHM # System V-like memory sharing 501.146Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 511.71Sscottr 521.120Sjdolecek 531.129Slukemoptions USERCONF # userconf(4) support 541.120Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 551.147Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 561.134Sjunyoung 571.135Swiz# Enable experimental buffer queue strategy for better responsiveness under 581.134Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 591.157Stsutsui#options BUFQ_READPRIO 601.157Stsutsui#options BUFQ_PRIOCSCAN 611.54Sscottr 621.71Sscottr# Diagnostic/debugging support options 631.121Sfredb#options DIAGNOSTIC # cheap kernel consistency checks 641.71Sscottr#options DEBUG # expensive debugging checks/support 651.188Shauke#options LOCKDEBUG # kernel lock debugging 661.71Sscottroptions KMEMSTATS # kernel memory statistics (vmstat -m) 671.114Slukemoptions DDB # in-kernel debugger 681.70Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 691.114Slukem#options KGDB # remote debugger 701.114Slukem#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 711.114Slukem#options KGDB_DEVRATE=38400 # baud rate 721.71Sscottr#makeoptions DEBUG="-g" # compile full symbol table 731.54Sscottr 741.54Sscottr# Compatibility options 751.71Sscottr#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 761.71Sscottr#options COMPAT_09 # NetBSD 0.9, 771.71Sscottroptions COMPAT_10 # NetBSD 1.0, 781.71Sscottroptions COMPAT_11 # NetBSD 1.1, 791.71Sscottroptions COMPAT_12 # NetBSD 1.2, 801.72Skleinkoptions COMPAT_13 # NetBSD 1.3, 811.89Saugustssoptions COMPAT_14 # NetBSD 1.4, 821.122Sfredboptions COMPAT_15 # NetBSD 1.5, 831.139Scloptions COMPAT_16 # NetBSD 1.6, 841.156Ssimonboptions COMPAT_20 # NetBSD 2.0, 851.189Stsutsuioptions COMPAT_30 # NetBSD 3.0, 861.199Shaukeoptions COMPAT_40 # NetBSD 4.0, 871.194Smrgoptions COMPAT_50 # NetBSD 5.0 compatibility. 881.71Sscottroptions COMPAT_43 # and 4.3BSD 891.111Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 901.71Sscottr 911.121Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF. 921.123Sshibaoptions COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 931.123Sshibaoptions EXEC_AOUT # support for exec'ing a.out 941.121Sfredb 951.121Sfredb#options COMPAT_LINUX # compatibility with Linux/m68k binaries 961.121Sfredb#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 971.121Sfredb#options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 981.86Skleink#options COMPAT_SVR4 # compatibility with SVR4 binaries 991.149Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1001.2Sbriggs 1011.65Sscottr# File systems 1021.71Sscottrfile-system FFS # UFS 1031.71Sscottrfile-system EXT2FS # second extended file system (linux) 1041.71Sscottrfile-system LFS # log-structured file system 1051.71Sscottrfile-system MFS # memory file system 1061.71Sscottrfile-system NFS # Network File System client 1071.71Sscottrfile-system CD9660 # ISO 9660 + Rock Ridge file system 1081.71Sscottrfile-system MSDOSFS # MS-DOS file system 1091.71Sscottrfile-system FDESC # /dev/fd 1101.71Sscottrfile-system KERNFS # /kern 1111.71Sscottrfile-system NULLFS # loopback file system 1121.94Swrstudenfile-system OVERLAY # overlay file system 1131.195Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 1141.71Sscottrfile-system PROCFS # /proc 1151.71Sscottrfile-system UMAPFS # NULLFS + uid and gid remapping 1161.71Sscottrfile-system UNION # union file system 1171.90Sfredbfile-system CODA # Venus/Coda distributed file system 1181.164Schristosfile-system PTYFS # /dev/pts/N support 1191.183Sjmmvfile-system TMPFS # Efficient memory file-system 1201.169Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1211.179Sdillo#file-system HFS # experimental - Apple HFS+ (read-only) 1221.55Sthorpej 1231.65Sscottr# File system options 1241.200Sbouyeroptions QUOTA # legacy UFS quotas 1251.200Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1261.201Swiz#options FFS_EI # FFS Endian Independent support 1271.204Sdhollandoptions WAPBL # File system journaling support 1281.152Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1291.71Sscottroptions NFSSERVER # Network File System server 1301.166Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1311.71Sscottr#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1321.71Sscottr # immutable) behave as system flags. 1331.92Sitojun 1341.7Sbriggs# Networking options 1351.71Sscottroptions GATEWAY # packet forwarding 1361.71Sscottroptions INET # IP + ICMP + TCP + UDP 1371.92Sitojunoptions INET6 # IPV6 1381.92Sitojun#options IPSEC # IP security 1391.92Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1401.159Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1411.92Sitojun#options IPSEC_DEBUG # debug for IP security 1421.71Sscottr#options MROUTING # IP multicast routing 1431.148Smanu#options PIM # Protocol Independent Multicast 1441.182Sadrianp#options ISO,TPIP # OSI 1451.105Ssommerfe#options EON # OSI tunneling over IP 1461.71Sscottroptions NETATALK # AppleTalk networking protocols 1471.88Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1481.88Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1491.88Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1501.88Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks 1511.121Sfredboptions IPFILTER_LOG # ipmon(8) log support 1521.176Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1531.197Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1541.131Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1551.111Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1561.71Sscottr 1571.145Sabs#options ALTQ # Manipulate network interfaces' output queues 1581.145Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1591.145Sabs#options ALTQ_CBQ # Class-Based Queueing 1601.145Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1611.145Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1621.145Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1631.145Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1641.145Sabs#options ALTQ_LOCALQ # Local queueing discipline 1651.145Sabs#options ALTQ_PRIQ # Priority Queueing 1661.145Sabs#options ALTQ_RED # Random Early Detection 1671.145Sabs#options ALTQ_RIO # RED with IN/OUT 1681.145Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1691.145Sabs 1701.71Sscottr# These options enable verbose messages for several subsystems. 1711.71Sscottr# Warning, these may compile large string tables into the kernel! 1721.71Sscottroptions SCSIVERBOSE # human readable SCSI error messages 1731.1Sbriggs 1741.96Sscottr# wscons options 1751.96Sscottr#options WSEMUL_SUN # sun terminal emulation 1761.96Sscottroptions WSEMUL_VT100 # VT100 / VT220 emulation 1771.96Sscottroptions WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 1781.96Sscottr 1791.96Sscottr# rcons options; note that 1-bit and 8-bit displays are supported by default. 1801.96Sscottroptions RCONS_2BPP # Support for 2-bit display 1811.96Sscottroptions RCONS_4BPP # Support for 4-bit display 1821.96Sscottroptions RCONS_16BPP # Support for 16-bit display 1831.96Sscottr 1841.9Sbriggs# Mac-specific options 1851.79Sscottr#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 1861.87Sbriggs#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 1871.79Sscottroptions GRF_COMPAT # Include grf compatibility code 1881.77Sscottr#options MRG_ADB # Use ROM-based ADB driver 1891.79Sscottroptions ZS_CONSOLE_ABORT 1901.84Sscottr 1911.93Sscottroptions NFS_BOOT_DHCP 1921.71Sscottr 1931.71Sscottr# Kernel root file system and dump configuration. 1941.55Sthorpejconfig netbsd root on ? type ? 1951.1Sbriggs 1961.71Sscottr# 1971.71Sscottr# Device configuration 1981.71Sscottr# 1991.71Sscottr 2001.71Sscottrmainbus0 at root 2011.71Sscottr 2021.71Sscottr 2031.71Sscottr# Basic Bus Support 2041.71Sscottr 2051.71Sscottr# On-board I/O bus support 2061.71Sscottrobio0 at mainbus? 2071.71Sscottr 2081.71Sscottr# NuBus support 2091.71Sscottrnubus0 at mainbus? 2101.71Sscottr 2111.71Sscottr 2121.71Sscottr# Console Devices 2131.71Sscottr 2141.71Sscottr# Apple Desktop Bus interface 2151.80Senderadb0 at obio? 2161.80Senderaed* at adb? # ADB event device 2171.96Sscottrakbd* at adb? # ADB keyboard 2181.96Sscottrams* at adb? # ADB mouse 2191.71Sscottr 2201.71Sscottr# Basic frame buffer support 2211.71Sscottrintvid0 at obio? # Internal video hardware 2221.71Sscottrmacvid* at nubus? # NuBus video card 2231.71Sscottr 2241.71Sscottr# Device-independent frame buffer interface 2251.96Sscottrmacfb* at intvid? 2261.96Sscottrmacfb* at macvid? 2271.71Sscottr 2281.96Sscottr# Workstation Console devices 2291.99Sscottrwsdisplay* at macfb? console ? 2301.99Sscottrwskbd* at akbd? console ? 2311.99Sscottrwsmouse* at ams? 2321.71Sscottr 2331.71Sscottr 2341.187Shauke# Centronics printer port 2351.187Shauke 2361.187Shauke# CSI Hurdler Centronics Parallel Interface 2371.187Shaukecpi* at nubus? 2381.187Shauke 2391.187Shauke 2401.71Sscottr# Serial Devices 2411.71Sscottr 2421.71Sscottr# On-board serial interface 2431.71Sscottrzsc0 at obio? 2441.71Sscottrzstty* at zsc? channel ? 2451.71Sscottr 2461.71Sscottr 2471.71Sscottr# SCSI Controllers and Devices 2481.71Sscottr 2491.71Sscottr# SCSI controllers 2501.71Sscottr# XXX - use only one of ncrscsi or sbc 2511.151Schsncrscsi0 at obio? addr 0 # SCSI NCR 5380 2521.151Schs#sbc0 at obio? addr 0 flags 0x1 # MI SCSI NCR 5380 2531.151Schsesp0 at obio? addr 0 # SCSI NCR 53C9x 2541.151Schsesp1 at obio? addr 1 # SCSI NCR 53C9x 2551.71Sscottr 2561.71Sscottr# SCSI bus support 2571.71Sscottrscsibus* at scsi? 2581.71Sscottr 2591.71Sscottr# SCSI devices 2601.71Sscottrsd* at scsibus? target ? lun ? # SCSI disk drives 2611.71Sscottrst* at scsibus? target ? lun ? # SCSI tape drives 2621.71Sscottrcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2631.71Sscottrch* at scsibus? target ? lun ? # SCSI autochangers 2641.71Sscottrse* at scsibus? target ? lun ? # SCSI ethernet 2651.71Sscottrss* at scsibus? target ? lun ? # SCSI scanners 2661.71Sscottruk* at scsibus? target ? lun ? # SCSI unknown 2671.126Sshiba 2681.126Sshiba# IDE controller and devices 2691.126Sshibawdc* at obio? flags 0x1000 2701.141Slukematabus* at ata? 2711.140Sbouyerwd* at atabus? drive ? 2721.84Sscottr 2731.84Sscottr 2741.84Sscottr# Miscellaneous mass storage devices 2751.84Sscottr 2761.84Sscottr# IWM floppy disk controller 2771.84Sscottriwm0 at obio? # Sony driver (800K GCR) 2781.84Sscottrfd* at iwm? drive ? 2791.71Sscottr 2801.71Sscottr 2811.71Sscottr# Network Interfaces 2821.71Sscottr 2831.71Sscottr# On-board Ethernet controllers 2841.71Sscottrsn* at obio? # SONIC-based (DP83932, DP83916) 2851.71Sscottrmc* at obio? # MACE-based 2861.71Sscottr 2871.71Sscottr# NuBus Ethernet controllers 2881.71Sscottrae* at nubus? # DP8390-based 2891.71Sscottrsn* at nubus? # SONIC-based (DP83932, DP83916) 2901.106Sbriggssm* at nubus? # SMC 91cxx-based 2911.128Sitojunnetdock* at nubus? # Asante NetDock, Newer Ether MicroDock 2921.71Sscottr 2931.106Sbriggsnsphy* at mii? phy ? 2941.106Sbriggsukphy* at mii? phy ? 2951.71Sscottr 2961.71Sscottr# Audio Devices 2971.71Sscottr 2981.71Sscottr# On-board audio hardware 2991.71Sscottrasc0 at obio? # ASC/EASC audio 3001.71Sscottr 3011.71Sscottr# Pseudo-Devices 3021.71Sscottr 3031.71Sscottr# disk/mass storage pseudo-devices 3041.71Sscottrpseudo-device ccd 4 # concatenated/striped disk devices 3051.133Selric#pseudo-device cgd 4 # cryptographic disk devices 3061.119Soster#pseudo-device raid 8 # RAIDframe disk driver 3071.98Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 3081.119Soster# Options to enable various other RAIDframe RAID types. 3091.119Soster# options RF_INCLUDE_EVENODD=1 3101.119Soster# options RF_INCLUDE_RAID5_RS=1 3111.119Soster# options RF_INCLUDE_PARITYLOGGING=1 3121.119Soster# options RF_INCLUDE_CHAINDECLUSTER=1 3131.119Soster# options RF_INCLUDE_INTERDECLUSTER=1 3141.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 3151.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3161.196Spookapseudo-device fss # file system snapshot device 3171.198Shannkenpseudo-device md # memory disk device (ramdisk) 3181.90Sfredbpseudo-device vcoda 1 # Venus/Coda distributed file system 3191.171Scubepseudo-device vnd # disk-like interface to files 3201.160Shubertf#options VND_COMPRESSION # compressed vnd(4) 3211.71Sscottr 3221.71Sscottr# network pseudo-devices 3231.170Srpaulopseudo-device bpfilter # Berkeley packet filter 3241.173Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3251.71Sscottrpseudo-device ipfilter # IP filter (firewall) and NAT 3261.71Sscottrpseudo-device loop # network loopback 3271.171Scubepseudo-device ppp # Point-to-Point Protocol 3281.118Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 3291.171Scubepseudo-device sl # Serial Line IP 3301.171Scube#pseudo-device strip # Starmode Radio IP (Metricom) 3311.171Scubepseudo-device tun # network tunneling over tty 3321.150Scubepseudo-device tap # virtual Ethernet 3331.171Scube#pseudo-device gre # generic L3 over IP tunnel 3341.171Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 3351.171Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 3361.172Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3371.109Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 3381.116Satatatpseudo-device bridge # simple inter-network bridging 3391.136Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3401.181Smartinpseudo-device agr # IEEE 802.3ad link aggregation 3411.71Sscottr 3421.191Stls# 3431.191Stls# accept filters 3441.191Stlspseudo-device accf_data # "dataready" accept filter 3451.191Stlspseudo-device accf_http # "httpready" accept filter 3461.191Stls 3471.71Sscottr# miscellaneous pseudo-devices 3481.96Sscottrpseudo-device grf 2 # grf emulation for wscons 3491.96Sscottrpseudo-device ite 1 # ite emulation for wscons 3501.108Sjdolecekpseudo-device pty # pseudo-terminals 3511.127Slukempseudo-device clockctl # user control of clock subsystem 3521.195Spookapseudo-device putter # for puffs and pud 3531.202Shaukepseudo-device swwdog # software watchdog driver 3541.71Sscottr 3551.101Sfredb# random number generator pseudo-device 3561.71Sscottr#options RND_COM # use "com" randomness as well (BROKEN) 3571.138Sraggepseudo-device ksyms # /dev/ksyms 3581.144Sitojun#pseudo-device pf # PF packet filter 3591.144Sitojun#pseudo-device pflog # PF log if 3601.167Selad 3611.167Selad# Veriexec 3621.167Selad# 3631.167Selad# a pseudo device needed for veriexec 3641.167Selad#pseudo-device veriexec 1 3651.167Selad# 3661.167Selad# Uncomment the fingerprint methods below that are desired. Note that 3671.167Selad# removing fingerprint methods will have almost no impact on the kernel 3681.167Selad# code size. 3691.167Selad# 3701.167Selad#options VERIFIED_EXEC_FP_RMD160 3711.167Selad#options VERIFIED_EXEC_FP_SHA256 3721.167Selad#options VERIFIED_EXEC_FP_SHA384 3731.167Selad#options VERIFIED_EXEC_FP_SHA512 3741.167Selad#options VERIFIED_EXEC_FP_SHA1 3751.167Selad#options VERIFIED_EXEC_FP_MD5 376