GENERIC revision 1.102
11.102Sgarbled# $NetBSD: GENERIC,v 1.102 2007/10/25 17:33:25 garbled Exp $ 21.1Sws# 31.47Sgmcgarry# GENERIC machine description file 41.47Sgmcgarry# 51.47Sgmcgarry# This machine description file is used to generate the default NetBSD 61.47Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.47Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Sws# 91.47Sgmcgarry# The machine description file can be customised for your specific 101.47Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.47Sgmcgarry# 121.47Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.47Sgmcgarry# man page. 141.47Sgmcgarry# 151.47Sgmcgarry# For further information on hardware support for this architecture, see 161.47Sgmcgarry# the intro(4) man page. For further information about kernel options 171.47Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.47Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.47Sgmcgarry# device. 201.1Sws 211.47Sgmcgarryinclude "arch/ofppc/conf/std.ofppc" 221.23Shubertf 231.52Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.52Satatat 251.102Sgarbled#ident "GENERIC-$Revision: 1.102 $" 261.1Sws 271.1Swsmaxusers 32 281.1Sws 291.100Sgarbledoptions PIC_OPENPIC 301.100Sgarbledoptions PIC_I8259 311.100Sgarbled 321.1Sws# various hacks due to bugs in Openfirmware implementation 331.6Slukemoptions FIRMWORKSBUGS 341.1Sws 351.34Sthorpej# Standard system options 361.34Sthorpej#options INSECURE # disable kernel security checks 371.34Sthorpej#options NTP # NTP phase/frequency locked loop 381.34Sthorpejoptions KTRACE # system call tracing via ktrace(1) 391.93Schristos#options SYSTRACE # system call vetting via systrace(1) 401.34Sthorpej 411.34Sthorpejoptions SYSVMSG # System V message queues 421.34Sthorpejoptions SYSVSEM # System V semaphores 431.45Slukem#options SEMMNI=10 # number of semaphore identifiers 441.45Slukem#options SEMMNS=60 # number of semaphores in system 451.45Slukem#options SEMUME=10 # max number of undo entries per process 461.45Slukem#options SEMMNU=30 # number of undo structures in system 471.34Sthorpejoptions SYSVSHM # System V shared memory 481.34Sthorpej#options SHMMAXPGS=1024 # 1024 pages is the default 491.67Sbouyeroptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 501.34Sthorpej 511.34Sthorpejoptions LKM # loadable kernel modules 521.50Sjdolecek 531.55Slukemoptions USERCONF # userconf(4) support 541.50Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 551.68Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 561.34Sthorpej 571.34Sthorpej# Diagnostic/debugging support options 581.85Schs#options DIAGNOSTIC # cheap kernel consistency checks 591.45Slukem#options DEBUG # expensive debugging checks/support 601.102Sgarbled#options KMEMSTATS # kernel memory statistics (vmstat -m) 611.34Sthorpejoptions DDB # in-kernel debugger 621.34Sthorpejoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 631.102Sgarbledoptions DDB_VERBOSE_HELP 641.34Sthorpejoptions TRAP_PANICWAIT 651.1Sws 661.54Schsmakeoptions DEBUG="-g" # compile full symbol table 671.5Sthorpej 681.34Sthorpej# Compatibility option 691.34Sthorpejoptions COMPAT_09 # NetBSD 0.9, 701.34Sthorpejoptions COMPAT_10 # NetBSD 1.0, 711.34Sthorpejoptions COMPAT_11 # NetBSD 1.1, 721.34Sthorpejoptions COMPAT_12 # NetBSD 1.2, 731.34Sthorpejoptions COMPAT_13 # NetBSD 1.3, 741.34Sthorpejoptions COMPAT_14 # NetBSD 1.4, 751.96Smanuoptions COMPAT_15 # NetBSD 1.5, 761.76Ssimonboptions COMPAT_16 # NetBSD 1.6, 771.76Ssimonboptions COMPAT_20 # NetBSD 2.0, 781.82Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 791.34Sthorpejoptions COMPAT_43 # and 4.3BSD 801.11Sdrochneroptions COMPAT_386BSD_MBRPART # recognize old partition ID 811.45Slukem#options COMPAT_LINUX # Linux binary compatibility 821.39Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 831.70Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 841.1Sws 851.34Sthorpej# File systems 861.34Sthorpejfile-system FFS # UFS 871.34Sthorpejfile-system EXT2FS # second extended file system (linux) 881.34Sthorpejfile-system LFS # log-structured file system 891.34Sthorpejfile-system MFS # memory file system 901.34Sthorpejfile-system NFS # Network file System client 911.34Sthorpejfile-system CD9660 # ISO 9660 + Rock Ridge file system 921.34Sthorpejfile-system MSDOSFS # MS-DOS file system 931.34Sthorpejfile-system FDESC # /dev/fd 941.34Sthorpejfile-system KERNFS # /kern 951.34Sthorpejfile-system NULLFS # loopback file system 961.22Swrstudenfile-system OVERLAY # overlay file system 971.34Sthorpejfile-system PORTAL # portal file system (still experimental) 981.34Sthorpejfile-system PROCFS # /proc 991.34Sthorpejfile-system UMAPFS # NULLFS + uid and gid remapping 1001.34Sthorpejfile-system UNION # union file system 1011.34Sthorpejfile-system NTFS # Windows NT file system 1021.83Schristosfile-system PTYFS # /dev/pts/N support 1031.97Sjmmv#file-system TMPFS # Efficient memory file-system 1041.88Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1051.34Sthorpej 1061.34Sthorpej# File system options 1071.34Sthorpejoptions QUOTA # UFS quotas 1081.34Sthorpejoptions FFS_EI # FFS Endian Independent support 1091.34Sthorpejoptions SOFTDEP # FFS soft updates support 1101.72Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1111.34Sthorpejoptions NFSSERVER # Network File System server 1121.86Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1131.45Slukem#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1141.45Slukem # immutable) behave as system flags. 1151.34Sthorpej 1161.34Sthorpejoptions NFS_BOOT_DHCP # Support DHCP NFS root 1171.34Sthorpej 1181.34Sthorpej# Networking options 1191.34Sthorpej#options GATEWAY # packet forwarding 1201.34Sthorpejoptions INET # IP + ICMP + TCP + UDP 1211.21Sitojunoptions INET6 # IPV6 1221.21Sitojun#options IPSEC # IP security 1231.21Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1241.78Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1251.21Sitojun#options IPSEC_DEBUG # debug for IP security 1261.45Slukem#options MROUTING # IP multicast routing 1271.69Smanu#options PIM # Protocol Independent Multicast 1281.34Sthorpej#options ISO,TPIP # OSI 1291.34Sthorpej#options EON # OSI tunneling over IP 1301.34Sthorpej#options NETATALK # AppleTalk networking protocols 1311.34Sthorpejoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1321.34Sthorpejoptions PPP_DEFLATE # Deflate compression support for PPP 1331.34Sthorpejoptions PPP_FILTER # Active filter support for PPP (requires BPF) 1341.34Sthorpejoptions PFIL_HOOKS # pfil(9) packet filter hooks 1351.34Sthorpejoptions IPFILTER_LOG # ipmon(8) log support 1361.95Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1371.57Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1381.6Slukemoptions NMBCLUSTERS=1024 1391.39Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1401.34Sthorpej 1411.66Sabs#options ALTQ # Manipulate network interfaces' output queues 1421.66Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1431.66Sabs#options ALTQ_CBQ # Class-Based Queueing 1441.66Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1451.66Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1461.66Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1471.66Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1481.66Sabs#options ALTQ_LOCALQ # Local queueing discipline 1491.66Sabs#options ALTQ_PRIQ # Priority Queueing 1501.66Sabs#options ALTQ_RED # Random Early Detection 1511.66Sabs#options ALTQ_RIO # RED with IN/OUT 1521.66Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1531.66Sabs 1541.102Sgarbled# These options enable verbose messages for several subsystems. 1551.102Sgarbled# Warning, these may compile large string tables into the kernel! 1561.102Sgarbledoptions MIIVERBOSE # verbose PHY autoconfig messages 1571.102Sgarbledoptions PCIVERBOSE # verbose PCI device autoconfig messages 1581.102Sgarbled#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1591.102Sgarbledoptions SCSIVERBOSE # human readable SCSI error messages 1601.102Sgarbledoptions USBVERBOSE # verbose USB device autoconfig messages 1611.102Sgarbled 1621.100Sgarbledoptions WSEMUL_VT100 1631.100Sgarbledoptions WS_DEFAULT_FG=WSCOL_BLACK 1641.100Sgarbledoptions WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 1651.100Sgarbledoptions WS_KERNEL_FG=WSCOL_GREEN 1661.100Sgarbledoptions WS_KERNEL_BG=WSCOL_LIGHT_WHITE 1671.100Sgarbledoptions FONT_GALLANT12x22 1681.100Sgarbled 1691.34Sthorpej# Kernel root file system and dump configuration 1701.4Sthorpejconfig netbsd root on ? type ? 1711.1Sws 1721.34Sthorpej# 1731.34Sthorpej# Device configuration 1741.34Sthorpej# 1751.34Sthorpej 1761.34Sthorpejmainbus* at root 1771.1Sws 1781.34Sthorpej# Generic OpenFirmware bus support 1791.10Smycroftofbus* at mainbus? 1801.10Smycroftofbus* at ofbus? 1811.100Sgarbled# Generic OpenFirmware console support 1821.100Sgarbledofcons* at ofbus? 1831.101Sgarbledrtas* at ofbus? 1841.100Sgarbled 1851.40Smatt 1861.44Sthorpej# CPUs 1871.44Sthorpejcpu* at mainbus? 1881.1Sws 1891.101Sgarbled# PCI root nodes 1901.100Sgarbledofwpci* at mainbus? 1911.100Sgarbledpci* at ofwpci? bus ? 1921.1Sws 1931.101Sgarbledpegasospci* at mainbus? 1941.101Sgarbledpci* at pegasospci? bus ? 1951.101Sgarbled 1961.101Sgarbled# PCI devices 1971.100Sgarbledpchb* at pci? dev ? function ? 1981.100Sgarbledppb* at pci? dev ? function ? 1991.100Sgarbledpcn* at pci? dev ? function ? 2001.100Sgarbledsiop* at pci? dev ? function ? 2011.100Sgarbledpcib* at pci? dev ? function ? 2021.100Sgarbledofb* at pci? dev ? function ? 2031.100Sgarbled# make sure the console display is always wsdisplay0 2041.100Sgarbledwsdisplay0 at wsemuldisplaydev? console 1 2051.100Sgarbledwsdisplay* at wsemuldisplaydev? 2061.1Sws 2071.100Sgarbledisa* at pcib? 2081.1Sws 2091.100Sgarbledscsibus* at scsi? 2101.100Sgarbledsd* at scsibus? target ? lun ? 2111.1Sws 2121.90Scubepseudo-device vnd # disk-like interface to files 2131.79Shubertf#options VND_COMPRESSION # compressed vnd(4) 2141.34Sthorpejpseudo-device ccd 4 # concatenated/striped disk devices 2151.59Selric#pseudo-device cgd 4 # cryptographic disk devices 2161.99Stsutsui#pseudo-device raid 8 # RAIDframe disk driver 2171.34Sthorpej#options RAID_AUTOCONFIG # auto-configuration of RAID components 2181.49Soster# Options to enable various other RAIDframe RAID types. 2191.49Soster# options RF_INCLUDE_EVENODD=1 2201.49Soster# options RF_INCLUDE_RAID5_RS=1 2211.49Soster# options RF_INCLUDE_PARITYLOGGING=1 2221.49Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2231.49Soster# options RF_INCLUDE_INTERDECLUSTER=1 2241.49Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2251.49Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2261.73Shannkenpseudo-device fss 4 # file system snapshot device 2271.34Sthorpejpseudo-device md 1 # memory disk device 2281.34Sthorpejpseudo-device loop # network loopback 2291.89Srpaulopseudo-device bpfilter # packet filter 2301.92Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2311.34Sthorpejpseudo-device ipfilter # IP Filter (firewall) and NAT 2321.90Scubepseudo-device ppp # Point-to-Point Protocol 2331.48Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2341.90Scubepseudo-device sl # Serial Line IP 2351.90Scubepseudo-device tun # network tunneling over tty 2361.71Scubepseudo-device tap # virtual Ethernet 2371.90Scube#pseudo-device gre # generic L3 over IP tunnel 2381.34Sthorpejpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2391.34Sthorpej#pseudo-device faith # IPv[46] tcp relay translation i/f 2401.91Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2411.35Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2421.46Satatatpseudo-device bridge # simple inter-network bridging 2431.60Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2441.98Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2451.32Sjdolecekpseudo-device pty # pseudo-terminals 2461.33Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2471.53Slukempseudo-device clockctl # user control of clock subsystem 2481.54Schspseudo-device openfirm # /dev/openfirm 2491.62Sraggepseudo-device ksyms # /dev/ksyms 2501.65Sitojun#pseudo-device pf # PF packet filter 2511.65Sitojun#pseudo-device pflog # PF log if 2521.54Schs 2531.54Schsoptions FIREPOWER_ES # Firepower ES 2541.54Schsoptions FIREPOWER_MX # Firepower MX 2551.54Schsoptions FIREPOWER_LX # Firepower LX 2561.87Selad 2571.87Selad# Veriexec 2581.87Selad# 2591.87Selad# a pseudo device needed for veriexec 2601.87Selad#pseudo-device veriexec 1 2611.87Selad# 2621.87Selad# Uncomment the fingerprint methods below that are desired. Note that 2631.87Selad# removing fingerprint methods will have almost no impact on the kernel 2641.87Selad# code size. 2651.87Selad# 2661.87Selad#options VERIFIED_EXEC_FP_RMD160 2671.87Selad#options VERIFIED_EXEC_FP_SHA256 2681.87Selad#options VERIFIED_EXEC_FP_SHA384 2691.87Selad#options VERIFIED_EXEC_FP_SHA512 2701.87Selad#options VERIFIED_EXEC_FP_SHA1 2711.87Selad#options VERIFIED_EXEC_FP_MD5 272