1 # $NetBSD: GENERIC,v 1.27 2023/02/12 14:50:39 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 21 include "arch/emips/conf/std.emips" 22 23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25 #ident "GENERIC-$Revision: 1.27 $" 26 27 maxusers 64 28 29 options MIPS1 # R2000/R3000 CPUs 30 options NOFPU # No FPU 31 options SOFTFLOAT # emulate FPU insn 32 33 # Support eMIPS-based systems 34 options XILINX_ML40X # Xilinx Ml401/2 dev boards 35 options XS_BEE3 # MSR/BeCube BEE3 system 36 37 # Standard system options 38 options DDB # in-kernel debugger 39 options DDB_HISTORY_SIZE=100 # enable history editing in DDB 40 options DDB_ONPANIC=1 # enter debugger on panic 41 #options DIAGNOSTIC # extra kernel debugging checks 42 #options DEBUG # extra kernel debugging support 43 options KTRACE # system call tracing support 44 #options SYSTRACE # system call vetting via systrace(1) 45 46 options SYSVMSG # System V-like message queues 47 options SYSVSEM # System V-like semaphores 48 #options SEMMNI=10 # number of semaphore identifiers 49 #options SEMMNS=60 # number of semaphores in system 50 #options SEMUME=10 # max number of undo entries per process 51 #options SEMMNU=30 # number of undo structures in system 52 options SYSVSHM # System V-like memory sharing 53 #options SHMMAXPGS=1024 # 1024 pages is the default 54 55 options USERCONF # userconf(4) support 56 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 57 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 58 59 # Alternate buffer queue strategies for better responsiveness under high 60 # disk I/O load. 61 #options BUFQ_READPRIO 62 #options BUFQ_PRIOCSCAN 63 64 # Old 4.4BSD/emips kgdb options 65 #options KGDB # support for kernel gdb 66 #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 67 #options KGDB_DEV="15*256+0" # device for kernel gdb 68 69 options NTP # network time protocol 70 71 72 # File systems 73 file-system FFS # fast filesystem with user and group quotas 74 file-system MFS # memory-based filesystem 75 file-system NFS # Sun NFS-compatible filesystem (client) 76 file-system LFS # Log-based filesystem (still experimental) 77 file-system CD9660 # ISO 9660 + Rock Ridge file system 78 file-system MSDOSFS # MS-DOS file system 79 file-system FDESC # /dev/fd 80 file-system KERNFS # /kern (kernel informational filesystem) 81 file-system NULLFS # loopback file system 82 file-system OVERLAY # overlay file system 83 file-system PROCFS # /proc 84 file-system UMAPFS # NULLFS + uid and gid remapping 85 file-system UNION 86 file-system PTYFS # /dev/pts/N support 87 file-system TMPFS # Efficient memory file-system 88 file-system UDF # experimental - OSTA UDF CD/DVD file-system 89 90 # File system options 91 options FFS_EI # FFS Endian Independent support 92 #options FFS_NO_SNAPSHOT # No FFS snapshot support 93 options QUOTA # legacy UFS quotas 94 options QUOTA2 # new, in-filesystem UFS quotas 95 #options UFS_DIRHASH # UFS Large Directory Hashing 96 options UFS_EXTATTR # Extended attribute support for UFS1 97 #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 98 #options DISKLABEL_EI # disklabel Endian Independent support 99 options NFSSERVER # Network File System server 100 101 # Networking options 102 options INET # Internet protocols 103 options INET6 # IPV6 104 #options IPSEC # IP security 105 #options IPSEC_DEBUG # debug for IP security 106 #options GATEWAY # IP packet forwarding 107 #options MROUTING # Multicast routing support 108 #options PIM # Protocol Independent Multicast 109 #options NETATALK # AppleTalk networking protocols 110 options PPP_BSDCOMP # BSD-Compress compression support for PPP 111 options PPP_DEFLATE # Deflate compression support for PPP 112 options PPP_FILTER # Active filter support for PPP (requires bpf) 113 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 114 115 #options ALTQ # Manipulate network interfaces' output queues 116 #options ALTQ_BLUE # Stochastic Fair Blue 117 #options ALTQ_CBQ # Class-Based Queueing 118 #options ALTQ_CDNR # Diffserv Traffic Conditioner 119 #options ALTQ_FIFOQ # First-In First-Out Queue 120 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 121 #options ALTQ_HFSC # Hierarchical Fair Service Curve 122 #options ALTQ_LOCALQ # Local queueing discipline 123 #options ALTQ_PRIQ # Priority Queueing 124 #options ALTQ_RED # Random Early Detection 125 #options ALTQ_RIO # RED with IN/OUT 126 #options ALTQ_WFQ # Weighted Fair Queueing 127 128 # NetBSD backwards compatibility 129 include "conf/compat_netbsd12.config" 130 options COMPAT_386BSD_MBRPART # recognize old partition ID 131 132 # Workstation console options 133 #options FONT_BOLD8x16 134 #options FONT_GALLANT12x22 135 136 #options WSEMUL_VT100 137 #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 138 #options WS_KERNEL_FG=WSCOL_GREEN 139 #options WS_KERNEL_BG=WSCOL_BLACK 140 141 # Disable kernel security levels. Needed for X with a PX or PXG. 142 #options INSECURE 143 144 # emips specific 145 options HZ=16 # RTC rate required, uses timecounter 146 147 options NFS_BOOT_DHCP # superset of BOOTP 148 options NFS_BOOT_RWSIZE=1024 149 150 config netbsd root on ? type ? 151 config nfsnetbsd root on ? type nfs 152 mainbus0 at root 153 cpu* at mainbus0 154 155 ## Peripheral Bus Support (for devices to attach to) 156 ## ---------------------------------------------------------------------------- 157 158 # eMIPS systems 159 ebus0 at mainbus0 160 eclock* at ebus0 addr ? # clock 161 dz* at ebus0 addr ? # usart 162 enic* at ebus0 addr ? # ethernet 163 ace* at ebus0 addr ? # disk 164 eflash* at ebus0 addr ? # flash memory 165 icap* at ebus0 addr ? # ICAP interface 166 evga* at ebus0 addr ? # eVGA graphics 167 pstwo* at ebus0 addr ? # PS2 mouse and kbd 168 acns* at ebus0 addr ? # AC97 audio 169 epio* at ebus0 addr ? # GPIO interface 170 gpio* at epio? 171 lcd* at ebus0 addr ? # lcd display 172 173 ######################################################################### 174 # Pseudo-devices # 175 ######################################################################### 176 177 pseudo-device loop # network loopback 178 pseudo-device sl # serial-line IP ports 179 pseudo-device ppp # serial-line IP ports 180 pseudo-device pppoe # PPP over Ethernet (RFC 2516) 181 pseudo-device pty # pseudo-terminals 182 pseudo-device bpfilter # packet filter ports 183 #pseudo-device carp # Common Address Redundancy Protocol 184 pseudo-device npf # NPF packet filter 185 #pseudo-device gre # generic L3 over IP tunnel 186 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 187 #pseudo-device faith # IPv[46] tcp relay translation i/f 188 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 189 pseudo-device vlan # IEEE 802.1q encapsulation 190 pseudo-device bridge # simple inter-network bridging 191 #pseudo-device vether # Virtual Ethernet for bridge 192 pseudo-device agr # IEEE 802.3ad link aggregation 193 194 pseudo-device vnd # virtual disk ick 195 #options VND_COMPRESSION # compressed vnd(4) 196 pseudo-device ccd # concatenated disks 197 #pseudo-device cgd # cryptographic disk devices 198 #pseudo-device raid # RAIDframe disk driver 199 #options RAID_AUTOCONFIG # auto-configuration of RAID components 200 # Options to enable various other RAIDframe RAID types. 201 #options RF_INCLUDE_EVENODD=1 202 #options RF_INCLUDE_RAID5_RS=1 203 #options RF_INCLUDE_PARITYLOGGING=1 204 #options RF_INCLUDE_CHAINDECLUSTER=1 205 #options RF_INCLUDE_INTERDECLUSTER=1 206 #options RF_INCLUDE_PARITY_DECLUSTERING=1 207 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 208 pseudo-device fss # file system snapshot device 209 210 pseudo-device clockctl # user control of clock subsystem 211 pseudo-device ksyms # /dev/ksyms 212 pseudo-device swwdog # software watchdog timer -- swwdog(4) 213 214 # Pull in optional local configuration - always at end 215 cinclude "arch/emips/conf/GENERIC.local" 216