GENERIC revision 1.197 1 1.197 maxv # $NetBSD: GENERIC,v 1.197 2018/08/01 20:04:13 maxv Exp $
2 1.1 jonathan #
3 1.93 gmcgarry # GENERIC machine description file
4 1.93 gmcgarry #
5 1.93 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.93 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.93 gmcgarry # and device drivers, but should be useful for most applications.
8 1.39 nisimura #
9 1.93 gmcgarry # The machine description file can be customised for your specific
10 1.93 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.1 jonathan #
12 1.93 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.93 gmcgarry # man page.
14 1.93 gmcgarry #
15 1.93 gmcgarry # For further information on hardware support for this architecture, see
16 1.93 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.93 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.93 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.93 gmcgarry # device.
20 1.93 gmcgarry
21 1.194 mrg include "arch/pmax/conf/std.pmax"
22 1.64 hubertf
23 1.99 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.99 atatat
25 1.197 maxv #ident "GENERIC-$Revision: 1.197 $"
26 1.1 jonathan
27 1.5 jonathan maxusers 64
28 1.1 jonathan
29 1.39 nisimura options MIPS1 # R2000/R3000 CPUs
30 1.39 nisimura options MIPS3 # R4000/R4400 CPUs
31 1.6 jonathan
32 1.1 jonathan
33 1.5 jonathan # Support for specific models of DECstation
34 1.39 nisimura options DEC_3100 # DECstation 2100, 3100 (kn01)
35 1.39 nisimura options DEC_5100 # DECsystem 5100 (kn230)
36 1.39 nisimura options DEC_3MAX # DECstation 5000/200 (kn02)
37 1.39 nisimura options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
38 1.39 nisimura options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
39 1.39 nisimura options DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05)
40 1.24 jonathan
41 1.60 simonb #options DEC_5400 # DECsystem 5400 (kn210)
42 1.60 simonb #options DEC_5500 # DECsystem 5500 (kn220)
43 1.60 simonb #options DEC_5800 # DECsystem 58x0 (kn5800)
44 1.1 jonathan
45 1.167 matt makeoptions DEBUG="-g"
46 1.1 jonathan # Standard system options
47 1.16 jonathan options DDB # in-kernel debugger
48 1.166 chs options DDB_HISTORY_SIZE=512 # enable history editing in DDB
49 1.16 jonathan options DDB_ONPANIC=0 # don't enter debugger on panic
50 1.195 flxd #options DIAGNOSTIC # extra kernel debugging checks
51 1.195 flxd #options DEBUG # extra kernel debugging support
52 1.195 flxd #options LOCKDEBUG
53 1.192 christos #options VMFAULT_TRACE
54 1.192 christos #options PMAP_FAULTINFO
55 1.15 jonathan options KTRACE # system call tracing support
56 1.43 jonathan
57 1.43 jonathan options SYSVMSG # System V-like message queues
58 1.43 jonathan options SYSVSEM # System V-like semaphores
59 1.43 jonathan options SYSVSHM # System V-like memory sharing
60 1.96 jdolecek
61 1.102 lukem options USERCONF # userconf(4) support
62 1.114 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
63 1.120 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
64 1.107 junyoung
65 1.196 sevan # Alternate buffer queue strategies for better responsiveness under high
66 1.196 sevan # disk I/O load.
67 1.128 tsutsui #options BUFQ_READPRIO
68 1.128 tsutsui #options BUFQ_PRIOCSCAN
69 1.17 mjacob
70 1.18 mjacob #options SCSIVERBOSE # Verbose SCSI errors
71 1.80 tsutsui #options TCVERBOSE # recognize "unknown" TC devices
72 1.12 jonathan
73 1.62 ad # Old 4.4BSD/pmax kgdb options
74 1.15 jonathan #options KGDB # support for kernel gdb
75 1.91 lukem #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
76 1.91 lukem #options KGDB_DEV="15*256+0" # device for kernel gdb
77 1.1 jonathan
78 1.15 jonathan options NTP # network time protocol
79 1.5 jonathan
80 1.5 jonathan
81 1.1 jonathan # Filesystem options
82 1.83 nisimura file-system FFS # fast filesystem with user and group quotas
83 1.83 nisimura file-system MFS # memory-based filesystem
84 1.83 nisimura file-system NFS # Sun NFS-compatible filesystem (client)
85 1.12 jonathan file-system LFS # Log-based filesystem (still experimental)
86 1.83 nisimura file-system CD9660 # ISO 9660 + Rock Ridge file system
87 1.83 nisimura file-system FDESC # /dev/fd
88 1.83 nisimura file-system KERNFS # /kern (kernel informational filesystem)
89 1.83 nisimura file-system NULLFS # loopback file system
90 1.83 nisimura file-system OVERLAY # overlay file system
91 1.162 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
92 1.83 nisimura file-system PROCFS # /proc
93 1.83 nisimura file-system UMAPFS # NULLFS + uid and gid remapping
94 1.83 nisimura file-system UNION
95 1.135 christos file-system PTYFS # /dev/pts/N support
96 1.164 chs file-system TMPFS # Efficient memory file-system
97 1.141 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
98 1.10 thorpej
99 1.15 jonathan options NFSSERVER # Sun NFS-compatible filesystem (server)
100 1.168 bouyer options QUOTA # legacy UFS quotas
101 1.168 bouyer options QUOTA2 # new, in-filesystem UFS quotas
102 1.169 wiz #options FFS_EI # FFS Endian Independent support
103 1.171 dholland options WAPBL # File system journaling support
104 1.138 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
105 1.184 manu options UFS_EXTATTR # Extended attribute support for UFS1
106 1.137 tsutsui #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
107 1.50 itojun
108 1.1 jonathan # Networking options
109 1.15 jonathan options INET # Internet protocols
110 1.50 itojun options INET6 # IPV6
111 1.50 itojun #options IPSEC # IP security
112 1.50 itojun #options IPSEC_DEBUG # debug for IP security
113 1.15 jonathan options GATEWAY # IP packet forwarding
114 1.12 jonathan #options MROUTING # Multicast routing support
115 1.121 manu #options PIM # Protocol Independent Multicast
116 1.38 simonb options NETATALK # AppleTalk networking protocols
117 1.46 christos options PPP_BSDCOMP # BSD-Compress compression support for PPP
118 1.46 christos options PPP_DEFLATE # Deflate compression support for PPP
119 1.46 christos options PPP_FILTER # Active filter support for PPP (requires bpf)
120 1.88 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
121 1.1 jonathan
122 1.118 abs #options ALTQ # Manipulate network interfaces' output queues
123 1.118 abs #options ALTQ_BLUE # Stochastic Fair Blue
124 1.118 abs #options ALTQ_CBQ # Class-Based Queueing
125 1.118 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
126 1.118 abs #options ALTQ_FIFOQ # First-In First-Out Queue
127 1.118 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
128 1.118 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
129 1.118 abs #options ALTQ_LOCALQ # Local queueing discipline
130 1.118 abs #options ALTQ_PRIQ # Priority Queueing
131 1.118 abs #options ALTQ_RED # Random Early Detection
132 1.118 abs #options ALTQ_RIO # RED with IN/OUT
133 1.118 abs #options ALTQ_WFQ # Weighted Fair Queueing
134 1.118 abs
135 1.181 alnsn # JIT compiler for bpfilter
136 1.181 alnsn #options SLJIT
137 1.181 alnsn #options BPFJIT
138 1.181 alnsn
139 1.5 jonathan # NetBSD backwards compatibility
140 1.194 mrg include "conf/compat_netbsd12.config"
141 1.1 jonathan
142 1.146 ad # Workstation console options
143 1.146 ad options FONT_BOLD8x16
144 1.101 ad options FONT_GALLANT12x22
145 1.5 jonathan
146 1.146 ad options WSEMUL_VT100
147 1.173 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
148 1.146 ad options WS_KERNEL_FG=WSCOL_GREEN
149 1.146 ad options WS_KERNEL_BG=WSCOL_BLACK
150 1.146 ad
151 1.146 ad # Disable kernel security levels. Needed for X with a PX or PXG.
152 1.146 ad #options INSECURE
153 1.146 ad
154 1.1 jonathan # pmax specific
155 1.39 nisimura options COMPAT_ULTRIX # Ultrix compatibility
156 1.89 simonb #options EXEC_AOUT # Old NetBSD/pmax a.out compatibility
157 1.15 jonathan options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
158 1.92 lukem options HZ=256 # RTC rate required
159 1.22 drochner
160 1.41 simonb options NFS_BOOT_DHCP # superset of BOOTP
161 1.1 jonathan
162 1.16 jonathan config netbsd root on ? type ?
163 1.42 simonb #config nfsnetbsd root on ? type nfs
164 1.1 jonathan
165 1.30 mhitch
166 1.30 mhitch mainbus0 at root
167 1.30 mhitch cpu* at mainbus0
168 1.1 jonathan
169 1.48 nisimura ## Peripheral Bus Support (for devices to attach to)
170 1.48 nisimura ## ----------------------------------------------------------------------------
171 1.1 jonathan
172 1.48 nisimura # TURBOchannel bus support
173 1.48 nisimura tc* at mainbus0
174 1.26 jonathan
175 1.48 nisimura # 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
176 1.48 nisimura ioasic0 at tc?
177 1.55 simonb mcclock* at ioasic? offset ? # DS1287 RTC
178 1.55 simonb le* at ioasic? offset ? # LANCE
179 1.146 ad dt* at ioasic? offset ? # MAXINE kbd and mouse
180 1.75 gmcgarry bba* at ioasic? offset ? # MAXINE baseboard audio
181 1.48 nisimura #fdc at ioasic? offset ? # MAXINE floppy disk (not supported)
182 1.146 ad zsc0 at ioasic? offset 0x100000 # Z85C30
183 1.146 ad zsc1 at ioasic? offset 0x180000 # Z85C30
184 1.55 simonb asc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC
185 1.48 nisimura
186 1.146 ad zstty* at zsc? channel ? # serial ports on B/A channels
187 1.146 ad lkkbd* at zsc1 channel ? # keyboard port on A channels
188 1.146 ad vsms* at zsc0 channel ? # mouse port on A channels
189 1.146 ad
190 1.146 ad audio* at bba?
191 1.146 ad
192 1.190 christos spkr* at audio? # PC speaker (synthesized)
193 1.188 nat
194 1.146 ad dtkbd* at dt? addr ?
195 1.146 ad dtms* at dt? addr ?
196 1.146 ad
197 1.48 nisimura # 3MAX has TURBOchannel but no IOASIC
198 1.52 thorpej ibus0 at tc? slot ? offset ? # 3MAX system slot
199 1.55 simonb
200 1.55 simonb # PMAX, 3MAX and MIPSMATE common devices
201 1.55 simonb mcclock* at ibus0 addr ? # DS1287 RTC
202 1.146 ad dz* at ibus0 addr ? # DC7085 quad line serial device
203 1.146 ad
204 1.146 ad lkkbd* at dz? line 0 # Keyboard
205 1.146 ad vsms* at dz? line 1 # Mouse
206 1.48 nisimura
207 1.48 nisimura # TURBOchannel devices
208 1.52 thorpej mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
209 1.52 thorpej cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
210 1.146 ad tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
211 1.52 thorpej sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
212 1.146 ad px* at tc? slot ? offset ? # PMAG-C 2D accelerator
213 1.146 ad pxg* at tc? slot ? offset ? # PMAG-D,E,F 3D accelerator
214 1.52 thorpej #sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
215 1.55 simonb xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
216 1.52 thorpej asc* at tc? slot ? offset ? # PMAZ-A single channel SCSI
217 1.52 thorpej le* at tc? slot ? offset ? # PMAD-A LANCE
218 1.52 thorpej fta* at tc? slot ? offset ? # PMAF-F FDDI
219 1.89 simonb tcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI
220 1.89 simonb asc* at tcds? chip ?
221 1.48 nisimura
222 1.48 nisimura # PMAX and MIPSMATE
223 1.48 nisimura ibus0 at mainbus0
224 1.55 simonb pm* at ibus0 addr ? # 3100 onboard fb
225 1.55 simonb le* at ibus0 addr ? # 3100, 5100 onboard LANCE
226 1.55 simonb sii* at ibus0 addr ? # DC7061 onboard SCSI
227 1.1 jonathan
228 1.146 ad # Workstation console
229 1.146 ad
230 1.146 ad wskbd* at lkkbd? console ?
231 1.146 ad wskbd* at dtkbd? console ?
232 1.146 ad wsmouse* at vsms?
233 1.146 ad wsmouse* at dtms?
234 1.146 ad
235 1.146 ad wsdisplay* at mfb?
236 1.146 ad wsdisplay* at cfb?
237 1.146 ad wsdisplay* at px?
238 1.146 ad wsdisplay* at pxg?
239 1.146 ad wsdisplay* at sfb?
240 1.146 ad #wsdisplay* at sfbp?
241 1.146 ad wsdisplay* at tfb?
242 1.146 ad wsdisplay* at xcfb?
243 1.146 ad wsdisplay* at pm?
244 1.146 ad
245 1.146 ad
246 1.34 simonb #########################################################################
247 1.34 simonb # SCSI configuration #
248 1.34 simonb #########################################################################
249 1.1 jonathan
250 1.89 simonb scsibus* at sii?
251 1.89 simonb scsibus* at asc?
252 1.89 simonb
253 1.89 simonb sd* at scsibus? target ? lun ? # SCSI disks
254 1.89 simonb st* at scsibus? target ? lun ? # SCSI tapes
255 1.92 lukem cd* at scsibus? target ? lun ? # SCSI CD-ROMs
256 1.89 simonb ch* at scsibus? target ? lun ? # SCSI changer devices
257 1.89 simonb ss* at scsibus? target ? lun ? # SCSI scanners
258 1.89 simonb uk* at scsibus? target ? lun ? # unknown SCSI
259 1.1 jonathan
260 1.34 simonb #########################################################################
261 1.34 simonb # Pseudo-devices #
262 1.34 simonb #########################################################################
263 1.1 jonathan
264 1.158 tls #
265 1.158 tls # accept filters
266 1.158 tls pseudo-device accf_data # "dataready" accept filter
267 1.158 tls pseudo-device accf_http # "httpready" accept filter
268 1.158 tls
269 1.177 christos pseudo-device loop # network loopback
270 1.143 cube pseudo-device sl # serial-line IP ports
271 1.143 cube pseudo-device ppp # serial-line IP ports
272 1.94 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
273 1.85 jdolecek pseudo-device pty # pseudo-terminals
274 1.142 rpaulo pseudo-device bpfilter # packet filter ports
275 1.145 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
276 1.197 maxv pseudo-device npf # NPF packet filter
277 1.143 cube #pseudo-device gre # generic L3 over IP tunnel
278 1.143 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
279 1.143 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
280 1.144 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
281 1.86 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
282 1.90 atatat pseudo-device bridge # simple inter-network bridging
283 1.114 tsutsui #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
284 1.152 martin pseudo-device agr # IEEE 802.3ad link aggregation
285 1.12 jonathan
286 1.143 cube pseudo-device vnd # virtual disk ick
287 1.131 hubertf #options VND_COMPRESSION # compressed vnd(4)
288 1.177 christos pseudo-device ccd # concatenated disks
289 1.177 christos #pseudo-device cgd # cryptographic disk devices
290 1.178 christos pseudo-device raid # RAIDframe disk driver
291 1.95 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
292 1.95 oster # Options to enable various other RAIDframe RAID types.
293 1.114 tsutsui #options RF_INCLUDE_EVENODD=1
294 1.114 tsutsui #options RF_INCLUDE_RAID5_RS=1
295 1.114 tsutsui #options RF_INCLUDE_PARITYLOGGING=1
296 1.114 tsutsui #options RF_INCLUDE_CHAINDECLUSTER=1
297 1.114 tsutsui #options RF_INCLUDE_INTERDECLUSTER=1
298 1.114 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING=1
299 1.114 tsutsui #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
300 1.163 pooka pseudo-device fss # file system snapshot device
301 1.162 pooka pseudo-device putter # for puffs and pud
302 1.1 jonathan
303 1.100 lukem pseudo-device clockctl # user control of clock subsystem
304 1.111 ragge pseudo-device ksyms # /dev/ksyms
305 1.146 ad pseudo-device wsfont # wsfont control device
306 1.146 ad pseudo-device wsmux # wsmux control device
307 1.140 elad
308 1.186 christos options FILEASSOC # fileassoc(9) - required for Veriexec
309 1.187 christos # and PAX_SEGVGUARD
310 1.186 christos
311 1.140 elad # Veriexec
312 1.186 christos pseudo-device veriexec
313 1.140 elad #
314 1.140 elad # Uncomment the fingerprint methods below that are desired. Note that
315 1.140 elad # removing fingerprint methods will have almost no impact on the kernel
316 1.140 elad # code size.
317 1.140 elad #
318 1.186 christos options VERIFIED_EXEC_FP_SHA256
319 1.186 christos options VERIFIED_EXEC_FP_SHA384
320 1.186 christos options VERIFIED_EXEC_FP_SHA512
321 1.186 christos
322 1.186 christos options PAX_ASLR_DEBUG=1 # PaX ASLR debug
323 1.186 christos options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
324 1.186 christos options PAX_MPROTECT=1 # PaX mprotect(2) restrictions
325 1.186 christos options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug
326 1.186 christos options PAX_ASLR=1 # PaX Address Space Layout Randomization
327