GENERIC revision 1.132
11.132Stsutsui# $NetBSD: GENERIC,v 1.132 2006/07/20 13:21:38 tsutsui 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.132Stsutsui#ident "GENERIC-$Revision: 1.132 $" 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.85Sprovosoptions SYSTRACE # system call vetting via systrace(1) 501.80Sgmcgarryoptions LKM # Loadable kernel modules 511.80Sgmcgarry#options INSECURE # disable kernel security level 521.82Slukemoptions USERCONF # userconf(4) support 531.108Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 541.103Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 551.108Stsutsui#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 561.80Sgmcgarryoptions NTP # NTP phase/frequency locked loop 571.80Sgmcgarryoptions SYSVSHM # System V-style shared memory 581.108Stsutsui#options SHMMAXPGS=1024 # 1024 pages is the default 591.80Sgmcgarryoptions SYSVMSG # System V-style message queues 601.80Sgmcgarryoptions SYSVSEM # System V-style semaphores 611.80Sgmcgarry#options SEMMNI=10 # number of semaphore identifiers 621.80Sgmcgarry#options SEMMNS=60 # number of semaphores in system 631.80Sgmcgarry#options SEMUME=10 # max number of undo entries per process 641.80Sgmcgarry#options SEMMNU=30 # number of undo structures in system 651.102Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 661.87Sjunyoung 671.88Swiz# Enable experimental buffer queue strategy for better responsiveness under 681.87Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 691.114Stsutsui#options BUFQ_READPRIO 701.114Stsutsui#options BUFQ_PRIOCSCAN 711.1Smycroft 721.80Sgmcgarry# Debugging options 731.124Schs#options DIAGNOSTIC # Extra kernel sanity checks 741.80Sgmcgarry#options DEBUG # Enable misc. kernel debugging code 751.80Sgmcgarry#options KMEMSTATS # kernel memory statistics (vmstat -m) 761.80Sgmcgarryoptions DDB # Kernel Dynamic Debugger 771.80Sgmcgarry#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 781.80Sgmcgarry#options KGDB # remote debugger 791.80Sgmcgarry#makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 801.1Smycroft 811.80Sgmcgarry# Compatibility options 821.20Sthorpejoptions COMPAT_43 # compatibility with 4.3BSD interfaces 831.20Sthorpejoptions COMPAT_44 # compatibility with 4.4BSD binaries 841.20Sthorpejoptions COMPAT_09 # compatibility with NetBSD 0.9 851.20Sthorpejoptions COMPAT_10 # compatibility with NetBSD 1.0 861.20Sthorpejoptions COMPAT_11 # compatibility with NetBSD 1.1 871.20Sthorpejoptions COMPAT_12 # compatibility with NetBSD 1.2 881.37Skleinkoptions COMPAT_13 # compatibility with NetBSD 1.3 891.46Saugustssoptions COMPAT_14 # compatibility with NetBSD 1.4 901.95Scloptions COMPAT_15 # compatibility with NetBSD 1.5 911.95Scloptions COMPAT_16 # compatibility with NetBSD 1.6 921.104Stsutsuioptions COMPAT_20 # compatibility with NetBSD 2.0 931.120Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 941.66Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 951.80Sgmcgarry 961.80Sgmcgarry# Binary compatibility. 971.80Sgmcgarryoptions COMPAT_HPUX # HP-UX binary compatibility 981.80Sgmcgarryoptions COMPAT_AOUT_M68K # NetBSD/m68k a.out binary compatibility 991.80Sgmcgarryoptions COMPAT_M68K4K # NetBSD/m68k4k binary compatibility 1001.80Sgmcgarryoptions COMPAT_SUNOS # SunOS4 m68k binary compatibility 1011.80Sgmcgarryoptions COMPAT_LINUX # Linux/m68k binary compatibility 1021.80Sgmcgarryoptions COMPAT_SVR4 # SVR4 binary compatibility 1031.108Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1041.1Smycroft 1051.22Sthorpej# Filesystems 1061.80Sgmcgarryfile-system CD9660 # CD-ROM ISO-9660 filesystem 1071.80Sgmcgarryfile-system EXT2FS # second extended file system (linux) 1081.80Sgmcgarryfile-system FDESC # user file descriptor filesystem 1091.29Slukemfile-system FFS # fast filesystem 1101.80Sgmcgarryfile-system KERNFS # kernel data-structure filesystem 1111.80Sgmcgarryfile-system LFS # log-structured file system 1121.80Sgmcgarryfile-system MFS # Memory-based filesystem 1131.29Slukemfile-system NFS # Network filesystem client 1141.80Sgmcgarryfile-system NULLFS # loopback file system 1151.80Sgmcgarryfile-system OVERLAY # overlay file system 1161.80Sgmcgarryfile-system PORTAL # portal filesystem (still experimental) 1171.80Sgmcgarryfile-system PROCFS # /proc filesystem 1181.80Sgmcgarryfile-system UMAPFS # NULLFS + uid and gid remapping 1191.29Slukemfile-system UNION # Union filesystem (req. for FDESC) 1201.80Sgmcgarryfile-system CODA # Coda File System; also needs vcoda (below) 1211.121Schristosfile-system PTYFS # /dev/pts/N support 1221.123Sjmmv#file-system TMPFS # experimental - Efficient memory file-system 1231.127Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1241.22Sthorpej 1251.1Smycroft# Filesystem options 1261.22Sthorpejoptions QUOTA # User and group quotas in FFS 1271.38Sbouyer#options FFS_EI # FFS Endian Independant support 1281.70Slukemoptions SOFTDEP # FFS soft updates support. 1291.122Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1301.20Sthorpejoptions NFSSERVER # Network filesystem server 1311.80Sgmcgarry#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags 1321.73Sgmcgarryoptions NFS_BOOT_BOOTP # use bootp for NFS boot 1331.125Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1341.49Sitojun 1351.1Smycroft# Networking options 1361.21Sscottroptions INET # Internet protocols 1371.49Sitojunoptions INET6 # IPV6 1381.49Sitojun#options IPSEC # IP security 1391.49Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1401.116Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1411.49Sitojun#options IPSEC_DEBUG # debug for IP security 1421.29Slukemoptions GATEWAY # IP forwarding + larger mb_map 1431.29Slukemoptions MROUTING # Multicast routing 1441.106Smanuoptions PIM # Protocol Independent Multicast 1451.80Sgmcgarryoptions NS # XNS 1461.80Sgmcgarry#options NSIP # XNS tunneling over IP 1471.80Sgmcgarryoptions ISO,TPIP # OSI 1481.80Sgmcgarry#options EON # OSI tunneling over IP 1491.80Sgmcgarryoptions CCITT,LLC,HDLC # X.25 1501.80Sgmcgarryoptions NETATALK # AppleTalk networking protocols 1511.80Sgmcgarryoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1521.80Sgmcgarryoptions PPP_DEFLATE # Deflate compression support for PPP 1531.80Sgmcgarryoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1541.45Schristosoptions PFIL_HOOKS # packet filter hooks 1551.80Sgmcgarryoptions IPFILTER_LOG # ipmon(8) log support 1561.84Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1571.66Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1581.1Smycroft 1591.101Sabs#options ALTQ # Manipulate network interfaces' output queues 1601.101Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1611.101Sabs#options ALTQ_CBQ # Class-Based Queueing 1621.101Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1631.101Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1641.101Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1651.101Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1661.101Sabs#options ALTQ_LOCALQ # Local queueing discipline 1671.101Sabs#options ALTQ_PRIQ # Priority Queueing 1681.101Sabs#options ALTQ_RED # Random Early Detection 1691.101Sabs#options ALTQ_RIO # RED with IN/OUT 1701.101Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1711.101Sabs 1721.1Smycroft# Options for HP hardware 1731.21Sscottroptions USELEDS # make the lights twinkle 1741.29Slukem#options PANICBUTTON # two fast <reset>s on HIL dump kernel 1751.30Slukem#options CONSCODE=9 # force console at this select code 1761.20Sthorpej#options MAPPEDCOPY # different copyin/copyout for large copies 1771.20Sthorpej 1781.80Sgmcgarry# These options enable verbose messages for several subsystems. 1791.80Sgmcgarry# Warning, these may compile large string tables into the kernel! 1801.80Sgmcgarry#options SCSIVERBOSE # Verbose SCSI errors 1811.21Sscottroptions DIOVERBOSE # recognize "unknown" DIO devices 1821.1Smycroft 1831.22Sthorpejconfig netbsd root on ? type ? 1841.1Smycroft 1851.80Sgmcgarry# 1861.80Sgmcgarry# Device configuration 1871.80Sgmcgarry# 1881.20Sthorpej 1891.80Sgmcgarrymainbus0 at root # root "bus" 1901.32Sthorpej 1911.80Sgmcgarryintio0 at mainbus0 # internal i/o space 1921.80Sgmcgarrydio0 at mainbus0 # DIO/DIO-II bus 1931.69Sgmcgarry 1941.80Sgmcgarryrtc* at intio? # real-time clock (not optional) 1951.89Sgmcgarrydma* at intio? # DMA controller 1961.80Sgmcgarryhil* at intio? # Human Interface Loop 1971.80Sgmcgarryoptions UK_KEYBOARD # include United Kingdom HIL keymap 1981.80Sgmcgarryoptions SE_KEYBOARD # include Swedish HIL keymap 1991.132Stsutsuifrodo* at intio? # Frodo utility chip found on 3x2, 4xx 2001.93Sgmcgarrynhpib* at intio? # slow internal HP-IB 2011.32Sthorpej 2021.32Sthorpej# 8250-like serial ports found on Frodo ASIC 2031.32Sthorpej#dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor 2041.96Stsutsuicom* at frodo? offset ? # tty flavor 2051.20Sthorpej 2061.80Sgmcgarrydvbox* at intio? # Davinci framebuffer 2071.20Sthorpejdvbox* at dio? scode ? 2081.20Sthorpej 2091.80Sgmcgarrygbox* at intio? # Gatorbox framebuffer 2101.20Sthorpejgbox* at dio? scode ? 2111.20Sthorpej 2121.80Sgmcgarryhyper* at dio? scode ? # Hyperion framebuffer 2131.20Sthorpej 2141.80Sgmcgarryrbox* at intio? # Renaissance framebuffer 2151.20Sthorpejrbox* at dio? scode ? 2161.20Sthorpej 2171.80Sgmcgarrytopcat* at intio? # Topcat/catseye framebuffers 2181.20Sthorpejtopcat* at dio? scode ? 2191.20Sthorpej 2201.20Sthorpej# Framebuffer abstraction 2211.20Sthorpejgrf* at dvbox? 2221.20Sthorpejgrf* at gbox? 2231.20Sthorpejgrf* at hyper? 2241.20Sthorpejgrf* at rbox? 2251.20Sthorpejgrf* at topcat? 2261.20Sthorpej 2271.80Sgmcgarryite* at grf? # Internal Terminal Emulator 2281.20Sthorpej 2291.97Stsutsuicom0 at dio0 scode 9 # DCA serial interfaces 2301.97Stsutsuicom* at dio? scode ? 2311.20Sthorpej 2321.20Sthorpejdcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces 2331.20Sthorpej 2341.20Sthorpejle* at dio? scode ? # LANCE ethernet interfaces 2351.20Sthorpej 2361.20Sthorpejnhpib0 at dio? scode 7 # slow internal HP-IB 2371.20Sthorpejnhpib* at dio? scode ? 2381.20Sthorpej 2391.20Sthorpejfhpib* at dio? scode ? # `fast' HP-IB 2401.20Sthorpej 2411.20Sthorpejhpibbus0 at nhpib0 2421.20Sthorpejhpibbus* at nhpib? 2431.20Sthorpejhpibbus* at fhpib? 2441.3Sthorpej 2451.20Sthorpejrd* at hpibbus? slave ? punit ? # HP-IB disks 2461.20Sthorpejct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes 2471.20Sthorpejmt* at hpibbus? slave ? punit ? # HP-IB 9-track tape 2481.20Sthorpejppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter 2491.1Smycroft 2501.94Stsutsuispc* at dio? scode ? # HP 98265A SCSI 2511.94Stsutsuiscsibus* at spc? 2521.1Smycroft 2531.94Stsutsuisd* at scsibus? target ? lun ? # SCSI disks 2541.94Stsutsuist* at scsibus? target ? lun ? # SCSI tapes 2551.94Stsutsuicd* at scsibus? target ? lun ? # SCSI CD-ROMs 2561.94Stsutsuich* at scsibus? target ? lun ? # SCSI changer devices 2571.94Stsutsuiss* at scsibus? target ? lun ? # SCSI scanners 2581.94Stsutsuiuk* at scsibus? target ? lun ? # unknown SCSI devices 2591.1Smycroft 2601.80Sgmcgarry# 2611.80Sgmcgarry# Pseudo-devices 2621.80Sgmcgarry# 2631.80Sgmcgarry 2641.80Sgmcgarry# disk pseudo-devices 2651.4Sthorpejpseudo-device ccd 4 # concatenated disk devices 2661.86Selric#pseudo-device cgd 4 # cryptographic disk devices 2671.75Sosterpseudo-device raid 8 # RAIDframe disk driver 2681.75Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID components 2691.75Soster# Options to enable various other RAIDframe RAID types. 2701.108Stsutsui#options RF_INCLUDE_EVENODD=1 2711.108Stsutsui#options RF_INCLUDE_RAID5_RS=1 2721.108Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 2731.108Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 2741.108Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 2751.108Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 2761.108Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2771.111Shannkenpseudo-device fss 4 # file system snapshot device 2781.80Sgmcgarrypseudo-device md 1 # memory disk device (ramdisk) 2791.129Scubepseudo-device vnd # vnode pseudo-disks 2801.117Shubertf#options VND_COMPRESSION # compressed vnd(4) 2811.80Sgmcgarry 2821.80Sgmcgarry# network pseudo-devices 2831.80Sgmcgarrypseudo-device bridge # simple inter-network bridging 2841.122Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2851.128Srpaulopseudo-device bpfilter # Berkeley packet filter 2861.131Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2871.129Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2881.129Scube#pseudo-device gre # generic L3 over IP tunnel 2891.129Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2901.80Sgmcgarrypseudo-device ipfilter # IP Filter package 2911.80Sgmcgarrypseudo-device loop # loopback network interface 2921.129Scubepseudo-device ppp # PPP network interfaces 2931.80Sgmcgarrypseudo-device pppoe # PPP over Ethernet (RFC 2516) 2941.129Scubepseudo-device sl # SLIP network interfaces 2951.130Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2961.129Scubepseudo-device tun # network tunneling over tty 2971.109Scubepseudo-device tap # virtual Ethernet 2981.62Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2991.80Sgmcgarry 3001.80Sgmcgarry# miscellaneous pseudo-devices 3011.81Slukempseudo-device clockctl # user control of clock subsystem 3021.80Sgmcgarrypseudo-device pty # pseudo-terminals 3031.61Sitojunpseudo-device rnd # /dev/random and in-kernel generator 3041.80Sgmcgarrypseudo-device vcoda 4 # coda minicache <-> venus comm. 3051.92Sraggepseudo-device ksyms # /dev/ksyms 3061.100Sitojun#pseudo-device pf # PF packet filter 3071.100Sitojun#pseudo-device pflog # PF log if 3081.126Selad 3091.126Selad# Veriexec 3101.126Selad#options VERIFIED_EXEC 3111.126Selad# 3121.126Selad# a pseudo device needed for veriexec 3131.126Selad#pseudo-device veriexec 1 3141.126Selad# 3151.126Selad# Uncomment the fingerprint methods below that are desired. Note that 3161.126Selad# removing fingerprint methods will have almost no impact on the kernel 3171.126Selad# code size. 3181.126Selad# 3191.126Selad#options VERIFIED_EXEC_FP_RMD160 3201.126Selad#options VERIFIED_EXEC_FP_SHA256 3211.126Selad#options VERIFIED_EXEC_FP_SHA384 3221.126Selad#options VERIFIED_EXEC_FP_SHA512 3231.126Selad#options VERIFIED_EXEC_FP_SHA1 3241.126Selad#options VERIFIED_EXEC_FP_MD5 3251.126Selad 326