GENERIC revision 1.60
1# $NetBSD: GENERIC,v 1.60 2003/02/27 19:22:45 perseant Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/ofppc/conf/std.ofppc" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.60 $" 26 27maxusers 32 28 29# various hacks due to bugs in Openfirmware implementation 30options FIRMWORKSBUGS 31 32# Standard system options 33#options UCONSOLE # users can use TIOCCONS (for xconsole) 34#options INSECURE # disable kernel security checks 35#options NTP # NTP phase/frequency locked loop 36options KTRACE # system call tracing via ktrace(1) 37options SYSTRACE # system call vetting via systrace(1) 38 39options SYSVMSG # System V message queues 40options SYSVSEM # System V semaphores 41#options SEMMNI=10 # number of semaphore identifiers 42#options SEMMNS=60 # number of semaphores in system 43#options SEMUME=10 # max number of undo entries per process 44#options SEMMNU=30 # number of undo structures in system 45options SYSVSHM # System V shared memory 46#options SHMMAXPGS=1024 # 1024 pages is the default 47 48options LKM # loadable kernel modules 49 50options USERCONF # userconf(4) support 51#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 52 53# Diagnostic/debugging support options 54options DIAGNOSTIC # cheap kernel consistency checks 55#options DEBUG # expensive debugging checks/support 56options DDB # in-kernel debugger 57options DDB_HISTORY_SIZE=512 # enable history editing in DDB 58options TRAP_PANICWAIT 59 60makeoptions DEBUG="-g" # compile full symbol table 61 62# Compatibility option 63options COMPAT_09 # NetBSD 0.9, 64options COMPAT_10 # NetBSD 1.0, 65options COMPAT_11 # NetBSD 1.1, 66options COMPAT_12 # NetBSD 1.2, 67options COMPAT_13 # NetBSD 1.3, 68options COMPAT_14 # NetBSD 1.4, 69options COMPAT_43 # and 4.3BSD 70options COMPAT_386BSD_MBRPART # recognize old partition ID 71#options COMPAT_LINUX # Linux binary compatibility 72#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 73 74# File systems 75file-system FFS # UFS 76file-system EXT2FS # second extended file system (linux) 77file-system LFS # log-structured file system 78file-system MFS # memory file system 79file-system NFS # Network file System client 80file-system CD9660 # ISO 9660 + Rock Ridge file system 81file-system MSDOSFS # MS-DOS file system 82file-system FDESC # /dev/fd 83file-system KERNFS # /kern 84file-system NULLFS # loopback file system 85file-system OVERLAY # overlay file system 86file-system PORTAL # portal file system (still experimental) 87file-system PROCFS # /proc 88file-system UMAPFS # NULLFS + uid and gid remapping 89file-system UNION # union file system 90file-system NTFS # Windows NT file system 91 92# File system options 93options QUOTA # UFS quotas 94options FFS_EI # FFS Endian Independent support 95options SOFTDEP # FFS soft updates support 96options NFSSERVER # Network File System server 97#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 98 # immutable) behave as system flags. 99 100options NFS_BOOT_DHCP # Support DHCP NFS root 101 102# Networking options 103#options GATEWAY # packet forwarding 104options INET # IP + ICMP + TCP + UDP 105options INET6 # IPV6 106#options IPSEC # IP security 107#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 108#options IPSEC_DEBUG # debug for IP security 109#options MROUTING # IP multicast routing 110#options NS # XNS 111#options NSIP # XNS tunneling over IP 112#options ISO,TPIP # OSI 113#options EON # OSI tunneling over IP 114#options CCITT,LLC,HDLC # X.25 115#options NETATALK # AppleTalk networking protocols 116options PPP_BSDCOMP # BSD-Compress compression support for PPP 117options PPP_DEFLATE # Deflate compression support for PPP 118options PPP_FILTER # Active filter support for PPP (requires BPF) 119options PFIL_HOOKS # pfil(9) packet filter hooks 120options IPFILTER_LOG # ipmon(8) log support 121#options IPFILTER_DEFAULT_BLOCK # block all packets by default 122options NMBCLUSTERS=1024 123#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 124 125# Kernel root file system and dump configuration 126config netbsd root on ? type ? 127 128# 129# Device configuration 130# 131 132mainbus* at root 133 134# Generic OpenFirmware bus support 135ofbus* at mainbus? 136ofbus* at ofbus? 137 138# CPUs 139cpu* at mainbus? 140 141# Generic OpenFirmware disk support 142ofdisk* at ofbus? 143 144# Generic OpenFirmware network interface support 145ofnet* at ofbus? 146 147# Generic OpenFirmware console support 148ofcons* at ofbus? 149 150# Generic OpenFirmware real-time clock support 151ofrtc* at ofbus? 152 153pseudo-device vnd 4 # disk-like interface to files 154pseudo-device ccd 4 # concatenated/striped disk devices 155#pseudo-device cgd 4 # cryptographic disk devices 156#pesudo-device raid 8 # RAIDframe disk driver 157#options RAID_AUTOCONFIG # auto-configuration of RAID components 158# Options to enable various other RAIDframe RAID types. 159# options RF_INCLUDE_EVENODD=1 160# options RF_INCLUDE_RAID5_RS=1 161# options RF_INCLUDE_PARITYLOGGING=1 162# options RF_INCLUDE_CHAINDECLUSTER=1 163# options RF_INCLUDE_INTERDECLUSTER=1 164# options RF_INCLUDE_PARITY_DECLUSTERING=1 165# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 166pseudo-device md 1 # memory disk device 167pseudo-device loop # network loopback 168pseudo-device bpfilter 8 # packet filter 169pseudo-device ipfilter # IP Filter (firewall) and NAT 170pseudo-device ppp 2 # Point-to-Point Protocol 171pseudo-device pppoe # PPP over Ethernet (RFC 2516) 172pseudo-device sl 2 # Serial Line IP 173pseudo-device tun 4 # network tunneling over tty 174#pseudo-device gre 2 # generic L3 over IP tunnel 175pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 176#pseudo-device faith # IPv[46] tcp relay translation i/f 177#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 178pseudo-device vlan # IEEE 802.1q encapsulation 179pseudo-device bridge # simple inter-network bridging 180#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 181pseudo-device pty # pseudo-terminals 182pseudo-device rnd # /dev/random and in-kernel generator 183pseudo-device clockctl # user control of clock subsystem 184pseudo-device openfirm # /dev/openfirm 185 186options FIREPOWER_ES # Firepower ES 187options FIREPOWER_MX # Firepower MX 188options FIREPOWER_LX # Firepower LX 189