1# $NetBSD: GENERIC,v 1.100 2023/02/12 14:50:40 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/mipsco/conf/std.mipsco" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25maxusers 16 26 27options MIPS1 # R2000/R3000 support 28 29# Standard system options 30options KTRACE # system call tracing support 31options SYSVMSG # System V message queues 32options SYSVSEM # System V semaphores 33options SYSVSHM # System V shared memory 34#options NTP # network time protocol 35options HZ=25 36options USERCONF # userconf(4) support 37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 40# Alternate buffer queue strategies for better responsiveness under high 41# disk I/O load. 42#options BUFQ_READPRIO 43options BUFQ_PRIOCSCAN 44 45# Debugging options 46options DDB # kernel dynamic debugger 47options DDB_HISTORY_SIZE=100 # enable history editing in DDB 48#options DEBUG # extra kernel debugging support 49#options DIAGNOSTIC # extra kernel sanity checking 50options SCSIVERBOSE # Verbose SCSI errors 51 52#options KGDB # Remote kernel debug using gdb 53#options KGDB_DEV=0x0100 # KGDB port (this is serial0) 54#options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200) 55#makeoptions DEBUG="-g" # Build kernel with debug symbols 56 57# Compatibility options 58include "conf/compat_netbsd13.config" 59 60#options EXEC_AOUT # exec a.out binaries 61#options EXEC_ECOFF # exec ecoff binaries 62 63# File systems 64file-system FFS # Berkeley Fast Filesystem 65file-system NFS # Sun NFS-compatible filesystem client 66file-system KERNFS # kernel data-structure filesystem 67#file-system NULLFS # NULL layered filesystem 68#file-system MFS # memory-based filesystem 69#file-system FDESC # user file descriptor filesystem 70#file-system UMAPFS # uid/gid remapping filesystem 71#file-system LFS # Log-based filesystem (still experimental) 72file-system PROCFS # /proc 73file-system CD9660 # ISO 9660 + Rock Ridge file system 74#file-system UNION # union file system 75#file-system MSDOSFS # MS-DOS FAT filesystem(s). 76file-system PTYFS # /dev/pts/N support 77file-system TMPFS # Efficient memory file-system 78#file-system UDF # experimental - OSTA UDF CD/DVD file-system 79# 80# File system options 81#options FFS_EI # FFS Endian Independent support 82#options FFS_NO_SNAPSHOT # No FFS snapshot support 83options QUOTA # legacy UFS quotas 84options QUOTA2 # new, in-filesystem UFS quotas 85#options UFS_DIRHASH # UFS Large Directory Hashing 86options UFS_EXTATTR # Extended attribute support for UFS1 87options NFSSERVER # Network File System server 88 89# Networking options 90options INET # Internet protocols 91#options GATEWAY # IP packet forwarding 92#options MROUTING # packet forwarding of multicast packets 93#options PIM # Protocol Independent Multicast 94#options NETATALK # AppleTalk (over Ethernet) protocol 95#options PPP_BSDCOMP # BSD-Compress compression support for PPP 96#options PPP_DEFLATE # Deflate compression support for PPP 97#options PPP_FILTER # Active filter support for PPP (requires bpf) 98#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 99 100#options ALTQ # Manipulate network interfaces' output queues 101#options ALTQ_BLUE # Stochastic Fair Blue 102#options ALTQ_CBQ # Class-Based Queueing 103#options ALTQ_CDNR # Diffserv Traffic Conditioner 104#options ALTQ_FIFOQ # First-In First-Out Queue 105#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 106#options ALTQ_HFSC # Hierarchical Fair Service Curve 107#options ALTQ_LOCALQ # Local queueing discipline 108#options ALTQ_PRIQ # Priority Queueing 109#options ALTQ_RED # Random Early Detection 110#options ALTQ_RIO # RED with IN/OUT 111#options ALTQ_WFQ # Weighted Fair Queueing 112 113config netbsd root on ? type ? 114 115mainbus0 at root 116 117cpu0 at mainbus0 118obio0 at mainbus0 119 120mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock 121 122rambo0 at obio0 addr 0xbc000000 # RAMBO DMA & timer asic 123 124le0 at obio0 addr 0xba000000 # onboard LANCE ethernet 125 126# Not currently implemented 127#kb0 at obio0 addr 0xbfd00000 # keyboard 128#fb0 at obio0 addr 0x88000000 # framebuffer 129 130fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller 131 132zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC 133zstty0 at zsc0 channel 0 # tty00 134zstty1 at zsc0 channel 1 # tty01 135 136asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller 137 138scsibus0 at asc0 139 140sd* at scsibus? target ? lun ? # SCSI disks 141st* at scsibus? target ? lun ? # SCSI tapes 142cd* at scsibus? target ? lun ? # SCSI CD-ROMs 143ch* at scsibus? target ? lun ? # SCSI changer devices 144 145# 146# accept filters 147pseudo-device accf_data # "dataready" accept filter 148pseudo-device accf_http # "httpready" accept filter 149 150pseudo-device loop # loopback interface; required 151pseudo-device pty # pseudo-terminals 152#pseudo-device sl # SLIP interfaces 153#pseudo-device ppp # PPP interfaces 154#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 155pseudo-device tun # Network "tunnel" device 156pseudo-device tap # virtual Ethernet 157#pseudo-device gre # generic L3 over IP tunnel 158pseudo-device bpfilter # Berkeley Packet Filter 159pseudo-device carp # Common Address Redundancy Protocol 160#pseudo-device vnd # disk-like interface to files 161#options VND_COMPRESSION # compressed vnd(4) 162#pseudo-device ccd # concatenated and striped disks 163#pseudo-device cgd # cryptographic disks 164#pseudo-device raid # RAIDframe disk driver 165# Options to enable various other RAIDframe RAID types. 166# options RF_INCLUDE_EVENODD=1 167# options RF_INCLUDE_RAID5_RS=1 168# options RF_INCLUDE_PARITYLOGGING=1 169# options RF_INCLUDE_CHAINDECLUSTER=1 170# options RF_INCLUDE_INTERDECLUSTER=1 171# options RF_INCLUDE_PARITY_DECLUSTERING=1 172# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 173pseudo-device fss # file system snapshot device 174#pseudo-device npf # NPF packet filter 175pseudo-device vlan # IEEE 802.1q encapsulation 176pseudo-device bridge # simple inter-network bridging 177pseudo-device vether # Virtual Ethernet for bridge 178pseudo-device agr # IEEE 802.3ad link aggregation 179pseudo-device clockctl # user control of clock subsystem 180pseudo-device swwdog # software watchdog timer -- swwdog(4) 181 182# random number generator pseudo-device 183#options RND_COM # use "com" randomness as well (BROKEN) 184pseudo-device ksyms # /dev/ksyms 185 186include "dev/veriexec.config" 187 188# Pull in optional local configuration - always at end 189cinclude "arch/mipsco/conf/GENERIC.local" 190