1# $NetBSD: GENERIC,v 1.49 2023/02/09 14:09:49 abs 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.49 $" 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 50options USERCONF # userconf(4) support 51#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 52options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 53 54# Alternate buffer queue strategies for better responsiveness under high 55# disk I/O load. 56#options BUFQ_READPRIO 57options BUFQ_PRIOCSCAN 58 59# Diagnostic/debugging support options 60#options DIAGNOSTIC # cheap kernel consistency checks 61options DEBUG # expensive debugging checks/support 62options PMAPDEBUG 63options DDB # in-kernel debugger 64#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 65#makeoptions DEBUG="-g" 66 67# Compatibility options 68include "conf/compat_netbsd50.config" 69#options COMPAT_LINUX # Linux binary compatibility 70#options COMPAT_OSSAUDIO # Linux binary compatibility 71 72# File systems 73file-system FFS # UFS 74file-system EXT2FS # second extended file system (linux) 75#file-system LFS # log-structured file system 76file-system MFS # memory file system 77file-system NFS # Network File System client 78#file-system NTFS # Windows/NT file system (experimental) 79file-system CD9660 # ISO 9660 + Rock Ridge file system 80file-system MSDOSFS # MS-DOS file system 81#file-system FDESC # /dev/fd 82file-system KERNFS # /kern 83file-system NULLFS # loopback file system 84#file-system OVERLAY # overlay file system 85file-system PROCFS # /proc 86#file-system UMAPFS # NULLFS + uid and gid remapping 87file-system UNION # union file system 88#file-system CODA # Coda File System; also needs vcoda (below) 89file-system PTYFS # /dev/pts/N support 90file-system TMPFS # Efficient memory file-system 91#file-system UDF # experimental - OSTA UDF CD/DVD file-system 92 93# File system options 94#options FFS_EI # FFS Endian Independent support 95#options FFS_NO_SNAPSHOT # No FFS snapshot support 96options QUOTA # legacy UFS quotas 97options QUOTA2 # new, in-filesystem UFS quotas 98options UFS_DIRHASH # UFS Large Directory Hashing 99options UFS_EXTATTR # Extended attribute support for UFS1 100options WAPBL # File system journaling support 101#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 102 # immutable) behave as system flags. 103#options DISKLABEL_EI # disklabel Endian Independent support 104options NFSSERVER # Network File System server 105 106# Networking options 107#options GATEWAY # packet forwarding 108options INET # IP + ICMP + TCP + UDP 109options INET6 # IPv6 110#options IPSEC # IP security 111#options IPSEC_DEBUG # debug for IP security 112#options MROUTING # IP multicast routing 113#options PIM # Protocol Independent Multicast 114#options NETATALK # AppleTalk networking protocols 115options PPP_BSDCOMP # BSD-Compress compression support for PPP 116options PPP_DEFLATE # Deflate compression support for PPP 117options PPP_FILTER # Active filter support for PPP (requires bpf) 118#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 119 120#options ALTQ # Manipulate network interfaces' output queues 121#options ALTQ_BLUE # Stochastic Fair Blue 122#options ALTQ_CBQ # Class-Based Queueing 123#options ALTQ_CDNR # Diffserv Traffic Conditioner 124#options ALTQ_FIFOQ # First-In First-Out Queue 125#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 126#options ALTQ_HFSC # Hierarchical Fair Service Curve 127#options ALTQ_LOCALQ # Local queueing discipline 128#options ALTQ_PRIQ # Priority Queueing 129#options ALTQ_RED # Random Early Detection 130#options ALTQ_RIO # RED with IN/OUT 131#options ALTQ_WFQ # Weighted Fair Queueing 132 133# These options enable verbose messages for several subsystems. 134# Warning, these may compile large string tables into the kernel! 135#options MIIVERBOSE # verbose PHY autoconfig messages 136options SCSIVERBOSE # human readable SCSI error messages 137options MCAVERBOSE # verbose MCA device autoconfig messages 138 139#options NFS_BOOT_BOOTP 140options NFS_BOOT_BOOTPARAM 141options NFS_BOOT_DHCP 142 143# 144# wscons options 145# 146# builtin terminal emulations 147#options WSEMUL_VT100 # VT100 / VT220 emulation 148#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 149# different kernel output - see dev/wscons/wsdisplayvar.h 150#options WS_KERNEL_FG=WSCOL_GREEN 151#options WS_KERNEL_BG=WSCOL_BLACK 152# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 153#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 154# allocate a number of virtual screens at autoconfiguration time 155#options WSDISPLAY_DEFAULTSCREENS=4 156# use a large software cursor that doesn't blink 157#options PCDISPLAY_SOFTCURSOR 158 159# Kernel root file system and dump configuration. 160config netbsd root on ? type ? 161#config netbsd root on tlp0 type nfs 162#config netbsd root on pcn0 type nfs 163 164 165# 166# Device configuration 167# 168 169mainbus0 at root 170cpu0 at mainbus0 171mca0 at mainbus0 172 173com* at mca? slot ? 174 175# I/O Planar 176ioplanar* at mca? slot ? 177 178# I/O Planar devices 179com* at ioplanar? 180 181# Basic Bus Support 182 183# SCSI devices 184#sd* at scsibus? target ? lun ? # SCSI disk drives 185#st* at scsibus? target ? lun ? # SCSI tape drives 186#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 187#ch* at scsibus? target ? lun ? # SCSI autochangers 188#ss* at scsibus? target ? lun ? # SCSI scanners 189#uk* at scsibus? target ? lun ? # SCSI unknown 190 191# Pseudo-Devices 192 193# Not yet ready -- prep lacks generic soft interrupts 194#pseudo-device crypto # /dev/crypto device 195#pseudo-device swcrypto # software crypto implementation 196 197# disk/mass storage pseudo-devices 198#pseudo-device ccd # concatenated/striped disk devices 199#pseudo-device cgd # cryptographic disk devices 200#pseudo-device raid # RAIDframe disk driver 201#options RAID_AUTOCONFIG # auto-configuration of RAID components 202# Options to enable various other RAIDframe RAID types. 203# options RF_INCLUDE_EVENODD=1 204# options RF_INCLUDE_RAID5_RS=1 205# options RF_INCLUDE_PARITYLOGGING=1 206# options RF_INCLUDE_CHAINDECLUSTER=1 207# options RF_INCLUDE_INTERDECLUSTER=1 208# options RF_INCLUDE_PARITY_DECLUSTERING=1 209# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 210pseudo-device fss # file system snapshot device 211pseudo-device md # memory disk device (ramdisk) 212pseudo-device vnd # disk-like interface to files 213#options VND_COMPRESSION # compressed vnd(4) 214 215# network pseudo-devices 216pseudo-device loop # network loopback 217pseudo-device bpfilter # Berkeley packet filter 218pseudo-device carp # Common Address Redundancy Protocol 219pseudo-device npf # NPF packet filter 220pseudo-device ppp # Point-to-Point Protocol 221pseudo-device pppoe # PPP over Ethernet (RFC 2516) 222#pseudo-device sl # Serial Line IP 223pseudo-device tun # network tunneling over tty 224pseudo-device tap # virtual Ethernet 225pseudo-device gre # generic L3 over IP tunnel 226pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 227#pseudo-device faith # IPv[46] tcp relay translation i/f 228pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 229pseudo-device vlan # IEEE 802.1q encapsulation 230pseudo-device bridge # simple inter-network bridging 231pseudo-device vether # Virtual Ethernet for bridge 232 233# 234# accept filters 235pseudo-device accf_data # "dataready" accept filter 236pseudo-device accf_http # "httpready" accept filter 237 238# miscellaneous pseudo-devices 239pseudo-device pty # pseudo-terminals 240#pseudo-device sequencer # MIDI sequencer 241#options RND_COM # use "com" randomness as well 242pseudo-device clockctl # user control of clock subsystem 243pseudo-device ksyms # /dev/ksyms 244pseudo-device swwdog # software watchdog timer -- swwdog(4) 245 246# a pseudo device needed for Coda # also needs CODA (above) 247#pseudo-device vcoda # coda minicache <-> venus comm. 248 249# wscons pseudo-devices 250pseudo-device wsmux # mouse & keyboard multiplexor 251pseudo-device wsfont 252 253include "dev/veriexec.config" 254 255# Pull in optional local configuration - always at end 256cinclude "arch/rs6000/conf/GENERIC.local" 257