GENERIC revision 1.128 1 1.128 isaki # $NetBSD: GENERIC,v 1.128 2019/04/13 08:22:58 isaki Exp $
2 1.8 reinoud #
3 1.8 reinoud # GENERIC --- NetBSD/acorn32 complete configuration
4 1.1 reinoud #
5 1.4 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.4 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.4 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 reinoud #
9 1.4 gmcgarry # The machine description file can be customised for your specific
10 1.4 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.4 gmcgarry #
12 1.4 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.4 gmcgarry # man page.
14 1.4 gmcgarry #
15 1.4 gmcgarry # For further information on hardware support for this architecture, see
16 1.4 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.4 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.4 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.4 gmcgarry # device.
20 1.1 reinoud
21 1.123 mrg include "arch/acorn32/conf/std.acorn32"
22 1.1 reinoud
23 1.16 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.16 atatat
25 1.128 isaki #ident "GENERIC-$Revision: 1.128 $"
26 1.1 reinoud
27 1.1 reinoud # estimated number of users
28 1.1 reinoud maxusers 32
29 1.1 reinoud
30 1.1 reinoud # Standard system options
31 1.1 reinoud
32 1.1 reinoud options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
33 1.1 reinoud #options NTP # NTP phase/frequency locked loop
34 1.22 junyoung
35 1.1 reinoud # CPU options
36 1.1 reinoud options CPU_SA110 # Support the SA110 core
37 1.1 reinoud options CPU_ARM6 # Support the ARM6 core
38 1.1 reinoud options CPU_ARM7 # Support the ARM7 core
39 1.10 reinoud #options CPU_ARM8 # Support the ARM8 core
40 1.1 reinoud #options ARM6_LATE_ABORT # ARM6XX late abort support
41 1.1 reinoud
42 1.10 reinoud # For StrongARM only kernels
43 1.10 reinoud #makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
44 1.1 reinoud
45 1.1 reinoud # File systems
46 1.1 reinoud
47 1.1 reinoud file-system FFS # UFS
48 1.1 reinoud #file-system LFS # log-structured file system
49 1.1 reinoud file-system MFS # memory file system
50 1.1 reinoud file-system NFS # Network file system
51 1.1 reinoud file-system ADOSFS # AmigaDOS-compatible file system
52 1.1 reinoud file-system EXT2FS # second extended file system (linux)
53 1.1 reinoud file-system CD9660 # ISO 9660 + Rock Ridge file system
54 1.1 reinoud file-system MSDOSFS # MS-DOS file system
55 1.1 reinoud file-system FDESC # /dev/fd
56 1.1 reinoud file-system FILECORE # Acorn filecore file system
57 1.1 reinoud file-system KERNFS # /kern
58 1.1 reinoud file-system NULLFS # loopback file system
59 1.1 reinoud file-system OVERLAY # overlay filesystem
60 1.94 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
61 1.1 reinoud file-system PROCFS # /proc
62 1.1 reinoud file-system UMAPFS # NULLFS + uid and gid remapping
63 1.1 reinoud file-system UNION # union file system
64 1.60 christos file-system PTYFS # /dev/pts/N support
65 1.96 chs file-system TMPFS # Efficient memory file-system
66 1.66 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
67 1.1 reinoud
68 1.1 reinoud # File system options
69 1.98 bouyer options QUOTA # legacy UFS quotas
70 1.98 bouyer options QUOTA2 # new, in-filesystem UFS quotas
71 1.99 wiz #options FFS_EI # FFS Endian Independent support
72 1.101 dholland options WAPBL # File system journaling support
73 1.48 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
74 1.1 reinoud options NFSSERVER
75 1.63 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
76 1.115 manu options UFS_EXTATTR # Extended attribute support for UFS1
77 1.1 reinoud
78 1.1 reinoud # Networking options
79 1.1 reinoud
80 1.1 reinoud options GATEWAY # packet forwarding
81 1.1 reinoud options INET # IP + ICMP + TCP + UDP
82 1.1 reinoud options INET6 # IPV6
83 1.1 reinoud #options IPSEC # IP security
84 1.1 reinoud #options IPSEC_DEBUG # debug for IP security
85 1.1 reinoud #options MROUTING # IP multicast routing
86 1.44 manu #options PIM # Protocol Independent Multicast
87 1.1 reinoud options NETATALK # AppleTalk networking
88 1.1 reinoud options PPP_BSDCOMP # BSD-Compress compression support for PPP
89 1.1 reinoud options PPP_DEFLATE # Deflate compression support for PPP
90 1.1 reinoud options PPP_FILTER # Active filter support for PPP (requires bpf)
91 1.1 reinoud #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
92 1.1 reinoud
93 1.41 abs #options ALTQ # Manipulate network interfaces' output queues
94 1.41 abs #options ALTQ_BLUE # Stochastic Fair Blue
95 1.41 abs #options ALTQ_CBQ # Class-Based Queueing
96 1.41 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
97 1.41 abs #options ALTQ_FIFOQ # First-In First-Out Queue
98 1.41 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
99 1.41 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
100 1.41 abs #options ALTQ_LOCALQ # Local queueing discipline
101 1.41 abs #options ALTQ_PRIQ # Priority Queueing
102 1.41 abs #options ALTQ_RED # Random Early Detection
103 1.41 abs #options ALTQ_RIO # RED with IN/OUT
104 1.41 abs #options ALTQ_WFQ # Weighted Fair Queueing
105 1.41 abs
106 1.1 reinoud # Compatibility options
107 1.1 reinoud
108 1.123 mrg include "conf/compat_netbsd12.config"
109 1.123 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
110 1.1 reinoud
111 1.1 reinoud # Shared memory options
112 1.1 reinoud
113 1.1 reinoud options SYSVMSG # System V-like message queues
114 1.1 reinoud options SYSVSEM # System V-like semaphores
115 1.1 reinoud options SYSVSHM # System V-like memory sharing
116 1.1 reinoud
117 1.1 reinoud # Device options
118 1.1 reinoud
119 1.1 reinoud options MEMORY_DISK_HOOKS # boottime setup of ramdisk
120 1.13 lukem #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks
121 1.1 reinoud #options MEMORY_DISK_IS_ROOT # use memory disk as root
122 1.1 reinoud
123 1.1 reinoud # Miscellaneous kernel options
124 1.1 reinoud options KTRACE # system call tracing, a la ktrace(1)
125 1.1 reinoud options IRQSTATS # manage IRQ statistics
126 1.1 reinoud #options SCSIVERBOSE # Verbose SCSI errors
127 1.19 lukem options USERCONF # userconf(4) support
128 1.9 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
129 1.43 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
130 1.23 junyoung
131 1.124 sevan # Alternate buffer queue strategies for better responsiveness under high
132 1.124 sevan # disk I/O load.
133 1.53 tsutsui #options BUFQ_READPRIO
134 1.53 tsutsui #options BUFQ_PRIOCSCAN
135 1.1 reinoud
136 1.1 reinoud # Development and Debugging options
137 1.1 reinoud
138 1.1 reinoud #options ARM700BUGTRACK # track the ARM700 swi bug
139 1.1 reinoud #options PORTMASTER # Enable PortMaster only options
140 1.62 chs #options DIAGNOSTIC # internal consistency checks
141 1.2 lukem #options PMAP_DEBUG # Enable pmap_debug_level code
142 1.1 reinoud options DDB # in-kernel debugger
143 1.1 reinoud #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
144 1.1 reinoud #makeoptions DEBUG="-g" # compile full symbol table
145 1.1 reinoud
146 1.1 reinoud config netbsd root on ? type ?
147 1.1 reinoud
148 1.1 reinoud # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
149 1.1 reinoud # this really be fixed some day
150 1.2 lukem #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
151 1.1 reinoud
152 1.1 reinoud # The main bus device
153 1.1 reinoud mainbus0 at root
154 1.1 reinoud
155 1.35 wiz # The boot CPU
156 1.1 reinoud cpu0 at mainbus?
157 1.1 reinoud
158 1.1 reinoud # The IOMD
159 1.1 reinoud iomd0 at mainbus?
160 1.1 reinoud
161 1.1 reinoud # system clock via IOMD
162 1.1 reinoud clock* at iomd?
163 1.1 reinoud
164 1.1 reinoud # IIC bus device
165 1.28 thorpej iomdiic* at iomd?
166 1.28 thorpej iic0 at iomdiic?
167 1.1 reinoud
168 1.1 reinoud # RTC device via IIC bus
169 1.126 thorpej pcfrtc* at iic? addr 0x50
170 1.1 reinoud
171 1.1 reinoud # VIDC device
172 1.1 reinoud vidc0 at mainbus?
173 1.1 reinoud
174 1.10 reinoud # WSCONS
175 1.10 reinoud # ws console uses DUMB, SUN or VT100 terminal emulation
176 1.10 reinoud #options WSEMUL_NODUMB
177 1.10 reinoud #options WSEMUL_SUN
178 1.73 bjh21 options WSEMUL_VT100
179 1.10 reinoud
180 1.85 chris options WS_KERNEL_FG=WSCOL_GREEN
181 1.85 chris
182 1.10 reinoud #options WSDISPLAY_COMPAT_RAWKBD
183 1.103 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
184 1.85 chris options WSDISPLAY_SCROLLSUPPORT
185 1.10 reinoud
186 1.73 bjh21 vidcvideo0 at vidc? # wscons driver for VIDC
187 1.73 bjh21 wsdisplay* at vidcvideo? console ? # display itself
188 1.10 reinoud
189 1.36 bjh21 iomdkbc* at iomd? # IOMD keyboard/mouse interface
190 1.36 bjh21
191 1.73 bjh21 pckbd* at iomdkbc? slot ? # PS/2 keyboard
192 1.73 bjh21 options PCKBD_LAYOUT=KB_UK
193 1.73 bjh21 wskbd* at pckbd?
194 1.36 bjh21
195 1.36 bjh21 pms* at iomdkbc? slot ? # PS/2 mouse
196 1.36 bjh21 wsmouse* at pms?
197 1.36 bjh21
198 1.37 bjh21 qms* at iomd? # ws quadmouse driver
199 1.37 bjh21 wsmouse* at qms? # wsmouse on ws quadmouse
200 1.10 reinoud
201 1.36 bjh21 pseudo-device wsmux
202 1.10 reinoud
203 1.1 reinoud # Peripheral IO Controller
204 1.1 reinoud pioc0 at mainbus? base 0x00210000
205 1.1 reinoud
206 1.1 reinoud # IDE disk controller
207 1.1 reinoud wdc0 at pioc? offset 0x01f0 irq 9
208 1.31 lukem
209 1.31 lukem # ATA (IDE) bus support
210 1.31 lukem atabus* at ata?
211 1.29 bouyer
212 1.30 christos wd* at atabus? drive ?
213 1.31 lukem atapibus* at atapi?
214 1.1 reinoud cd* at atapibus? drive ?
215 1.1 reinoud sd* at atapibus? drive ?
216 1.1 reinoud
217 1.1 reinoud # Floppy disk controller
218 1.2 lukem fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
219 1.2 lukem fd0 at fdc? drive ?
220 1.1 reinoud
221 1.1 reinoud # Serial ports
222 1.2 lukem com* at pioc? offset 0x03f8 irq 10
223 1.1 reinoud
224 1.1 reinoud # Parallel ports
225 1.33 bjh21 lpt* at pioc? offset 0x0278 irq 0 # Old driver
226 1.33 bjh21 #atppc* at pioc? offset 0x0278 irq 0 # New driver
227 1.33 bjh21 #ppbus* at atppc?
228 1.33 bjh21 #lpt* at ppbus? # Parallel printer
229 1.33 bjh21 #plip* at ppbus? # Parallel line IP
230 1.1 reinoud
231 1.1 reinoud # Audio device
232 1.1 reinoud vidcaudio0 at vidc?
233 1.1 reinoud audio* at vidcaudio0
234 1.1 reinoud
235 1.120 christos spkr* at audio? # PC speaker (synthesized)
236 1.118 nat
237 1.1 reinoud # Podule bus device
238 1.1 reinoud podulebus0 at root
239 1.1 reinoud
240 1.77 bjh21 sec* at podulebus? # Acorn SCSI card
241 1.77 bjh21 scsibus* at sec?
242 1.1 reinoud
243 1.1 reinoud cosc* at podulebus? # MCS Connect32 SCSI II card
244 1.1 reinoud scsibus* at cosc?
245 1.1 reinoud
246 1.1 reinoud ptsc* at podulebus? # Power-Tec SCSI II card
247 1.1 reinoud scsibus* at ptsc?
248 1.1 reinoud
249 1.18 bjh21 csc* at podulebus? # Cumana SCSI II card
250 1.18 bjh21 scsibus* at csc?
251 1.1 reinoud
252 1.1 reinoud oak* at podulebus? # Oak SCSI I card
253 1.1 reinoud scsibus* at oak?
254 1.1 reinoud
255 1.72 skrll csa* at podulebus? # Cumana SCSI I adapter
256 1.1 reinoud scsibus* at csa?
257 1.1 reinoud
258 1.8 reinoud hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
259 1.1 reinoud scsibus* at hcsc?
260 1.1 reinoud
261 1.1 reinoud sd* at scsibus? target ? lun ? # SCSI disk drives
262 1.1 reinoud st* at scsibus? target ? lun ? # SCSI tape drives
263 1.1 reinoud cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
264 1.1 reinoud ch* at scsibus? target ? lun ? # SCSI auto-changers
265 1.1 reinoud uk* at scsibus? target ? lun ? # SCSI unknown device
266 1.1 reinoud ss* at scsibus? target ? lun ? # SCSI scanner
267 1.1 reinoud
268 1.1 reinoud dtide* at podulebus? # D.T. Software IDE card
269 1.1 reinoud
270 1.1 reinoud hcide* at podulebus? # HCCS IDE card
271 1.1 reinoud
272 1.1 reinoud icside* at podulebus? # ICS IDE card
273 1.1 reinoud
274 1.1 reinoud rapide* at podulebus? # Yellowstone RapIDE card
275 1.1 reinoud
276 1.1 reinoud simide* at podulebus? # Simtec IDE card
277 1.1 reinoud
278 1.1 reinoud amps* at podulebus? # Atomwide Multi-Port Serial card
279 1.1 reinoud com* at amps?
280 1.1 reinoud
281 1.77 bjh21 ei* at podulebus? # Ether1 podules
282 1.1 reinoud ea* at podulebus? # Ether3 podules
283 1.1 reinoud eb0 at podulebus? # EtherB network slot cards
284 1.1 reinoud ne* at podulebus? # NE2000 clone cards
285 1.1 reinoud
286 1.93 tsutsui pseudo-device loop # network loopback
287 1.67 rpaulo pseudo-device bpfilter # packet filter
288 1.70 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
289 1.68 cube pseudo-device sl # CSLIP
290 1.68 cube pseudo-device ppp # PPP
291 1.6 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
292 1.68 cube pseudo-device tun # network tunneling over tty
293 1.47 cube pseudo-device tap # virtual Ethernet
294 1.68 cube #pseudo-device gre # generic L3 over IP tunnel
295 1.127 maxv #pseudo-device npf # NPF packet filter
296 1.68 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
297 1.68 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
298 1.69 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
299 1.68 cube #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
300 1.1 reinoud pseudo-device vlan # IEEE 802.1q encapsulation
301 1.3 atatat pseudo-device bridge # simple inter-network bridging
302 1.25 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
303 1.79 martin pseudo-device agr # IEEE 802.3ad link aggregation
304 1.1 reinoud pseudo-device pty # pseudo-terminals
305 1.68 cube pseudo-device vnd # disk-like interface to files
306 1.56 hubertf #options VND_COMPRESSION # compressed vnd(4)
307 1.108 christos pseudo-device ccd # concatenated disk devices
308 1.108 christos #pseudo-device cgd # cryptographic disk devices
309 1.109 christos pseudo-device raid # RAIDframe disk driver
310 1.7 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
311 1.7 oster # Options to enable various other RAIDframe RAID types.
312 1.7 oster # options RF_INCLUDE_EVENODD=1
313 1.7 oster # options RF_INCLUDE_RAID5_RS=1
314 1.7 oster # options RF_INCLUDE_PARITYLOGGING=1
315 1.7 oster # options RF_INCLUDE_CHAINDECLUSTER=1
316 1.7 oster # options RF_INCLUDE_INTERDECLUSTER=1
317 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
318 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
319 1.95 pooka pseudo-device fss # file system snapshot device
320 1.97 hannken pseudo-device md # Ramdisk driver
321 1.17 lukem pseudo-device clockctl # user control of clock subsystem
322 1.128 isaki pseudo-device drvctl # user control of drive subsystem
323 1.26 ragge pseudo-device ksyms # /dev/ksyms
324 1.94 pooka pseudo-device putter # for puffs and pud
325 1.64 elad
326 1.88 tls #
327 1.88 tls # accept filters
328 1.88 tls pseudo-device accf_data # "dataready" accept filter
329 1.88 tls pseudo-device accf_http # "httpready" accept filter
330 1.88 tls
331 1.64 elad # Veriexec
332 1.64 elad #
333 1.64 elad # a pseudo device needed for veriexec
334 1.109 christos #pseudo-device veriexec
335 1.64 elad #
336 1.64 elad # Uncomment the fingerprint methods below that are desired. Note that
337 1.64 elad # removing fingerprint methods will have almost no impact on the kernel
338 1.64 elad # code size.
339 1.64 elad #
340 1.64 elad #options VERIFIED_EXEC_FP_SHA256
341 1.64 elad #options VERIFIED_EXEC_FP_SHA384
342 1.64 elad #options VERIFIED_EXEC_FP_SHA512
343 1.74 bjh21
344 1.74 bjh21 # If the standard modes don't work for your monitor, you can specify
345 1.74 bjh21 # a RISC-OS-format monitor definition file and a list of modes here.
346 1.74 bjh21
347 1.74 bjh21 #makeoptions MONITOR="Taxan875+LR"
348 1.74 bjh21 #makeoptions MONITOR="AKF60"
349 1.74 bjh21 #makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
350