GENERIC revision 1.156
11.156Schs# $NetBSD: GENERIC,v 1.156 2010/07/07 01:24:52 chs Exp $ 21.1Smycroft# 31.72Sgmcgarry# GENERIC machine description file 41.72Sgmcgarry# 51.72Sgmcgarry# This machine description file is used to generate the default NetBSD 61.72Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.72Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Smycroft# 91.72Sgmcgarry# The machine description file can be customised for your specific 101.72Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.72Sgmcgarry# 121.72Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.72Sgmcgarry# man page. 141.72Sgmcgarry# 151.72Sgmcgarry# For further information on hardware support for this architecture, see 161.72Sgmcgarry# the intro(4) man page. For further information about kernel options 171.72Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.72Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.72Sgmcgarry# device. 201.1Smycroft 211.72Sgmcgarryinclude "arch/hp300/conf/std.hp300" 221.50Shubertf 231.79Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.79Satatat 251.156Schs#ident "GENERIC-$Revision: 1.156 $" 261.80Sgmcgarry 271.80Sgmcgarrymaxusers 32 # estimated number of users 281.20Sthorpej 291.20Sthorpej# Support for various CPU types 301.20Sthorpejoptions HP320 311.20Sthorpejoptions HP330 # includes 318, 319 321.20Sthorpejoptions HP340 331.28Sthorpejoptions HP345 341.20Sthorpejoptions HP350 351.20Sthorpejoptions HP360 361.132Stsutsuioptions HP362 371.20Sthorpejoptions HP370 381.28Sthorpejoptions HP375 391.28Sthorpejoptions HP380 401.132Stsutsuioptions HP382 411.47Sthorpejoptions HP385 421.28Sthorpejoptions HP400 431.28Sthorpejoptions HP425 441.28Sthorpejoptions HP433 451.80Sgmcgarryoptions FPSP # floating point interface for 68040 461.80Sgmcgarry 471.80Sgmcgarry# Standard system options 481.80Sgmcgarryoptions KTRACE # system call tracing support 491.80Sgmcgarry#options INSECURE # disable kernel security level 501.82Slukemoptions USERCONF # userconf(4) support 511.108Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 521.103Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 531.108Stsutsui#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 541.80Sgmcgarryoptions NTP # NTP phase/frequency locked loop 551.80Sgmcgarryoptions SYSVSHM # System V-style shared memory 561.80Sgmcgarryoptions SYSVMSG # System V-style message queues 571.80Sgmcgarryoptions SYSVSEM # System V-style semaphores 581.102Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 591.87Sjunyoung 601.88Swiz# Enable experimental buffer queue strategy for better responsiveness under 611.87Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 621.114Stsutsui#options BUFQ_READPRIO 631.114Stsutsui#options BUFQ_PRIOCSCAN 641.1Smycroft 651.80Sgmcgarry# Debugging options 661.124Schs#options DIAGNOSTIC # Extra kernel sanity checks 671.80Sgmcgarry#options DEBUG # Enable misc. kernel debugging code 681.80Sgmcgarry#options KMEMSTATS # kernel memory statistics (vmstat -m) 691.80Sgmcgarryoptions DDB # Kernel Dynamic Debugger 701.156Schsoptions DDB_HISTORY_SIZE=512 # Enable history editing in DDB 711.80Sgmcgarry#options KGDB # remote debugger 721.80Sgmcgarry#makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 731.1Smycroft 741.80Sgmcgarry# Compatibility options 751.20Sthorpejoptions COMPAT_43 # compatibility with 4.3BSD interfaces 761.20Sthorpejoptions COMPAT_44 # compatibility with 4.4BSD binaries 771.20Sthorpejoptions COMPAT_09 # compatibility with NetBSD 0.9 781.20Sthorpejoptions COMPAT_10 # compatibility with NetBSD 1.0 791.20Sthorpejoptions COMPAT_11 # compatibility with NetBSD 1.1 801.20Sthorpejoptions COMPAT_12 # compatibility with NetBSD 1.2 811.37Skleinkoptions COMPAT_13 # compatibility with NetBSD 1.3 821.46Saugustssoptions COMPAT_14 # compatibility with NetBSD 1.4 831.95Scloptions COMPAT_15 # compatibility with NetBSD 1.5 841.95Scloptions COMPAT_16 # compatibility with NetBSD 1.6 851.104Stsutsuioptions COMPAT_20 # compatibility with NetBSD 2.0 861.140Stsutsuioptions COMPAT_30 # compatibility with NetBSD 3.0 871.140Stsutsuioptions COMPAT_40 # compatibility with NetBSD 4.0 881.150Stsutsuioptions COMPAT_50 # compatibility with NetBSD 5.0 891.66Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 901.80Sgmcgarry 911.80Sgmcgarry# Binary compatibility. 921.80Sgmcgarryoptions COMPAT_AOUT_M68K # NetBSD/m68k a.out binary compatibility 931.80Sgmcgarryoptions COMPAT_M68K4K # NetBSD/m68k4k binary compatibility 941.80Sgmcgarryoptions COMPAT_SUNOS # SunOS4 m68k binary compatibility 951.80Sgmcgarryoptions COMPAT_LINUX # Linux/m68k binary compatibility 961.80Sgmcgarryoptions COMPAT_SVR4 # SVR4 binary compatibility 971.108Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 981.1Smycroft 991.22Sthorpej# Filesystems 1001.80Sgmcgarryfile-system CD9660 # CD-ROM ISO-9660 filesystem 1011.80Sgmcgarryfile-system EXT2FS # second extended file system (linux) 1021.80Sgmcgarryfile-system FDESC # user file descriptor filesystem 1031.29Slukemfile-system FFS # fast filesystem 1041.80Sgmcgarryfile-system KERNFS # kernel data-structure filesystem 1051.80Sgmcgarryfile-system LFS # log-structured file system 1061.80Sgmcgarryfile-system MFS # Memory-based filesystem 1071.29Slukemfile-system NFS # Network filesystem client 1081.80Sgmcgarryfile-system NULLFS # loopback file system 1091.80Sgmcgarryfile-system OVERLAY # overlay file system 1101.151Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 1111.80Sgmcgarryfile-system PROCFS # /proc filesystem 1121.80Sgmcgarryfile-system UMAPFS # NULLFS + uid and gid remapping 1131.29Slukemfile-system UNION # Union filesystem (req. for FDESC) 1141.80Sgmcgarryfile-system CODA # Coda File System; also needs vcoda (below) 1151.121Schristosfile-system PTYFS # /dev/pts/N support 1161.154Schsfile-system TMPFS # Efficient memory file-system 1171.127Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1181.22Sthorpej 1191.1Smycroft# Filesystem options 1201.22Sthorpejoptions QUOTA # User and group quotas in FFS 1211.38Sbouyer#options FFS_EI # FFS Endian Independant support 1221.146Ssimonboptions WAPBL # File system journaling support - Experimental 1231.122Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1241.20Sthorpejoptions NFSSERVER # Network filesystem server 1251.80Sgmcgarry#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags 1261.73Sgmcgarryoptions NFS_BOOT_BOOTP # use bootp for NFS boot 1271.125Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1281.49Sitojun 1291.1Smycroft# Networking options 1301.21Sscottroptions INET # Internet protocols 1311.49Sitojunoptions INET6 # IPV6 1321.49Sitojun#options IPSEC # IP security 1331.49Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1341.116Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1351.49Sitojun#options IPSEC_DEBUG # debug for IP security 1361.152Sjoergoptions GATEWAY # IP forwarding 1371.29Slukemoptions MROUTING # Multicast routing 1381.106Smanuoptions PIM # Protocol Independent Multicast 1391.141Sadrianp#options ISO,TPIP # OSI 1401.80Sgmcgarry#options EON # OSI tunneling over IP 1411.80Sgmcgarryoptions NETATALK # AppleTalk networking protocols 1421.80Sgmcgarryoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1431.80Sgmcgarryoptions PPP_DEFLATE # Deflate compression support for PPP 1441.80Sgmcgarryoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1451.45Schristosoptions PFIL_HOOKS # packet filter hooks 1461.80Sgmcgarryoptions IPFILTER_LOG # ipmon(8) log support 1471.137Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1481.155Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1491.84Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1501.66Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1511.1Smycroft 1521.101Sabs#options ALTQ # Manipulate network interfaces' output queues 1531.101Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1541.101Sabs#options ALTQ_CBQ # Class-Based Queueing 1551.101Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1561.101Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1571.101Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1581.101Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1591.101Sabs#options ALTQ_LOCALQ # Local queueing discipline 1601.101Sabs#options ALTQ_PRIQ # Priority Queueing 1611.101Sabs#options ALTQ_RED # Random Early Detection 1621.101Sabs#options ALTQ_RIO # RED with IN/OUT 1631.101Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1641.101Sabs 1651.1Smycroft# Options for HP hardware 1661.21Sscottroptions USELEDS # make the lights twinkle 1671.29Slukem#options PANICBUTTON # two fast <reset>s on HIL dump kernel 1681.30Slukem#options CONSCODE=9 # force console at this select code 1691.20Sthorpej#options MAPPEDCOPY # different copyin/copyout for large copies 1701.20Sthorpej 1711.80Sgmcgarry# These options enable verbose messages for several subsystems. 1721.80Sgmcgarry# Warning, these may compile large string tables into the kernel! 1731.80Sgmcgarry#options SCSIVERBOSE # Verbose SCSI errors 1741.21Sscottroptions DIOVERBOSE # recognize "unknown" DIO devices 1751.1Smycroft 1761.22Sthorpejconfig netbsd root on ? type ? 1771.1Smycroft 1781.80Sgmcgarry# 1791.80Sgmcgarry# Device configuration 1801.80Sgmcgarry# 1811.20Sthorpej 1821.80Sgmcgarrymainbus0 at root # root "bus" 1831.32Sthorpej 1841.80Sgmcgarryintio0 at mainbus0 # internal i/o space 1851.80Sgmcgarrydio0 at mainbus0 # DIO/DIO-II bus 1861.69Sgmcgarry 1871.80Sgmcgarryrtc* at intio? # real-time clock (not optional) 1881.89Sgmcgarrydma* at intio? # DMA controller 1891.80Sgmcgarryhil* at intio? # Human Interface Loop 1901.80Sgmcgarryoptions UK_KEYBOARD # include United Kingdom HIL keymap 1911.80Sgmcgarryoptions SE_KEYBOARD # include Swedish HIL keymap 1921.132Stsutsuifrodo* at intio? # Frodo utility chip found on 3x2, 4xx 1931.93Sgmcgarrynhpib* at intio? # slow internal HP-IB 1941.32Sthorpej 1951.32Sthorpej# 8250-like serial ports found on Frodo ASIC 1961.32Sthorpej#dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor 1971.96Stsutsuicom* at frodo? offset ? # tty flavor 1981.20Sthorpej 1991.80Sgmcgarrydvbox* at intio? # Davinci framebuffer 2001.20Sthorpejdvbox* at dio? scode ? 2011.20Sthorpej 2021.80Sgmcgarrygbox* at intio? # Gatorbox framebuffer 2031.20Sthorpejgbox* at dio? scode ? 2041.20Sthorpej 2051.80Sgmcgarryhyper* at dio? scode ? # Hyperion framebuffer 2061.20Sthorpej 2071.80Sgmcgarryrbox* at intio? # Renaissance framebuffer 2081.20Sthorpejrbox* at dio? scode ? 2091.20Sthorpej 2101.80Sgmcgarrytopcat* at intio? # Topcat/catseye framebuffers 2111.20Sthorpejtopcat* at dio? scode ? 2121.20Sthorpej 2131.20Sthorpej# Framebuffer abstraction 2141.20Sthorpejgrf* at dvbox? 2151.20Sthorpejgrf* at gbox? 2161.20Sthorpejgrf* at hyper? 2171.20Sthorpejgrf* at rbox? 2181.20Sthorpejgrf* at topcat? 2191.20Sthorpej 2201.80Sgmcgarryite* at grf? # Internal Terminal Emulator 2211.20Sthorpej 2221.97Stsutsuicom0 at dio0 scode 9 # DCA serial interfaces 2231.97Stsutsuicom* at dio? scode ? 2241.20Sthorpej 2251.20Sthorpejdcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces 2261.20Sthorpej 2271.20Sthorpejle* at dio? scode ? # LANCE ethernet interfaces 2281.20Sthorpej 2291.20Sthorpejnhpib0 at dio? scode 7 # slow internal HP-IB 2301.20Sthorpejnhpib* at dio? scode ? 2311.20Sthorpej 2321.20Sthorpejfhpib* at dio? scode ? # `fast' HP-IB 2331.20Sthorpej 2341.20Sthorpejhpibbus0 at nhpib0 2351.20Sthorpejhpibbus* at nhpib? 2361.20Sthorpejhpibbus* at fhpib? 2371.3Sthorpej 2381.20Sthorpejrd* at hpibbus? slave ? punit ? # HP-IB disks 2391.20Sthorpejct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes 2401.20Sthorpejmt* at hpibbus? slave ? punit ? # HP-IB 9-track tape 2411.20Sthorpejppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter 2421.1Smycroft 2431.94Stsutsuispc* at dio? scode ? # HP 98265A SCSI 2441.94Stsutsuiscsibus* at spc? 2451.1Smycroft 2461.94Stsutsuisd* at scsibus? target ? lun ? # SCSI disks 2471.94Stsutsuist* at scsibus? target ? lun ? # SCSI tapes 2481.94Stsutsuicd* at scsibus? target ? lun ? # SCSI CD-ROMs 2491.94Stsutsuich* at scsibus? target ? lun ? # SCSI changer devices 2501.94Stsutsuiss* at scsibus? target ? lun ? # SCSI scanners 2511.94Stsutsuiuk* at scsibus? target ? lun ? # unknown SCSI devices 2521.1Smycroft 2531.80Sgmcgarry# 2541.80Sgmcgarry# Pseudo-devices 2551.80Sgmcgarry# 2561.80Sgmcgarry 2571.80Sgmcgarry# disk pseudo-devices 2581.4Sthorpejpseudo-device ccd 4 # concatenated disk devices 2591.86Selric#pseudo-device cgd 4 # cryptographic disk devices 2601.75Sosterpseudo-device raid 8 # RAIDframe disk driver 2611.75Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID components 2621.75Soster# Options to enable various other RAIDframe RAID types. 2631.108Stsutsui#options RF_INCLUDE_EVENODD=1 2641.108Stsutsui#options RF_INCLUDE_RAID5_RS=1 2651.108Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2661.108Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2671.108Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2681.108Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2691.108Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2701.153Spookapseudo-device fss # file system snapshot device 2711.80Sgmcgarrypseudo-device md 1 # memory disk device (ramdisk) 2721.129Scubepseudo-device vnd # vnode pseudo-disks 2731.117Shubertf#options VND_COMPRESSION # compressed vnd(4) 2741.80Sgmcgarry 2751.80Sgmcgarry# network pseudo-devices 2761.80Sgmcgarrypseudo-device bridge # simple inter-network bridging 2771.122Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2781.139Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2791.128Srpaulopseudo-device bpfilter # Berkeley packet filter 2801.131Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2811.129Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2821.129Scube#pseudo-device gre # generic L3 over IP tunnel 2831.129Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2841.80Sgmcgarrypseudo-device ipfilter # IP Filter package 2851.80Sgmcgarrypseudo-device loop # loopback network interface 2861.129Scubepseudo-device ppp # PPP network interfaces 2871.80Sgmcgarrypseudo-device pppoe # PPP over Ethernet (RFC 2516) 2881.129Scubepseudo-device sl # SLIP network interfaces 2891.130Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2901.129Scubepseudo-device tun # network tunneling over tty 2911.109Scubepseudo-device tap # virtual Ethernet 2921.62Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2931.80Sgmcgarry 2941.147Stls# 2951.147Stls# accept filters 2961.147Stlspseudo-device accf_data # "dataready" accept filter 2971.147Stlspseudo-device accf_http # "httpready" accept filter 2981.147Stls 2991.80Sgmcgarry# miscellaneous pseudo-devices 3001.81Slukempseudo-device clockctl # user control of clock subsystem 3011.80Sgmcgarrypseudo-device pty # pseudo-terminals 3021.61Sitojunpseudo-device rnd # /dev/random and in-kernel generator 3031.80Sgmcgarrypseudo-device vcoda 4 # coda minicache <-> venus comm. 3041.92Sraggepseudo-device ksyms # /dev/ksyms 3051.100Sitojun#pseudo-device pf # PF packet filter 3061.100Sitojun#pseudo-device pflog # PF log if 3071.151Spookapseudo-device putter # for puffs and pud 3081.126Selad 3091.126Selad# Veriexec 3101.126Selad# 3111.126Selad# a pseudo device needed for veriexec 3121.126Selad#pseudo-device veriexec 1 3131.126Selad# 3141.126Selad# Uncomment the fingerprint methods below that are desired. Note that 3151.126Selad# removing fingerprint methods will have almost no impact on the kernel 3161.126Selad# code size. 3171.126Selad# 3181.136Stsutsui#options VERIFIED_EXEC_FP_RMD160 3191.136Stsutsui#options VERIFIED_EXEC_FP_SHA256 3201.136Stsutsui#options VERIFIED_EXEC_FP_SHA384 3211.136Stsutsui#options VERIFIED_EXEC_FP_SHA512 3221.136Stsutsui#options VERIFIED_EXEC_FP_SHA1 3231.136Stsutsui#options VERIFIED_EXEC_FP_MD5 324