11.27Sabs# $NetBSD: GENERIC,v 1.27 2023/02/12 14:50:39 abs 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.27Sabs#ident "GENERIC-$Revision: 1.27 $" 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.25Ssimonb# File systems 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.25Ssimonb# File system options 911.25Ssimonboptions FFS_EI # FFS Endian Independent support 921.25Ssimonb#options FFS_NO_SNAPSHOT # No FFS snapshot support 931.2Sbouyeroptions QUOTA # legacy UFS quotas 941.2Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 951.25Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 961.25Ssimonboptions UFS_EXTATTR # Extended attribute support for UFS1 971.25Ssimonb#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 981.18Srin#options DISKLABEL_EI # disklabel Endian Independent support 991.25Ssimonboptions NFSSERVER # Network File System server 1001.1Spooka 1011.1Spooka# Networking options 1021.1Spookaoptions INET # Internet protocols 1031.1Spookaoptions INET6 # IPV6 1041.1Spooka#options IPSEC # IP security 1051.1Spooka#options IPSEC_DEBUG # debug for IP security 1061.1Spooka#options GATEWAY # IP packet forwarding 1071.1Spooka#options MROUTING # Multicast routing support 1081.1Spooka#options PIM # Protocol Independent Multicast 1091.1Spooka#options NETATALK # AppleTalk networking protocols 1101.1Spookaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1111.1Spookaoptions PPP_DEFLATE # Deflate compression support for PPP 1121.1Spookaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1131.1Spooka#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1141.1Spooka 1151.1Spooka#options ALTQ # Manipulate network interfaces' output queues 1161.1Spooka#options ALTQ_BLUE # Stochastic Fair Blue 1171.1Spooka#options ALTQ_CBQ # Class-Based Queueing 1181.1Spooka#options ALTQ_CDNR # Diffserv Traffic Conditioner 1191.1Spooka#options ALTQ_FIFOQ # First-In First-Out Queue 1201.1Spooka#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1211.1Spooka#options ALTQ_HFSC # Hierarchical Fair Service Curve 1221.1Spooka#options ALTQ_LOCALQ # Local queueing discipline 1231.1Spooka#options ALTQ_PRIQ # Priority Queueing 1241.1Spooka#options ALTQ_RED # Random Early Detection 1251.1Spooka#options ALTQ_RIO # RED with IN/OUT 1261.1Spooka#options ALTQ_WFQ # Weighted Fair Queueing 1271.1Spooka 1281.1Spooka# NetBSD backwards compatibility 1291.20Smrginclude "conf/compat_netbsd12.config" 1301.1Spookaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 1311.1Spooka 1321.1Spooka# Workstation console options 1331.1Spooka#options FONT_BOLD8x16 1341.1Spooka#options FONT_GALLANT12x22 1351.1Spooka 1361.1Spooka#options WSEMUL_VT100 1371.6Sabs#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1381.1Spooka#options WS_KERNEL_FG=WSCOL_GREEN 1391.1Spooka#options WS_KERNEL_BG=WSCOL_BLACK 1401.1Spooka 1411.1Spooka# Disable kernel security levels. Needed for X with a PX or PXG. 1421.1Spooka#options INSECURE 1431.1Spooka 1441.1Spooka# emips specific 1451.1Spookaoptions HZ=16 # RTC rate required, uses timecounter 1461.1Spooka 1471.1Spookaoptions NFS_BOOT_DHCP # superset of BOOTP 1481.1Spookaoptions NFS_BOOT_RWSIZE=1024 1491.1Spooka 1501.1Spookaconfig netbsd root on ? type ? 1511.1Spookaconfig nfsnetbsd root on ? type nfs 1521.1Spookamainbus0 at root 1531.1Spookacpu* at mainbus0 1541.1Spooka 1551.1Spooka## Peripheral Bus Support (for devices to attach to) 1561.1Spooka## ---------------------------------------------------------------------------- 1571.1Spooka 1581.1Spooka# eMIPS systems 1591.1Spookaebus0 at mainbus0 1601.1Spookaeclock* at ebus0 addr ? # clock 1611.1Spookadz* at ebus0 addr ? # usart 1621.1Spookaenic* at ebus0 addr ? # ethernet 1631.1Spookaace* at ebus0 addr ? # disk 1641.1Spookaeflash* at ebus0 addr ? # flash memory 1651.1Spookaicap* at ebus0 addr ? # ICAP interface 1661.1Spookaevga* at ebus0 addr ? # eVGA graphics 1671.1Spookapstwo* at ebus0 addr ? # PS2 mouse and kbd 1681.1Spookaacns* at ebus0 addr ? # AC97 audio 1691.1Spookaepio* at ebus0 addr ? # GPIO interface 1701.1Spookagpio* at epio? 1711.1Spookalcd* at ebus0 addr ? # lcd display 1721.1Spooka 1731.1Spooka######################################################################### 1741.1Spooka# Pseudo-devices # 1751.1Spooka######################################################################### 1761.1Spooka 1771.9Schristospseudo-device loop # network loopback 1781.1Spookapseudo-device sl # serial-line IP ports 1791.1Spookapseudo-device ppp # serial-line IP ports 1801.1Spookapseudo-device pppoe # PPP over Ethernet (RFC 2516) 1811.1Spookapseudo-device pty # pseudo-terminals 1821.1Spookapseudo-device bpfilter # packet filter ports 1831.1Spooka#pseudo-device carp # Common Address Redundancy Protocol 1841.22Smaxvpseudo-device npf # NPF packet filter 1851.1Spooka#pseudo-device gre # generic L3 over IP tunnel 1861.1Spookapseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1871.1Spooka#pseudo-device faith # IPv[46] tcp relay translation i/f 1881.1Spookapseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1891.1Spookapseudo-device vlan # IEEE 802.1q encapsulation 1901.1Spookapseudo-device bridge # simple inter-network bridging 1911.24Sroy#pseudo-device vether # Virtual Ethernet for bridge 1921.1Spookapseudo-device agr # IEEE 802.3ad link aggregation 1931.1Spooka 1941.1Spookapseudo-device vnd # virtual disk ick 1951.1Spooka#options VND_COMPRESSION # compressed vnd(4) 1961.9Schristospseudo-device ccd # concatenated disks 1971.9Schristos#pseudo-device cgd # cryptographic disk devices 1981.10Schristos#pseudo-device raid # RAIDframe disk driver 1991.1Spooka#options RAID_AUTOCONFIG # auto-configuration of RAID components 2001.1Spooka# Options to enable various other RAIDframe RAID types. 2011.1Spooka#options RF_INCLUDE_EVENODD=1 2021.1Spooka#options RF_INCLUDE_RAID5_RS=1 2031.1Spooka#options RF_INCLUDE_PARITYLOGGING=1 2041.1Spooka#options RF_INCLUDE_CHAINDECLUSTER=1 2051.1Spooka#options RF_INCLUDE_INTERDECLUSTER=1 2061.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING=1 2071.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2081.1Spookapseudo-device fss # file system snapshot device 2091.1Spooka 2101.1Spookapseudo-device clockctl # user control of clock subsystem 2111.1Spookapseudo-device ksyms # /dev/ksyms 2121.26Sriastradpseudo-device swwdog # software watchdog timer -- swwdog(4) 2131.27Sabs 2141.27Sabs# Pull in optional local configuration - always at end 2151.27Sabscinclude "arch/emips/conf/GENERIC.local" 216