GENERIC revision 1.219
11.219Smanu# $NetBSD: GENERIC,v 1.219 2014/11/12 10:47:22 manu 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.219Smanu#ident "GENERIC-$Revision: 1.219 $" 261.216Stsutsui 271.216Stsutsuimakeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk 281.2Sbriggs 291.74Sscottrmaxusers 16 # estimated number of users 301.71Sscottr 311.71Sscottr# CPU support. At least one is REQUIRED. 321.71Sscottroptions M68040 331.71Sscottroptions M68030 341.71Sscottroptions M68020 # Note: must have 68851 PMMU 351.71Sscottr 361.71Sscottr# CPU-related options. 371.71Sscottroptions FPSP 381.71Sscottroptions FPU_EMULATE 391.2Sbriggs 401.215Sjklos# Support for 128 meg SIMMs in Centris / Quadra 610, 650 and 800 machines. 411.215Sjklos# You need to set the total memory in the MacOS Booter. 421.215Sjklos#options DJMEMCMAX 431.215Sjklos 441.2Sbriggs# Standard system options 451.71Sscottr 461.71Sscottroptions INSECURE # disable kernel security levels 471.71Sscottr 481.71Sscottroptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 491.71Sscottr#options NTP # NTP phase/frequency locked loop 501.71Sscottr 511.71Sscottroptions KTRACE # system call tracing via ktrace(1) 521.71Sscottr 531.71Sscottroptions SYSVMSG # System V-like message queues 541.71Sscottroptions SYSVSEM # System V-like semaphores 551.71Sscottroptions SYSVSHM # System V-like memory sharing 561.120Sjdolecek 571.129Slukemoptions USERCONF # userconf(4) support 581.120Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 591.147Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 601.134Sjunyoung 611.135Swiz# Enable experimental buffer queue strategy for better responsiveness under 621.134Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 631.157Stsutsui#options BUFQ_READPRIO 641.157Stsutsui#options BUFQ_PRIOCSCAN 651.54Sscottr 661.71Sscottr# Diagnostic/debugging support options 671.121Sfredb#options DIAGNOSTIC # cheap kernel consistency checks 681.71Sscottr#options DEBUG # expensive debugging checks/support 691.188Shauke#options LOCKDEBUG # kernel lock debugging 701.71Sscottroptions KMEMSTATS # kernel memory statistics (vmstat -m) 711.114Slukemoptions DDB # in-kernel debugger 721.70Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 731.114Slukem#options KGDB # remote debugger 741.114Slukem#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 751.114Slukem#options KGDB_DEVRATE=38400 # baud rate 761.71Sscottr#makeoptions DEBUG="-g" # compile full symbol table 771.54Sscottr 781.54Sscottr# Compatibility options 791.71Sscottr#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 801.71Sscottr#options COMPAT_09 # NetBSD 0.9, 811.71Sscottroptions COMPAT_10 # NetBSD 1.0, 821.71Sscottroptions COMPAT_11 # NetBSD 1.1, 831.71Sscottroptions COMPAT_12 # NetBSD 1.2, 841.72Skleinkoptions COMPAT_13 # NetBSD 1.3, 851.89Saugustssoptions COMPAT_14 # NetBSD 1.4, 861.122Sfredboptions COMPAT_15 # NetBSD 1.5, 871.139Scloptions COMPAT_16 # NetBSD 1.6, 881.156Ssimonboptions COMPAT_20 # NetBSD 2.0, 891.189Stsutsuioptions COMPAT_30 # NetBSD 3.0, 901.199Shaukeoptions COMPAT_40 # NetBSD 4.0, 911.218Sdhollandoptions COMPAT_50 # NetBSD 5.0, 921.218Sdhollandoptions COMPAT_60 # NetBSD 6.0, and 931.218Sdhollandoptions COMPAT_70 # NetBSD 7.0 binary compatibility. 941.71Sscottroptions COMPAT_43 # and 4.3BSD 951.111Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 961.71Sscottr 971.121Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF. 981.123Sshibaoptions COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 991.123Sshibaoptions EXEC_AOUT # support for exec'ing a.out 1001.121Sfredb 1011.121Sfredb#options COMPAT_LINUX # compatibility with Linux/m68k binaries 1021.121Sfredb#options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 1031.121Sfredb#options COMPAT_SUNOS # compatibility with SunOS 4.x binaries 1041.86Skleink#options COMPAT_SVR4 # compatibility with SVR4 binaries 1051.149Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1061.2Sbriggs 1071.65Sscottr# File systems 1081.71Sscottrfile-system FFS # UFS 1091.71Sscottrfile-system EXT2FS # second extended file system (linux) 1101.71Sscottrfile-system LFS # log-structured file system 1111.71Sscottrfile-system MFS # memory file system 1121.71Sscottrfile-system NFS # Network File System client 1131.71Sscottrfile-system CD9660 # ISO 9660 + Rock Ridge file system 1141.71Sscottrfile-system MSDOSFS # MS-DOS file system 1151.71Sscottrfile-system FDESC # /dev/fd 1161.71Sscottrfile-system KERNFS # /kern 1171.71Sscottrfile-system NULLFS # loopback file system 1181.94Swrstudenfile-system OVERLAY # overlay file system 1191.195Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 1201.71Sscottrfile-system PROCFS # /proc 1211.71Sscottrfile-system UMAPFS # NULLFS + uid and gid remapping 1221.71Sscottrfile-system UNION # union file system 1231.90Sfredbfile-system CODA # Venus/Coda distributed file system 1241.164Schristosfile-system PTYFS # /dev/pts/N support 1251.183Sjmmvfile-system TMPFS # Efficient memory file-system 1261.169Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1271.179Sdillo#file-system HFS # experimental - Apple HFS+ (read-only) 1281.55Sthorpej 1291.65Sscottr# File system options 1301.200Sbouyeroptions QUOTA # legacy UFS quotas 1311.200Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1321.201Swiz#options FFS_EI # FFS Endian Independent support 1331.204Sdhollandoptions WAPBL # File system journaling support 1341.152Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1351.71Sscottroptions NFSSERVER # Network File System server 1361.166Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1371.219Smanuoptions UFS_EXTATTR # Extended attribute support for UFS1 1381.219Smanuoptions UFS_EXTATTR_AUTOSTART 1391.219Smanuoptions UFS_EXTATTR_AUTOCREATE=1024 1401.71Sscottr#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1411.71Sscottr # immutable) behave as system flags. 1421.92Sitojun 1431.7Sbriggs# Networking options 1441.71Sscottroptions GATEWAY # packet forwarding 1451.71Sscottroptions INET # IP + ICMP + TCP + UDP 1461.92Sitojunoptions INET6 # IPV6 1471.92Sitojun#options IPSEC # IP security 1481.92Sitojun#options IPSEC_DEBUG # debug for IP security 1491.71Sscottr#options MROUTING # IP multicast routing 1501.148Smanu#options PIM # Protocol Independent Multicast 1511.71Sscottroptions NETATALK # AppleTalk networking protocols 1521.88Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1531.88Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1541.88Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1551.121Sfredboptions IPFILTER_LOG # ipmon(8) log support 1561.176Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1571.197Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1581.131Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1591.111Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1601.71Sscottr 1611.145Sabs#options ALTQ # Manipulate network interfaces' output queues 1621.145Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1631.145Sabs#options ALTQ_CBQ # Class-Based Queueing 1641.145Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1651.145Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1661.145Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1671.145Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1681.145Sabs#options ALTQ_LOCALQ # Local queueing discipline 1691.145Sabs#options ALTQ_PRIQ # Priority Queueing 1701.145Sabs#options ALTQ_RED # Random Early Detection 1711.145Sabs#options ALTQ_RIO # RED with IN/OUT 1721.145Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1731.145Sabs 1741.71Sscottr# These options enable verbose messages for several subsystems. 1751.71Sscottr# Warning, these may compile large string tables into the kernel! 1761.71Sscottroptions SCSIVERBOSE # human readable SCSI error messages 1771.1Sbriggs 1781.96Sscottr# wscons options 1791.96Sscottr#options WSEMUL_SUN # sun terminal emulation 1801.96Sscottroptions WSEMUL_VT100 # VT100 / VT220 emulation 1811.207Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1821.96Sscottroptions WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10) 1831.96Sscottr 1841.96Sscottr# rcons options; note that 1-bit and 8-bit displays are supported by default. 1851.96Sscottroptions RCONS_2BPP # Support for 2-bit display 1861.96Sscottroptions RCONS_4BPP # Support for 4-bit display 1871.96Sscottroptions RCONS_16BPP # Support for 16-bit display 1881.96Sscottr 1891.9Sbriggs# Mac-specific options 1901.79Sscottr#options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons 1911.87Sbriggs#options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache 1921.79Sscottroptions GRF_COMPAT # Include grf compatibility code 1931.77Sscottr#options MRG_ADB # Use ROM-based ADB driver 1941.79Sscottroptions ZS_CONSOLE_ABORT 1951.84Sscottr 1961.93Sscottroptions NFS_BOOT_DHCP 1971.71Sscottr 1981.71Sscottr# Kernel root file system and dump configuration. 1991.55Sthorpejconfig netbsd root on ? type ? 2001.1Sbriggs 2011.71Sscottr# 2021.71Sscottr# Device configuration 2031.71Sscottr# 2041.71Sscottr 2051.71Sscottrmainbus0 at root 2061.71Sscottr 2071.71Sscottr 2081.71Sscottr# Basic Bus Support 2091.71Sscottr 2101.71Sscottr# On-board I/O bus support 2111.71Sscottrobio0 at mainbus? 2121.71Sscottr 2131.71Sscottr# NuBus support 2141.71Sscottrnubus0 at mainbus? 2151.71Sscottr 2161.71Sscottr 2171.71Sscottr# Console Devices 2181.71Sscottr 2191.71Sscottr# Apple Desktop Bus interface 2201.80Senderadb0 at obio? 2211.80Senderaed* at adb? # ADB event device 2221.96Sscottrakbd* at adb? # ADB keyboard 2231.96Sscottrams* at adb? # ADB mouse 2241.71Sscottr 2251.71Sscottr# Basic frame buffer support 2261.71Sscottrintvid0 at obio? # Internal video hardware 2271.71Sscottrmacvid* at nubus? # NuBus video card 2281.71Sscottr 2291.71Sscottr# Device-independent frame buffer interface 2301.96Sscottrmacfb* at intvid? 2311.96Sscottrmacfb* at macvid? 2321.71Sscottr 2331.96Sscottr# Workstation Console devices 2341.99Sscottrwsdisplay* at macfb? console ? 2351.99Sscottrwskbd* at akbd? console ? 2361.99Sscottrwsmouse* at ams? 2371.71Sscottr 2381.71Sscottr 2391.187Shauke# Centronics printer port 2401.187Shauke 2411.187Shauke# CSI Hurdler Centronics Parallel Interface 2421.205Shauke# CPI_CTC12_IS_TIMECOUNTER 0x01 Run counters 1+2 as timecounter 2431.205Shaukecpi* at nubus? flags 0x1 2441.187Shauke 2451.187Shauke 2461.71Sscottr# Serial Devices 2471.71Sscottr 2481.71Sscottr# On-board serial interface 2491.71Sscottrzsc0 at obio? 2501.71Sscottrzstty* at zsc? channel ? 2511.71Sscottr 2521.71Sscottr 2531.71Sscottr# SCSI Controllers and Devices 2541.71Sscottr 2551.71Sscottr# SCSI controllers 2561.71Sscottr# XXX - use only one of ncrscsi or sbc 2571.151Schsncrscsi0 at obio? addr 0 # SCSI NCR 5380 2581.151Schs#sbc0 at obio? addr 0 flags 0x1 # MI SCSI NCR 5380 2591.151Schsesp0 at obio? addr 0 # SCSI NCR 53C9x 2601.151Schsesp1 at obio? addr 1 # SCSI NCR 53C9x 2611.71Sscottr 2621.71Sscottr# SCSI bus support 2631.71Sscottrscsibus* at scsi? 2641.71Sscottr 2651.71Sscottr# SCSI devices 2661.71Sscottrsd* at scsibus? target ? lun ? # SCSI disk drives 2671.71Sscottrst* at scsibus? target ? lun ? # SCSI tape drives 2681.71Sscottrcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2691.71Sscottrch* at scsibus? target ? lun ? # SCSI autochangers 2701.71Sscottrse* at scsibus? target ? lun ? # SCSI ethernet 2711.71Sscottrss* at scsibus? target ? lun ? # SCSI scanners 2721.71Sscottruk* at scsibus? target ? lun ? # SCSI unknown 2731.126Sshiba 2741.126Sshiba# IDE controller and devices 2751.126Sshibawdc* at obio? flags 0x1000 2761.141Slukematabus* at ata? 2771.140Sbouyerwd* at atabus? drive ? 2781.84Sscottr 2791.84Sscottr 2801.84Sscottr# Miscellaneous mass storage devices 2811.84Sscottr 2821.84Sscottr# IWM floppy disk controller 2831.84Sscottriwm0 at obio? # Sony driver (800K GCR) 2841.84Sscottrfd* at iwm? drive ? 2851.71Sscottr 2861.71Sscottr 2871.71Sscottr# Network Interfaces 2881.71Sscottr 2891.71Sscottr# On-board Ethernet controllers 2901.71Sscottrsn* at obio? # SONIC-based (DP83932, DP83916) 2911.71Sscottrmc* at obio? # MACE-based 2921.71Sscottr 2931.71Sscottr# NuBus Ethernet controllers 2941.71Sscottrae* at nubus? # DP8390-based 2951.71Sscottrsn* at nubus? # SONIC-based (DP83932, DP83916) 2961.106Sbriggssm* at nubus? # SMC 91cxx-based 2971.128Sitojunnetdock* at nubus? # Asante NetDock, Newer Ether MicroDock 2981.71Sscottr 2991.106Sbriggsnsphy* at mii? phy ? 3001.106Sbriggsukphy* at mii? phy ? 3011.71Sscottr 3021.71Sscottr# Audio Devices 3031.71Sscottr 3041.71Sscottr# On-board audio hardware 3051.71Sscottrasc0 at obio? # ASC/EASC audio 3061.71Sscottr 3071.71Sscottr# Pseudo-Devices 3081.71Sscottr 3091.71Sscottr# disk/mass storage pseudo-devices 3101.211Schristospseudo-device ccd # concatenated/striped disk devices 3111.211Schristos#pseudo-device cgd # cryptographic disk devices 3121.212Schristos#pseudo-device raid # RAIDframe disk driver 3131.98Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 3141.119Soster# Options to enable various other RAIDframe RAID types. 3151.119Soster# options RF_INCLUDE_EVENODD=1 3161.119Soster# options RF_INCLUDE_RAID5_RS=1 3171.119Soster# options RF_INCLUDE_PARITYLOGGING=1 3181.119Soster# options RF_INCLUDE_CHAINDECLUSTER=1 3191.119Soster# options RF_INCLUDE_INTERDECLUSTER=1 3201.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 3211.119Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3221.196Spookapseudo-device fss # file system snapshot device 3231.198Shannkenpseudo-device md # memory disk device (ramdisk) 3241.212Schristospseudo-device vcoda # Venus/Coda distributed file system 3251.171Scubepseudo-device vnd # disk-like interface to files 3261.160Shubertf#options VND_COMPRESSION # compressed vnd(4) 3271.71Sscottr 3281.71Sscottr# network pseudo-devices 3291.170Srpaulopseudo-device bpfilter # Berkeley packet filter 3301.173Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3311.71Sscottrpseudo-device ipfilter # IP filter (firewall) and NAT 3321.71Sscottrpseudo-device loop # network loopback 3331.171Scubepseudo-device ppp # Point-to-Point Protocol 3341.118Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 3351.171Scubepseudo-device sl # Serial Line IP 3361.171Scube#pseudo-device strip # Starmode Radio IP (Metricom) 3371.171Scubepseudo-device tun # network tunneling over tty 3381.150Scubepseudo-device tap # virtual Ethernet 3391.171Scube#pseudo-device gre # generic L3 over IP tunnel 3401.171Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 3411.171Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 3421.172Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3431.109Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 3441.116Satatatpseudo-device bridge # simple inter-network bridging 3451.136Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3461.181Smartinpseudo-device agr # IEEE 802.3ad link aggregation 3471.71Sscottr 3481.191Stls# 3491.191Stls# accept filters 3501.191Stlspseudo-device accf_data # "dataready" accept filter 3511.191Stlspseudo-device accf_http # "httpready" accept filter 3521.191Stls 3531.71Sscottr# miscellaneous pseudo-devices 3541.96Sscottrpseudo-device grf 2 # grf emulation for wscons 3551.96Sscottrpseudo-device ite 1 # ite emulation for wscons 3561.108Sjdolecekpseudo-device pty # pseudo-terminals 3571.127Slukempseudo-device clockctl # user control of clock subsystem 3581.195Spookapseudo-device putter # for puffs and pud 3591.202Shaukepseudo-device swwdog # software watchdog driver 3601.71Sscottr 3611.101Sfredb# random number generator pseudo-device 3621.71Sscottr#options RND_COM # use "com" randomness as well (BROKEN) 3631.138Sraggepseudo-device ksyms # /dev/ksyms 3641.144Sitojun#pseudo-device pf # PF packet filter 3651.144Sitojun#pseudo-device pflog # PF log if 3661.167Selad 3671.167Selad# Veriexec 3681.167Selad# 3691.167Selad# a pseudo device needed for veriexec 3701.212Schristos#pseudo-device veriexec 3711.167Selad# 3721.167Selad# Uncomment the fingerprint methods below that are desired. Note that 3731.167Selad# removing fingerprint methods will have almost no impact on the kernel 3741.167Selad# code size. 3751.167Selad# 3761.167Selad#options VERIFIED_EXEC_FP_RMD160 3771.167Selad#options VERIFIED_EXEC_FP_SHA256 3781.167Selad#options VERIFIED_EXEC_FP_SHA384 3791.167Selad#options VERIFIED_EXEC_FP_SHA512 3801.167Selad#options VERIFIED_EXEC_FP_SHA1 3811.167Selad#options VERIFIED_EXEC_FP_MD5 382