GENERIC revision 1.21
11.21Ssevan# $NetBSD: GENERIC,v 1.21 2018/01/23 14:47:54 sevan Exp $ 21.1Spooka# 31.1Spooka# GENERIC machine description file 41.1Spooka# 51.1Spooka# This machine description file is used to generate the default NetBSD 61.1Spooka# kernel. The generic kernel does not include all options, subsystems 71.1Spooka# and device drivers, but should be useful for most applications. 81.1Spooka# 91.1Spooka# The machine description file can be customised for your specific 101.1Spooka# machine to reduce the kernel size and improve its performance. 111.1Spooka# 121.1Spooka# For further information on compiling NetBSD kernels, see the config(8) 131.1Spooka# man page. 141.1Spooka# 151.1Spooka# For further information on hardware support for this architecture, see 161.1Spooka# the intro(4) man page. For further information about kernel options 171.1Spooka# for this architecture, see the options(4) man page. For an explanation 181.1Spooka# of each device driver in this file see the section 4 man page for the 191.1Spooka# device. 201.1Spooka 211.20Smrginclude "arch/emips/conf/std.emips" 221.1Spooka 231.1Spookaoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.1Spooka 251.21Ssevan#ident "GENERIC-$Revision: 1.21 $" 261.1Spooka 271.1Spookamaxusers 64 281.1Spooka 291.1Spookaoptions MIPS1 # R2000/R3000 CPUs 301.1Spookaoptions NOFPU # No FPU 311.1Spookaoptions SOFTFLOAT # emulate FPU insn 321.1Spooka 331.1Spooka# Support eMIPS-based systems 341.1Spookaoptions XILINX_ML40X # Xilinx Ml401/2 dev boards 351.1Spookaoptions XS_BEE3 # MSR/BeCube BEE3 system 361.1Spooka 371.1Spooka# Standard system options 381.1Spookaoptions DDB # in-kernel debugger 391.1Spookaoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 401.1Spookaoptions DDB_ONPANIC=1 # enter debugger on panic 411.1Spooka#options DIAGNOSTIC # extra kernel debugging checks 421.1Spooka#options DEBUG # extra kernel debugging support 431.1Spookaoptions KTRACE # system call tracing support 441.1Spooka#options SYSTRACE # system call vetting via systrace(1) 451.1Spooka 461.1Spookaoptions SYSVMSG # System V-like message queues 471.1Spookaoptions SYSVSEM # System V-like semaphores 481.1Spooka#options SEMMNI=10 # number of semaphore identifiers 491.1Spooka#options SEMMNS=60 # number of semaphores in system 501.1Spooka#options SEMUME=10 # max number of undo entries per process 511.1Spooka#options SEMMNU=30 # number of undo structures in system 521.1Spookaoptions SYSVSHM # System V-like memory sharing 531.1Spooka#options SHMMAXPGS=1024 # 1024 pages is the default 541.1Spooka 551.1Spookaoptions USERCONF # userconf(4) support 561.1Spooka#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 571.1Spookaoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 581.1Spooka 591.21Ssevan# Alternate buffer queue strategies for better responsiveness under high 601.21Ssevan# disk I/O load. 611.1Spooka#options BUFQ_READPRIO 621.1Spooka#options BUFQ_PRIOCSCAN 631.1Spooka 641.1Spooka# Old 4.4BSD/emips kgdb options 651.1Spooka#options KGDB # support for kernel gdb 661.1Spooka#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 671.1Spooka#options KGDB_DEV="15*256+0" # device for kernel gdb 681.1Spooka 691.1Spookaoptions NTP # network time protocol 701.1Spooka 711.1Spooka 721.1Spooka# Filesystem options 731.1Spookafile-system FFS # fast filesystem with user and group quotas 741.1Spookafile-system MFS # memory-based filesystem 751.1Spookafile-system NFS # Sun NFS-compatible filesystem (client) 761.1Spookafile-system LFS # Log-based filesystem (still experimental) 771.1Spookafile-system CD9660 # ISO 9660 + Rock Ridge file system 781.1Spookafile-system MSDOSFS # MS-DOS file system 791.1Spookafile-system FDESC # /dev/fd 801.1Spookafile-system KERNFS # /kern (kernel informational filesystem) 811.1Spookafile-system NULLFS # loopback file system 821.1Spookafile-system OVERLAY # overlay file system 831.1Spookafile-system PROCFS # /proc 841.1Spookafile-system UMAPFS # NULLFS + uid and gid remapping 851.1Spookafile-system UNION 861.1Spookafile-system PTYFS # /dev/pts/N support 871.1Spookafile-system TMPFS # Efficient memory file-system 881.1Spookafile-system UDF # experimental - OSTA UDF CD/DVD file-system 891.1Spooka 901.1Spookaoptions NFSSERVER # Sun NFS-compatible filesystem (server) 911.2Sbouyeroptions QUOTA # legacy UFS quotas 921.2Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 931.18Srin#options DISKLABEL_EI # disklabel Endian Independent support 941.3Swizoptions FFS_EI # FFS Endian Independent support 951.1Spooka#options FFS_NO_SNAPSHOT # No FFS snapshot support 961.14Smanuoptions UFS_EXTATTR # Extended attribute support for UFS1 971.1Spooka#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 981.1Spooka 991.1Spooka# Networking options 1001.1Spookaoptions INET # Internet protocols 1011.1Spookaoptions INET6 # IPV6 1021.1Spooka#options IPSEC # IP security 1031.1Spooka#options IPSEC_DEBUG # debug for IP security 1041.1Spooka#options GATEWAY # IP packet forwarding 1051.1Spooka#options MROUTING # Multicast routing support 1061.1Spooka#options PIM # Protocol Independent Multicast 1071.1Spooka#options NETATALK # AppleTalk networking protocols 1081.1Spookaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1091.1Spookaoptions PPP_DEFLATE # Deflate compression support for PPP 1101.1Spookaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1111.1Spookaoptions IPFILTER_LOG # ipmon(8) log support 1121.1Spookaoptions IPFILTER_LOOKUP # ippool(8) support 1131.1Spooka#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1141.1Spooka#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1151.1Spooka 1161.1Spooka#options ALTQ # Manipulate network interfaces' output queues 1171.1Spooka#options ALTQ_BLUE # Stochastic Fair Blue 1181.1Spooka#options ALTQ_CBQ # Class-Based Queueing 1191.1Spooka#options ALTQ_CDNR # Diffserv Traffic Conditioner 1201.1Spooka#options ALTQ_FIFOQ # First-In First-Out Queue 1211.1Spooka#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1221.1Spooka#options ALTQ_HFSC # Hierarchical Fair Service Curve 1231.1Spooka#options ALTQ_LOCALQ # Local queueing discipline 1241.1Spooka#options ALTQ_PRIQ # Priority Queueing 1251.1Spooka#options ALTQ_RED # Random Early Detection 1261.1Spooka#options ALTQ_RIO # RED with IN/OUT 1271.1Spooka#options ALTQ_WFQ # Weighted Fair Queueing 1281.1Spooka 1291.1Spooka# NetBSD backwards compatibility 1301.20Smrginclude "conf/compat_netbsd12.config" 1311.1Spookaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 1321.1Spooka 1331.1Spooka# Workstation console options 1341.1Spooka#options FONT_BOLD8x16 1351.1Spooka#options FONT_GALLANT12x22 1361.1Spooka 1371.1Spooka#options WSEMUL_VT100 1381.6Sabs#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1391.1Spooka#options WS_KERNEL_FG=WSCOL_GREEN 1401.1Spooka#options WS_KERNEL_BG=WSCOL_BLACK 1411.1Spooka 1421.1Spooka# Disable kernel security levels. Needed for X with a PX or PXG. 1431.1Spooka#options INSECURE 1441.1Spooka 1451.1Spooka# emips specific 1461.1Spookaoptions HZ=16 # RTC rate required, uses timecounter 1471.1Spooka 1481.1Spookaoptions NFS_BOOT_DHCP # superset of BOOTP 1491.1Spookaoptions NFS_BOOT_RWSIZE=1024 1501.1Spooka 1511.1Spookaconfig netbsd root on ? type ? 1521.1Spookaconfig nfsnetbsd root on ? type nfs 1531.1Spookamainbus0 at root 1541.1Spookacpu* at mainbus0 1551.1Spooka 1561.1Spooka## Peripheral Bus Support (for devices to attach to) 1571.1Spooka## ---------------------------------------------------------------------------- 1581.1Spooka 1591.1Spooka# eMIPS systems 1601.1Spookaebus0 at mainbus0 1611.1Spookaeclock* at ebus0 addr ? # clock 1621.1Spookadz* at ebus0 addr ? # usart 1631.1Spookaenic* at ebus0 addr ? # ethernet 1641.1Spookaace* at ebus0 addr ? # disk 1651.1Spookaeflash* at ebus0 addr ? # flash memory 1661.1Spookaicap* at ebus0 addr ? # ICAP interface 1671.1Spookaevga* at ebus0 addr ? # eVGA graphics 1681.1Spookapstwo* at ebus0 addr ? # PS2 mouse and kbd 1691.1Spookaacns* at ebus0 addr ? # AC97 audio 1701.1Spookaepio* at ebus0 addr ? # GPIO interface 1711.1Spookagpio* at epio? 1721.1Spookalcd* at ebus0 addr ? # lcd display 1731.1Spooka 1741.1Spooka######################################################################### 1751.1Spooka# Pseudo-devices # 1761.1Spooka######################################################################### 1771.1Spooka 1781.9Schristospseudo-device loop # network loopback 1791.1Spookapseudo-device sl # serial-line IP ports 1801.1Spookapseudo-device ppp # serial-line IP ports 1811.1Spookapseudo-device pppoe # PPP over Ethernet (RFC 2516) 1821.1Spookapseudo-device pty # pseudo-terminals 1831.1Spookapseudo-device bpfilter # packet filter ports 1841.1Spooka#pseudo-device carp # Common Address Redundancy Protocol 1851.1Spookapseudo-device ipfilter # IP filter, NAT 1861.1Spooka#pseudo-device gre # generic L3 over IP tunnel 1871.1Spookapseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1881.1Spooka#pseudo-device faith # IPv[46] tcp relay translation i/f 1891.1Spookapseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1901.1Spookapseudo-device vlan # IEEE 802.1q encapsulation 1911.1Spookapseudo-device bridge # simple inter-network bridging 1921.1Spooka#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1931.1Spookapseudo-device agr # IEEE 802.3ad link aggregation 1941.1Spooka 1951.1Spookapseudo-device vnd # virtual disk ick 1961.1Spooka#options VND_COMPRESSION # compressed vnd(4) 1971.9Schristospseudo-device ccd # concatenated disks 1981.9Schristos#pseudo-device cgd # cryptographic disk devices 1991.10Schristos#pseudo-device raid # RAIDframe disk driver 2001.1Spooka#options RAID_AUTOCONFIG # auto-configuration of RAID components 2011.1Spooka# Options to enable various other RAIDframe RAID types. 2021.1Spooka#options RF_INCLUDE_EVENODD=1 2031.1Spooka#options RF_INCLUDE_RAID5_RS=1 2041.1Spooka#options RF_INCLUDE_PARITYLOGGING=1 2051.1Spooka#options RF_INCLUDE_CHAINDECLUSTER=1 2061.1Spooka#options RF_INCLUDE_INTERDECLUSTER=1 2071.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING=1 2081.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2091.1Spookapseudo-device fss # file system snapshot device 2101.1Spooka 2111.1Spookapseudo-device clockctl # user control of clock subsystem 2121.1Spookapseudo-device ksyms # /dev/ksyms 2131.1Spooka#pseudo-device pf # PF packet filter 2141.1Spooka#pseudo-device pflog # PF log if 215