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