1 # $NetBSD: GENERIC,v 1.68 2024/01/29 18:27:12 christos Exp $ 2 # 3 # GENERIC machine description file 4 # This machine description file is used to generate the default NetBSD 5 # kernel. The generic kernel does not include all options, subsystems 6 # and device drivers, but should be useful for most applications. 7 # 8 # The machine description file can be customised for your specific 9 # machine to reduce the kernel size and improve its performance. 10 # 11 # For further information on compiling NetBSD kernels, see the config(8) 12 # man page. 13 # 14 # For further information on hardware support for this architecture, see 15 # the intro(4) man page. For further information about kernel options 16 # for this architecture, see the options(4) man page. For an explanation 17 # of each device driver in this file see the section 4 man page for the 18 # device. 19 20 # 21 # kernel config file for EWS4800/350, 360AD, 360ADII 22 # 23 24 include "arch/ews4800mips/conf/std.ews4800mips" 25 26 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 27 28 #ident "GENERIC-$Revision: 1.68 $" 29 30 maxusers 16 31 32 #options MIPS1 # R2000/R3000 33 options MIPS3 # R4000/R4400 34 35 makeoptions CPUFLAGS="-march=r4400 -mabi=32" # optimize for R4400 36 37 # MIPS3 on-chip timer interrupt is not used on EWS4800, 38 # but the external timer interrupt line is connected to CPU INT5. 39 options MIPS3_ENABLE_CLOCK_INTR 40 41 # Support for specific models 42 options EWS4800_TR2 # 350 43 options EWS4800_TR2A # 360,360AD,360ADII,360SX,360EX 44 45 # Standard system options 46 options NTP # NTP phase/frequency locked loop 47 48 options KTRACE # system call tracing ktrace(1) 49 50 options SYSVMSG # System V-like message queues 51 options SYSVSEM # System V-like semaphores 52 options SEMMNI=10 # number of semaphore identifiers 53 options SYSVSHM # System V shared memory 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 # Diagnostic/debugging support options 65 #options DIAGNOSTIC # expensive kernel consistency checks 66 #options DEBUG # extra kernel debugging support 67 options DDB # in-kernel debugger 68 #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 69 #options DDB_HISTORY_SIZE=512 # enable history editing in DDB 70 #makeoptions DEBUG="-g" # compile full symbol table 71 72 # Compatibility options 73 include "conf/compat_netbsd13.config" 74 #options COMPAT_LINUX # binary compatibility with Linux 75 #options COMPAT_OSSAUDIO # binary compatibility with Linux 76 77 # File systems 78 file-system FFS # fast filesystem with user and group quotas 79 file-system EXT2FS # second extended file system (linux) 80 file-system LFS # log-structured file system 81 file-system MFS # memory file system 82 file-system NFS # Network File System client 83 #file-system NTFS # Windows/NT file system (experimental) 84 file-system CD9660 # ISO 9660 + Rock Ridge file system 85 file-system MSDOSFS # MS-DOS file system 86 file-system FDESC # /dev/fd 87 file-system KERNFS # /kern 88 file-system NULLFS # loopback file system 89 file-system OVERLAY # overlay file system 90 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 91 file-system PROCFS # /proc 92 file-system UMAPFS # NULLFS + uid and gid remapping 93 file-system UNION # union file system 94 #file-system CODA # Coda file system; also needs vcoda (below) 95 file-system SYSVBFS # System V boot filesystem. 96 file-system PTYFS # /dev/pts/N support 97 file-system TMPFS # Efficient memory file-system 98 #file-system UDF # experimental - OSTA UDF CD/DVD file-system 99 100 # File system options 101 #options FFS_EI # FFS Endian Independent support 102 #options FFS_NO_SNAPSHOT # No FFS snapshot support 103 options QUOTA # legacy UFS quotas 104 options QUOTA2 # new, in-filesystem UFS quotas 105 #options UFS_DIRHASH # UFS Large Directory Hashing 106 options UFS_EXTATTR # Extended attribute support for UFS1 107 options WAPBL # File system journaling support 108 #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 109 options NFSSERVER # Network File System server 110 111 # Networking options 112 #options GATEWAY # packet forwarding 113 options INET # IP + ICMP + TCP + UDP 114 options INET6 # IPV6 115 #options IPSEC # IP security 116 #options IPSEC_DEBUG # debug for IP security 117 #options MROUTING # IP multicast routing 118 #options PIM # Protocol Independent Multicast 119 options NETATALK # AppleTalk networking protocols 120 options PPP_BSDCOMP # BSD-Compress compression support for PPP 121 options PPP_DEFLATE # Deflate compression support for PPP 122 options PPP_FILTER # Active filter support for PPP (requires bpf) 123 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 124 125 #options ALTQ # Manipulate network interfaces' output queues 126 #options ALTQ_BLUE # Stochastic Fair Blue 127 #options ALTQ_CBQ # Class-Based Queueing 128 #options ALTQ_CDNR # Diffserv Traffic Conditioner 129 #options ALTQ_FIFOQ # First-In First-Out Queue 130 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 131 #options ALTQ_HFSC # Hierarchical Fair Service Curve 132 #options ALTQ_LOCALQ # Local queueing discipline 133 #options ALTQ_PRIQ # Priority Queueing 134 #options ALTQ_RED # Random Early Detection 135 #options ALTQ_RIO # RED with IN/OUT 136 #options ALTQ_WFQ # Weighted Fair Queueing 137 138 # JIT compiler for bpfilter 139 #options SLJIT 140 #options BPFJIT 141 142 # These options enable verbose messages for several subsystems. 143 # Warning, these may compile large string tables into the kernel! 144 options SCSIVERBOSE # human readable SCSI error messages 145 146 options NFS_BOOT_DHCP 147 148 149 # workstation console options 150 options WSEMUL_VT100 # VT100 / VT220 emulation 151 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 152 options WS_KERNEL_FG=WSCOL_GREEN 153 options WS_KERNEL_BG=WSCOL_BLACK 154 155 options FONT_GALLANT12x22 156 #options FONT_SONY12x24 157 158 config netbsd root on ? type ? 159 160 # 161 # Device configuration 162 # 163 164 mainbus0 at root 165 166 cpu0 at mainbus? 167 168 sbdio0 at mainbus? 169 170 mkclock0 at sbdio? 171 172 zsc0 at sbdio? 173 zstty0 at zsc? channel 0 # SIO ch-A 174 zstty1 at zsc? channel 1 # SIO ch-B 175 176 #kbms* at sbdio? 177 #wskbd0 at kbms? console ? 178 #wsmouse0 at kbms? 179 180 zsc1 at sbdio? 181 ewskbd0 at zsc? 182 wskbd* at ewskbd? 183 ewsms0 at zsc? 184 wsmouse* at ewsms? 185 186 fb* at sbdio? 187 wsdisplay* at fb? console ? 188 189 # Disk 190 osiop* at sbdio? flags 0x0000 191 scsibus* at scsi? 192 193 sd* at scsibus? target ? lun ? # SCSI disk drives 194 st* at scsibus? target ? lun ? # SCSI tape drives 195 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 196 ch* at scsibus? target ? lun ? # SCSI autochangers 197 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 198 ss* at scsibus? target ? lun ? # SCSI scanners 199 uk* at scsibus? target ? lun ? # SCSI unknown 200 201 # Ether 202 iee* at sbdio? # TR2 203 le* at sbdio? # TR2A 204 205 206 # Pseudo-Devices 207 208 # disk/mass strage pseudo-devices 209 pseudo-device ccd # concatenated/striped disk devices 210 #pseudo-device cgd # cryptographic disk devices 211 pseudo-device raid # RAIDframe disk driver 212 options RAID_AUTOCONFIG # auto-configuration of RAID components 213 # Options to enable various other RAIDframe RAID types. 214 #options RF_INCLUDE_EVENODD=1 215 #options RF_INCLUDE_RAID5_RS=1 216 #options RF_INCLUDE_PARITYLOGGING=1 217 #options RF_INCLUDE_CHAINDECLUSTER=1 218 #options RF_INCLUDE_INTERDECLUSTER=1 219 #options RF_INCLUDE_PARITY_DECLUSTERING=1 220 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 221 pseudo-device fss # file system snapshot device 222 pseudo-device putter # for puffs and pud 223 224 pseudo-device md # memory disk device (ramdisk) 225 pseudo-device vnd # virtual disk ick 226 options VND_COMPRESSION # compressed vnd(4) 227 228 # network pseudo-devices 229 pseudo-device bpfilter # packet filter ports 230 pseudo-device carp # Common Address Redundancy Protocol 231 pseudo-device npf # NPF packet filter 232 pseudo-device loop # network loopback 233 pseudo-device ppp # Point-to-Point Protocol 234 pseudo-device pppoe # PPP over Ethernet (RFC 2516) 235 pseudo-device sl # Serial Line IP 236 #pseudo-device irframetty # IrDA frame line discipline 237 pseudo-device tap # virtual Ethernet 238 pseudo-device tun # network tunneling over tty 239 pseudo-device gre # generic L3 over IP tunnel 240 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 241 #pseudo-device faith # IPv[46] tcp relay translation i/f 242 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 243 pseudo-device vlan # IEEE 802.1q encapsulation 244 pseudo-device bridge # simple inter-network bridging 245 pseudo-device vether # Virtual Ethernet for bridge 246 pseudo-device agr # IEEE 802.3ad link aggregation 247 248 # 249 # accept filters 250 pseudo-device accf_data # "dataready" accept filter 251 pseudo-device accf_http # "httpready" accept filter 252 253 # miscellaneous pseudo-devices 254 pseudo-device pty # pseudo-terminals 255 #pseudo-device tb 1 # tablet line discipline 256 pseudo-device clockctl # user control of clock subsystem 257 pseudo-device ksyms # /dev/ksyms 258 pseudo-device swwdog # software watchdog timer -- swwdog(4) 259 260 # a pseudo device needed for Coda # also needs CODA (above) 261 #pseudo-device vcoda # coda minicache <-> venus comm. 262 263 # wscons pseudo-devices 264 pseudo-device wsmux 265 266 include "dev/veriexec.config" 267 268 # Pull in optional local configuration - always at end 269 cinclude "arch/ews4800mips/conf/GENERIC.local" 270