11.163Schristos# $NetBSD: GENERIC,v 1.163 2024/01/29 18:27:14 christos Exp $ 21.1Sdbj# 31.50Sgmcgarry# GENERIC machine description file 41.157Stsutsui# 51.50Sgmcgarry# This machine description file is used to generate the default NetBSD 61.50Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.50Sgmcgarry# and device drivers, but should be useful for most applications. 81.1Sdbj# 91.50Sgmcgarry# The machine description file can be customised for your specific 101.50Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.1Sdbj# 121.50Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.50Sgmcgarry# man page. 141.50Sgmcgarry# 151.50Sgmcgarry# For further information on hardware support for this architecture, see 161.50Sgmcgarry# the intro(4) man page. For further information about kernel options 171.50Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.50Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.50Sgmcgarry# device. 201.1Sdbj 211.50Sgmcgarryinclude "arch/next68k/conf/std.next68k" 221.24Shubertf 231.55Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.55Satatat 251.163Schristos#ident "GENERIC-$Revision: 1.163 $" 261.135Stsutsui 271.155Stsutsuimakeoptions COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer" 281.150Srin # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for 291.150Srin # backtraces in DDB. 301.1Sdbj 311.1Sdbj# Needs to be set per system. i.e change these as you see fit 321.1Sdbjmaxusers 16 331.1Sdbj 341.1Sdbj# Standard system options 351.1Sdbjoptions KTRACE # system call tracing 361.1Sdbjoptions SYSVMSG # System V message queues 371.1Sdbjoptions SYSVSEM # System V semaphores 381.1Sdbjoptions SYSVSHM # System V shared memory 391.1Sdbj 401.161Stsutsuioptions MODULAR # new style module(7) framework 411.161Stsutsuioptions MODULAR_DEFAULT_AUTOLOAD 421.161Stsutsui 431.1Sdbjoptions INSECURE # disable kernel security level 441.63Slukemoptions USERCONF # userconf(4) support 451.53Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 461.78Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 471.67Sjunyoung 481.145Ssevan# Alternate buffer queue strategies for better responsiveness under high 491.145Ssevan# disk I/O load. 501.87Stsutsui#options BUFQ_READPRIO 511.148Ssevanoptions BUFQ_PRIOCSCAN 521.1Sdbj 531.96Schs#options DEBUG # kernel debugging code 541.96Schs#options DIAGNOSTIC # extra kernel sanity checking 551.22Sdbj 561.1Sdbj# Which kernel debugger? Uncomment either this: 571.1Sdbjoptions DDB 581.3Sdbjoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 591.3Sdbj 601.1Sdbj# ... or these for KGDB (gdb remote target) 611.48Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 621.47Slukem#options KGDB # support for kernel gdb 631.47Slukem#options KGDB_DEV=0xc01 # kgdb device number (dev_t) 641.47Slukem#options KGDB_DEVRATE=9600 # baud rate 651.1Sdbj 661.1Sdbj# Other debugging options 671.1Sdbj#options PMAP_DEBUG 681.161Stsutsui#options SCSIDEBUG 691.1Sdbjoptions SCSIVERBOSE # Verbose SCSI errors 701.1Sdbj 711.41Swiz# Compatibility options 721.144Smrginclude "conf/compat_netbsd09.config" 731.1Sdbj 741.28Sdebergoptions COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 751.3Sdbjoptions COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 761.3Sdbjoptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 771.7Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 781.152Snia#options COMPAT_OSSAUDIO # can run Linux/m68k executables 791.40Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 801.40Schsoptions EXEC_AOUT # support for a.out executables 811.1Sdbj 821.1Sdbj# File systems 831.65Smycroftfile-system FFS # UFS 841.13Sdbj#file-system EXT2FS # second extended file system (linux) 851.13Sdbj#file-system LFS # log-structured file system 861.1Sdbjfile-system MFS # memory file system 871.1Sdbjfile-system NFS # Network File System client 881.158Stsutsuifile-system CD9660 # ISO 9660 + Rock Ridge file system 891.161Stsutsuifile-system MSDOSFS # MS-DOS file system 901.1Sdbjfile-system FDESC # /dev/fd 911.1Sdbjfile-system KERNFS # /kern 921.1Sdbjfile-system NULLFS # loopback file system 931.161Stsutsui#file-system OVERLAY # overlay file system 941.161Stsutsui#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 951.1Sdbjfile-system PROCFS # /proc 961.161Stsutsui#file-system UMAPFS # NULLFS + uid and gid remapping 971.161Stsutsui#file-system UNION # union file system 981.94Schristosfile-system PTYFS # /dev/pts/N support 991.120Schsfile-system TMPFS # Efficient memory file-system 1001.99Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1011.1Sdbj 1021.153Ssimonb# File system options 1031.153Ssimonboptions FFS_NO_SNAPSHOT # No FFS snapshot support 1041.123Sbouyer#options QUOTA # legacy UFS quotas 1051.123Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 1061.153Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 1071.153Ssimonb#options UFS_EXTATTR # Extended attribute support for UFS1 1081.125Sdhollandoptions WAPBL # File system journaling support 1091.153Ssimonboptions NFSSERVER # Network File System server 1101.21Sitojun 1111.1Sdbj# Networking options 1121.1Sdbjoptions GATEWAY # packet forwarding 1131.1Sdbjoptions INET # IP + ICMP + TCP + UDP 1141.21Sitojunoptions INET6 # IPV6 1151.21Sitojun#options IPSEC # IP security 1161.21Sitojun#options IPSEC_DEBUG # debug for IP security 1171.1Sdbj#options MROUTING # IP multicast routing 1181.79Smanu#options PIM # Protocol Independent Multicast 1191.1Sdbj#options NETATALK # AppleTalk networking protocols 1201.16Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1211.16Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1221.16Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1231.43Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1241.1Sdbj 1251.77Sabs#options ALTQ # Manipulate network interfaces' output queues 1261.77Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1271.77Sabs#options ALTQ_CBQ # Class-Based Queueing 1281.77Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1291.77Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1301.77Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1311.77Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1321.77Sabs#options ALTQ_LOCALQ # Local queueing discipline 1331.77Sabs#options ALTQ_PRIQ # Priority Queueing 1341.77Sabs#options ALTQ_RED # Random Early Detection 1351.77Sabs#options ALTQ_RIO # RED with IN/OUT 1361.77Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1371.77Sabs 1381.1Sdbj# NeXT specific options 1391.1Sdbjoptions M68040 1401.62Smycroftoptions M68030 1411.1Sdbjoptions FPSP 1421.1Sdbj#options FPU_EMULATE 1431.1Sdbj 1441.27Sdebergoptions ZS_CONSOLE_ABORT # drop to debugger on break 1451.27Sdeberg#options SERCONSOLE # use serial console 1461.1Sdbj 1471.1Sdbjoptions NFS_BOOT_BOOTP 1481.1Sdbjoptions NFS_BOOT_DHCP 1491.3Sdbj 1501.9Sdbj# wscons options 1511.48Slukemoptions RCONS_2BPP # necessary for nextdisplay 1521.48Slukemoptions RCONS_16BPP # necessary for color nextdisplay 1531.10Sdbj#options WSEMUL_SUN # sun terminal emulation 1541.10Sdbjoptions WSEMUL_VT100 # VT100 / VT220 emulation 1551.9Sdbjoptions WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 1561.127Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1571.9Sdbjoptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1581.12Sdbj# see dev/wskbdmap_next.h for implemented layouts 1591.9Sdbj#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 1601.9Sdbj 1611.1Sdbjconfig netbsd root on ? type ? 1621.1Sdbj 1631.8Sdbj# 1641.8Sdbj# Device configuration 1651.8Sdbj# 1661.8Sdbj 1671.8Sdbj# The root node: 1681.8Sdbjmainbus0 at root 1691.8Sdbj 1701.8Sdbj# device space 1711.48Slukemintio0 at mainbus? 1721.9Sdbj 1731.48Slukemnextkbd0 at intio? ipl 3 1741.48Slukemnextdisplay0 at mainbus? 1751.9Sdbj 1761.48Slukemwsdisplay* at nextdisplay? console ? 1771.48Slukemwskbd* at nextkbd? console ? 1781.8Sdbj 1791.8Sdbj# INTIO 1801.61Smycroftnextdma* at intio? ipl 6 1811.61Smycroft 1821.48Slukemzsc0 at intio? ipl 5 1831.8Sdbj 1841.48Slukemxe* at intio? ipl 3 # ethernet 1851.8Sdbj 1861.64Smycroftesp0 at intio? ipl 3 flags 0xffff00 # Turn off sync negotiation 1871.8Sdbj 1881.8Sdbj# 1891.8Sdbj# Serial ports 1901.8Sdbj# 1911.141Stsutsuizstty0 at zsc0 channel 0 # Serial Port A 1921.141Stsutsuizstty1 at zsc0 channel 1 # Serial Port B 1931.8Sdbj 1941.8Sdbj# SCSI bus support 1951.60Smycroftscsibus* at scsi? 1961.8Sdbj 1971.8Sdbj# SCSI devices 1981.64Smycroftsd* at scsibus? target ? lun ? # SCSI disk drives 1991.64Smycroftst* at scsibus? target ? lun ? # SCSI tape drives 2001.64Smycroftcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2011.161Stsutsui#ch* at scsibus? target ? lun ? # SCSI autochangers 2021.154Snatdse* at scsibus? target ? lun ? # SCSI ethernet (Dayna) 2031.64Smycroftse* at scsibus? target ? lun ? # SCSI ethernet 2041.161Stsutsui#ss* at scsibus? target ? lun ? # SCSI scanners 2051.161Stsutsui#uk* at scsibus? target ? lun ? # SCSI unknown 2061.8Sdbj 2071.8Sdbj 2081.1Sdbj# Memory-disk drivers 2091.156Stsutsuipseudo-device md 2101.1Sdbj 2111.113Stls# 2121.113Stls# accept filters 2131.161Stsutsui#pseudo-device accf_data # "dataready" accept filter 2141.161Stsutsui#pseudo-device accf_http # "httpready" accept filter 2151.113Stls 2161.1Sdbj# Misc. 2171.131Schristospseudo-device loop # network loopback 2181.100Srpaulopseudo-device bpfilter # packet filter 2191.161Stsutsui#pseudo-device carp # Common Address Redundancy Protocol 2201.101Scubepseudo-device sl # CSLIP 2211.101Scubepseudo-device ppp # PPP 2221.51Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2231.161Stsutsui#pseudo-device tun # network tunneling over tty 2241.161Stsutsui#pseudo-device tap # virtual Ethernet 2251.101Scube#pseudo-device gre # generic L3 over IP tunnel 2261.161Stsutsui#pseudo-device npf # NPF packet filter 2271.101Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2281.101Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2291.102Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2301.161Stsutsui#pseudo-device vlan # IEEE 802.1q encapsulation 2311.161Stsutsui#pseudo-device bridge # simple inter-network bridging 2321.161Stsutsui#pseudo-device vether # Virtual Ethernet for bridge 2331.161Stsutsui#pseudo-device agr # IEEE 802.3ad link aggregation 2341.46Saugustss#pseudo-device wsmux # mouse & keyboard multiplexor 2351.1Sdbj 2361.34Sjdolecekpseudo-device pty # pseudo-terminals 2371.101Scubepseudo-device vnd # paging to files 2381.90Shubertf#options VND_COMPRESSION # compressed vnd(4) 2391.132Schristos#pseudo-device raid # RAIDframe disk driver 2401.26Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2411.52Soster# Options to enable various other RAIDframe RAID types. 2421.52Soster# options RF_INCLUDE_EVENODD=1 2431.52Soster# options RF_INCLUDE_RAID5_RS=1 2441.52Soster# options RF_INCLUDE_PARITYLOGGING=1 2451.52Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2461.52Soster# options RF_INCLUDE_INTERDECLUSTER=1 2471.52Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2481.52Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2491.161Stsutsui#pseudo-device fss # file system snapshot device 2501.161Stsutsui#pseudo-device ccd # concatenated disks 2511.58Slukempseudo-device clockctl # user control of clock subsystem 2521.71Sraggepseudo-device ksyms # /dev/ksyms 2531.161Stsutsui#pseudo-device putter # for puffs and pud 2541.98Selad 2551.161Stsutsui#include "dev/veriexec.config" 2561.162Sabs 2571.162Sabs# Pull in optional local configuration - always at end 2581.162Sabscinclude "arch/next68k/conf/GENERIC.local" 259