GENERIC revision 1.6
1# $NetBSD: GENERIC,v 1.6 2008/08/10 15:31:21 tls 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/rs6000/conf/std.rs6000" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee 26 27#ident "GENERIC-$Revision: 1.6 $" 28 29maxusers 32 30 31# Platform support 32 33options PIC_IOCC 34 35# Standard system options 36 37options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 38options NTP # NTP phase/frequency locked loop 39 40options KTRACE # system call tracing via ktrace(1) 41 42options SYSVMSG # System V-like message queues 43options SYSVSEM # System V-like semaphores 44#options SEMMNI=10 # number of semaphore identifiers 45#options SEMMNS=60 # number of semaphores in system 46#options SEMUME=10 # max number of undo entries per process 47#options SEMMNU=30 # number of undo structures in system 48options SYSVSHM # System V-like memory sharing 49#options SHMMAXPGS=1024 # 1024 pages is the default 50options P1003_1B_SEMAPHORE # p1003.1b semaphore support 51 52options LKM # loadable kernel modules 53 54options USERCONF # userconf(4) support 55#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 56options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 57 58# Enable experimental buffer queue strategy for better responsiveness under 59# high disk I/O load. Use it with caution - it's not proven to be stable yet. 60#options BUFQ_READPRIO 61#options BUFQ_PRIOCSCAN 62 63# Diagnostic/debugging support options 64#options DIAGNOSTIC # cheap kernel consistency checks 65options DEBUG # expensive debugging checks/support 66options PMAPDEBUG 67#options KMEMSTATS # kernel memory statistics (vmstat -m) 68options DDB # in-kernel debugger 69#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 70#makeoptions DEBUG="-g" 71 72# Compatibility options 73#options COMPAT_13 # NetBSD 1.3, 74#options COMPAT_14 # NetBSD 1.4, 75#options COMPAT_15 # NetBSD 1.5, 76#options COMPAT_16 # NetBSD 1.6, 77#options COMPAT_20 # NetBSD 2.0, 78#options COMPAT_30 # NetBSD 3.0, 79#options COMPAT_40 # NetBSD 4.0 compatibility. 80options COMPAT_43 # and 4.3BSD 81#options COMPAT_LINUX # Linux binary compatibility 82#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 83options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 84 85# File systems 86file-system FFS # UFS 87file-system EXT2FS # second extended file system (linux) 88#file-system LFS # log-structured file system 89file-system MFS # memory file system 90file-system NFS # Network File System client 91#file-system NTFS # Windows/NT file system (experimental) 92file-system CD9660 # ISO 9660 + Rock Ridge file system 93file-system MSDOSFS # MS-DOS file system 94#file-system FDESC # /dev/fd 95file-system KERNFS # /kern 96file-system NULLFS # loopback file system 97#file-system OVERLAY # overlay file system 98#file-system PORTAL # portal filesystem (still experimental) 99file-system PROCFS # /proc 100#file-system UMAPFS # NULLFS + uid and gid remapping 101file-system UNION # union file system 102#file-system CODA # Coda File System; also needs vcoda (below) 103file-system PTYFS # /dev/pts/N support 104#file-system TMPFS # experimental - Efficient memory file-system 105#file-system UDF # experimental - OSTA UDF CD/DVD file-system 106 107# File system options 108options QUOTA # UFS quotas 109#options FFS_EI # FFS Endian Independant support 110options SOFTDEP # FFS soft updates support. 111options WAPBL # File system journaling support - Experimental 112#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 113options NFSSERVER # Network File System server 114#options FFS_NO_SNAPSHOT # No FFS snapshot support 115#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 116 # immutable) behave as system flags. 117 118# Networking options 119#options GATEWAY # packet forwarding 120options INET # IP + ICMP + TCP + UDP 121options INET6 # IPv6 122#options IPSEC # IP security 123#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 124#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 125#options IPSEC_DEBUG # debug for IP security 126#options MROUTING # IP multicast routing 127#options PIM # Protocol Independent Multicast 128#options NETATALK # AppleTalk networking protocols 129options PPP_BSDCOMP # BSD-Compress compression support for PPP 130options PPP_DEFLATE # Deflate compression support for PPP 131options PPP_FILTER # Active filter support for PPP (requires bpf) 132options PFIL_HOOKS # pfil(9) packet filter hooks 133options IPFILTER_LOG # ipmon(8) log support 134#options IPFILTER_DEFAULT_BLOCK # block all packets by default 135#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 136 137#options ALTQ # Manipulate network interfaces' output queues 138#options ALTQ_BLUE # Stochastic Fair Blue 139#options ALTQ_CBQ # Class-Based Queueing 140#options ALTQ_CDNR # Diffserv Traffic Conditioner 141#options ALTQ_FIFOQ # First-In First-Out Queue 142#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 143#options ALTQ_HFSC # Hierarchical Fair Service Curve 144#options ALTQ_LOCALQ # Local queueing discipline 145#options ALTQ_PRIQ # Priority Queueing 146#options ALTQ_RED # Random Early Detection 147#options ALTQ_RIO # RED with IN/OUT 148#options ALTQ_WFQ # Weighted Fair Queueing 149 150# These options enable verbose messages for several subsystems. 151# Warning, these may compile large string tables into the kernel! 152#options MIIVERBOSE # verbose PHY autoconfig messages 153options SCSIVERBOSE # human readable SCSI error messages 154options MCAVERBOSE # verbose MCA device autoconfig messages 155 156#options NFS_BOOT_BOOTP 157options NFS_BOOT_BOOTPARAM 158options NFS_BOOT_DHCP 159 160# 161# wscons options 162# 163# builtin terminal emulations 164options WSEMUL_VT100 # VT100 / VT220 emulation 165# different kernel output - see dev/wscons/wsdisplayvar.h 166options WS_KERNEL_FG=WSCOL_GREEN 167#options WS_KERNEL_BG=WSCOL_BLACK 168# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 169#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 170# allocate a number of virtual screens at autoconfiguration time 171#options WSDISPLAY_DEFAULTSCREENS=4 172# use a large software cursor that doesn't blink 173options PCDISPLAY_SOFTCURSOR 174 175# Kernel root file system and dump configuration. 176config netbsd root on ? type ? 177#config netbsd root on tlp0 type nfs 178#config netbsd root on pcn0 type nfs 179 180 181# 182# Device configuration 183# 184 185mainbus0 at root 186cpu0 at mainbus0 187mca0 at mainbus0 188 189com* at mca? slot ? 190 191# I/O Planar 192ioplanar* at mca? slot ? 193 194# I/O Planar devices 195com* at ioplanar? 196 197# Basic Bus Support 198 199# SCSI devices 200#sd* at scsibus? target ? lun ? # SCSI disk drives 201#st* at scsibus? target ? lun ? # SCSI tape drives 202#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 203#ch* at scsibus? target ? lun ? # SCSI autochangers 204#ss* at scsibus? target ? lun ? # SCSI scanners 205#uk* at scsibus? target ? lun ? # SCSI unknown 206 207# Pull in optional local configuration 208cinclude "arch/rs6000/conf/GENERIC.local" 209 210# Pseudo-Devices 211 212# Not yet ready -- prep lacks generic soft interrupts 213#pseudo-device crypto # /dev/crypto device 214#pseudo-device swcrypto # software crypto implementation 215 216# disk/mass storage pseudo-devices 217#pseudo-device ccd 4 # concatenated/striped disk devices 218#pseudo-device cgd 4 # cryptographic disk devices 219#pseudo-device raid 8 # RAIDframe disk driver 220#options RAID_AUTOCONFIG # auto-configuration of RAID components 221# Options to enable various other RAIDframe RAID types. 222# options RF_INCLUDE_EVENODD=1 223# options RF_INCLUDE_RAID5_RS=1 224# options RF_INCLUDE_PARITYLOGGING=1 225# options RF_INCLUDE_CHAINDECLUSTER=1 226# options RF_INCLUDE_INTERDECLUSTER=1 227# options RF_INCLUDE_PARITY_DECLUSTERING=1 228# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 229pseudo-device fss 4 # file system snapshot device 230pseudo-device md 1 # memory disk device (ramdisk) 231pseudo-device vnd # disk-like interface to files 232#options VND_COMPRESSION # compressed vnd(4) 233 234# network pseudo-devices 235pseudo-device loop # network loopback 236pseudo-device bpfilter # Berkeley packet filter 237#pseudo-device carp # Common Address Redundancy Protocol 238pseudo-device ipfilter # IP filter (firewall) and NAT 239pseudo-device ppp # Point-to-Point Protocol 240pseudo-device pppoe # PPP over Ethernet (RFC 2516) 241#pseudo-device sl # Serial Line IP 242pseudo-device strip # Starmode Radio IP (Metricom) 243pseudo-device tun # network tunneling over tty 244pseudo-device tap # virtual Ethernet 245pseudo-device gre # generic L3 over IP tunnel 246pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 247#pseudo-device faith # IPv[46] tcp relay translation i/f 248pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 249pseudo-device vlan # IEEE 802.1q encapsulation 250pseudo-device bridge # simple inter-network bridging 251#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 252 253# 254# accept filters 255pseudo-device accf_data # "dataready" accept filter 256pseudo-device accf_http # "httpready" accept filter 257 258# miscellaneous pseudo-devices 259pseudo-device pty # pseudo-terminals 260#pseudo-device sequencer 1 # MIDI sequencer 261pseudo-device rnd # /dev/random and in-kernel generator 262#options RND_COM # use "com" randomness as well 263pseudo-device clockctl # user control of clock subsystem 264pseudo-device ksyms # /dev/ksyms 265#pseudo-device pf # PF packet filter 266#pseudo-device pflog # PF log if 267 268# a pseudo device needed for Coda # also needs CODA (above) 269#pseudo-device vcoda 4 # coda minicache <-> venus comm. 270 271# wscons pseudo-devices 272pseudo-device wsmux # mouse & keyboard multiplexor 273pseudo-device wsfont 274 275# Veriexec 276#options VERIFIED_EXEC 277# 278# a pseudo device needed for veriexec 279#pseudo-device veriexec 1 280# 281# Uncomment the fingerprint methods below that are desired. Note that 282# removing fingerprint methods will have almost no impact on the kernel 283# code size. 284# 285#options VERIFIED_EXEC_FP_RMD160 286#options VERIFIED_EXEC_FP_SHA256 287#options VERIFIED_EXEC_FP_SHA384 288#options VERIFIED_EXEC_FP_SHA512 289#options VERIFIED_EXEC_FP_SHA1 290#options VERIFIED_EXEC_FP_MD5 291