GENERIC revision 1.111 1 # $NetBSD: GENERIC,v 1.111 2020/04/18 11:00:41 skrll 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/iyonix/conf/std.iyonix"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.111 $"
26
27 maxusers 32 # estimated number of users
28
29 options MSGBUFSIZE=65536
30
31 # CPU options
32
33 # For XScale systems
34 options CPU_XSCALE_80321 # Support the XScale core
35 makeoptions CPUFLAGS="-mcpu=xscale"
36
37 # Architecture options
38 options XSCALE_CACHE_READ_WRITE_ALLOCATE
39 #options HZ=512
40
41 # Standard system options
42
43 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
44 #options NTP # NTP phase/frequency locked loop
45
46 #options KTRACE # system call tracing via ktrace(1)
47
48
49 #options SYSVMSG # System V-like message queues
50 #options SYSVSEM # System V-like semaphores
51 #options SYSVSHM # System V-like memory sharing
52
53 # Device options
54
55 # Console options. The default console is speed is 115200 baud.
56 #options CONSPEED=9600 # Console speed
57
58 # Miscellaneous kernel options
59 options KTRACE # system call tracing, a la ktrace(1)
60 options IRQSTATS # manage IRQ statistics
61 #options SCSIVERBOSE # Verbose SCSI errors
62 options PCIVERBOSE # Verbose PCI descriptions
63 options MIIVERBOSE # Verbose MII autoconfuration messages
64 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
65
66 options USERCONF # userconf(4) support
67 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
68 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
69
70 # Development and Debugging options
71
72 # Alternate buffer queue strategies for better responsiveness under high
73 # disk I/O load.
74 #options BUFQ_READPRIO
75 options BUFQ_PRIOCSCAN
76
77 # Diagnostic/debugging support options
78 #options DIAGNOSTIC # expensive kernel consistency checks
79 #options DEBUG # expensive debugging checks/support
80 options DDB # in-kernel debugger
81 #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
82 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
83 #options DDB_KEYCODE=0x40
84 #options KGDB # remote debugger
85 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
86 #makeoptions DEBUG="-g" # compile full symbol table
87 makeoptions COPY_SYMTAB=1
88 #options UVMHIST # kernhist for uvm/pmap subsystems
89 #options VERBOSE_INIT_ARM # verbose bootstraping messages
90
91 #options PMAP_INCLUDE_PTE_SYNC
92 #options LOCKDEBUG
93
94
95 # Compatibility options
96
97 include "conf/compat_netbsd70.config"
98 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
99
100 # File systems
101 file-system FFS # UFS
102 #file-system EXT2FS # second extended file system (linux)
103 #file-system LFS # log-structured file system
104 #file-system MFS # memory file system
105 file-system NFS # Network File System client
106 #file-system NTFS # Windows/NT file system (experimental)
107 file-system CD9660 # ISO 9660 + Rock Ridge file system
108 file-system MSDOSFS # MS-DOS file system
109 #file-system FDESC # /dev/fd
110 file-system KERNFS # /kern
111 #file-system NULLFS # loopback file system
112 #file-system OVERLAY # overlay file system
113 file-system PROCFS # /proc
114 #file-system UMAPFS # NULLFS + uid and gid remapping
115 #file-system UNION # union file system
116 #file-system CODA # Coda File System; also needs vcoda (below)
117 file-system PTYFS # /dev/ptm support
118 file-system TMPFS # Efficient memory file-system
119 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
120 #file-system HFS # experimental - Apple HFS+ (read-only)
121 file-system FILECORE # Acorn filecore file system
122
123 # File system options
124 #options QUOTA # legacy UFS quotas
125 #options QUOTA2 # new, in-filesystem UFS quotas
126 #options FFS_EI # FFS Endian Independent support
127 options WAPBL # File system journaling support
128 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
129 # It is not recommended for general use.
130 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
131 #options NFSSERVER # Network File System server
132 options FFS_NO_SNAPSHOT # No FFS snapshot support
133 #options UFS_EXTATTR # Extended attribute support for UFS1
134 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
135 # immutable) behave as system flags.
136
137 # Networking options
138 #options GATEWAY # packet forwarding
139 options INET # IP + ICMP + TCP + UDP
140 options INET6 # IPV6
141 #options IPSEC # IP security
142 #options IPSEC_DEBUG # debug for IP security
143 #options MROUTING # IP multicast routing
144 #options PIM # Protocol Independent Multicast
145 #options NETATALK # AppleTalk networking protocols
146 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
147 #options PPP_DEFLATE # Deflate compression support for PPP
148 #options PPP_FILTER # Active filter support for PPP (requires bpf)
149 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
150
151 #options ALTQ # Manipulate network interfaces' output queues
152 #options ALTQ_BLUE # Stochastic Fair Blue
153 #options ALTQ_CBQ # Class-Based Queueing
154 #options ALTQ_CDNR # Diffserv Traffic Conditioner
155 #options ALTQ_FIFOQ # First-In First-Out Queue
156 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
157 #options ALTQ_HFSC # Hierarchical Fair Service Curve
158 #options ALTQ_LOCALQ # Local queueing discipline
159 #options ALTQ_PRIQ # Priority Queueing
160 #options ALTQ_RED # Random Early Detection
161 #options ALTQ_RIO # RED with IN/OUT
162 #options ALTQ_WFQ # Weighted Fair Queueing
163
164
165 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
166
167 #options DKWEDGE_AUTODISCOVER
168 #options DKWEDGE_METHOD_BSDLABEL
169 #options DKWEDGE_METHOD_MBR
170
171 options INSECURE
172
173 # Kernel root file system and dump configuration.
174 config netbsd root on ? type ?
175 #config netbsd root on wd1a type ffs
176 #config netbsd root on wm0 type nfs
177 #config netbsd root on "wedge:system/a" type ffs
178
179 #
180 # Device configuration
181 #
182
183 mainbus0 at root
184
185 cpu0 at mainbus?
186
187 # i80321 I/O Processor peripheral support
188 iopxs* at mainbus?
189
190 iopaau* at iopxs? # Application Accelerator Unit
191 iopiic* at iopxs? # I2C Controller Unit(s)
192 iic0 at iopiic?
193 iic1 at iopiic?
194 iopwdog* at iopxs? # Watchdog timer
195 pci0 at iopxs? bus ? # PCI/PCI-X support
196
197 # The curious can see their RAM timings.
198 spdmem* at iic1 addr 0x56
199
200 # onboard RTC. RISC OS starts counting years at 2000
201 dsrtc0 at iic0 addr 0x68
202 options DSRTC_YEAR_START_2K
203
204 # PCI bridges
205 ppb* at pci? dev ? function ? # PCI-PCI bridges
206 pci* at ppb? bus ?
207 # XXX 'puc's aren't really bridges, but there's no better place for them here
208 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
209
210 #options COMCONSOLE
211
212 # VGA
213 #vga* at pci? dev ? function ?
214 genfb* at pci? dev ? function ?
215 #options GENFB_PCI_DEBUG
216 #gffb* at pci? dev ? function ?
217
218 # these exist but aren't configured by RISC OS
219 #alipm* at pci?
220 #iic* at alipm?
221
222 # Display
223 wsdisplay0 at wsemuldisplaydev? console 1
224 wsdisplay* at wsemuldisplaydev?
225
226 #options WSEMUL_SUN # sun terminal emulation
227 options WSEMUL_VT100 # vt100 terminal emulation
228 options WS_DEFAULT_FG=WSCOL_BLACK
229 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
230 options WS_KERNEL_FG=WSCOL_GREEN
231 options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
232 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
233 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
234 options WSDISPLAY_COMPAT_USL # VT handling
235 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
236 #options WSDISPLAY_DEFAULTSCREENS=4
237 options FONT_GO_MONO12x23
238 options WSDISPLAY_SCROLLSUPPORT
239 options VCONS_DRAW_INTR
240 options RASOPS_DEFAULT_WIDTH=100
241 options RASOPS_DEFAULT_HEIGHT=30
242
243 # IDE and related devices
244 # PCI IDE controllers - see pciide(4) for supported hardware.
245 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
246 # how to set up DMA modes for this chip. This may work, or may cause
247 # a machine hang with some controllers.
248 #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
249 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
250 #mvsata* at pci? dev ? function ?
251
252 # ATA (IDE) bus support
253 atabus* at ata?
254 #options ATADEBUG
255
256 # IDE drives
257 # Flags are used only with controllers that support DMA operations
258 # and mode settings (e.g. some pciide controllers)
259 # The lowest order four bits (rightmost digit) of the flags define the PIO
260 # mode to use, the next set of four bits the DMA mode and the third set the
261 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
262 # to use, and the last bit must be 1 for this setting to be used.
263 # For DMA and UDMA, 0xf (1111) means 'disable'.
264 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
265 # (0xc=1100, 0xa=1010, 0xf=1111)
266 # 0x0000 means "use whatever the drive claims to support".
267 wd* at atabus? drive ? flags 0x0000
268
269 # ATAPI bus support
270 atapibus* at atapi?
271
272 # ATAPI devices
273 # flags have the same meaning as for IDE drives.
274 # XXX No DMA on IDE devices for now
275 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
276 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
277 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
278 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
279
280
281 # Network Interfaces
282
283 # onboard ethernet
284 wm* at pci? dev ? function ? # Intel 8254x gigabit
285
286 # MII/PHY support
287 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
288 ukphy* at mii? phy ? # generic unknown PHYs
289
290
291 # USB Controller and Devices
292
293 # Iyonix ships with an ehci/ohci card
294 ehci* at pci? dev ? function ? # Enhanced Host Controller
295 ohci* at pci? dev ? function ? # Open Host Controller
296 #uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
297
298 # USB bus support
299 usb* at ehci?
300 usb* at ohci?
301 #usb* at uhci?
302 #usb* at slhci?
303
304 # USB Hubs
305 uhub* at usb?
306 uhub* at uhub? port ?
307
308 # USB HID device
309 uhidev* at uhub? port ? configuration ? interface ?
310
311 # USB Mice
312 ums* at uhidev? reportid ?
313 wsmouse* at ums? mux 0
314
315 # USB eGalax touch-panel
316 #uep* at uhub? port ?
317 #wsmouse* at uep? mux 0
318
319 # USB Keyboards
320 ukbd* at uhidev? reportid ?
321 wskbd* at ukbd? console ? mux 1
322
323 # USB Generic HID devices
324 uhid* at uhidev? reportid ?
325
326 # USB Mass Storage
327 umass* at uhub? port ? configuration ? interface ?
328
329 # USB audio
330 uaudio* at uhub? port ? configuration ?
331
332 # USB MIDI
333 #umidi* at uhub? port ? configuration ?
334
335 # USB Ethernet adapters
336 #axe* at uhub? port ? # ASIX AX88172 based adapters
337
338 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
339 ucom* at uplcom? portno ?
340
341 # USB Generic driver
342 #ugen* at uhub? port ?
343
344
345 # Iyonix onboard audio
346 autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
347
348 # Audio support
349 audio* at audiobus?
350
351 spkr* at audio? # PC speaker (synthesized)
352
353 # On-board device support
354
355 obio* at mainbus?
356 com1 at obio? addr 0x900003e8 xint 1 # on-board UART
357 com0 at obio? addr 0x900002f8 xint 1 # on-board UART
358 #com* at obio? addr 0x900003e8 xint 1 # on-board UART
359 #com* at obio? addr 0x900003f8 xint 1 # on-board UART
360
361 # Pseudo-Devices
362
363 #pseudo-device crypto # /dev/crypto device
364 #pseudo-device swcrypto # software crypto implementation
365
366 # disk/mass storage pseudo-devices
367
368 pseudo-device fss # file system snapshot device
369
370 # network pseudo-devices
371 pseudo-device bpfilter # Berkeley packet filter
372 pseudo-device carp # Common Address Redundancy Protocol
373 #pseudo-device npf # NPF packet filter
374 pseudo-device loop # network loopback
375 #pseudo-device ppp # Point-to-Point Protocol
376 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
377 #pseudo-device sl # Serial Line IP
378 #pseudo-device irframetty # IrDA frame line discipline
379 #pseudo-device tap # virtual Ethernet
380 #pseudo-device tun # network tunneling over tty
381 #pseudo-device gre # generic L3 over IP tunnel
382 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
383 #pseudo-device faith # IPv[46] tcp relay translation i/f#
384 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
385 #pseudo-device vlan # IEEE 802.1q encapsulation
386 #pseudo-device bridge # simple inter-network bridging
387 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
388 #pseudo-device agr # IEEE 802.3ad link aggregation
389 # srt is EXPERIMENTAL
390 #pseudo-device srt # source-address-based routing
391
392 #
393 # accept filters
394 pseudo-device accf_data # "dataready" accept filter
395 pseudo-device accf_http # "httpready" accept filter
396
397 # miscellaneous pseudo-devices
398 pseudo-device pty # pseudo-terminals
399 #options RND_COM # use "com" randomness as well (BROKEN)
400 pseudo-device clockctl # user control of clock subsystem
401 pseudo-device drvctl # user control of drive subsystem
402 pseudo-device ksyms # /dev/ksyms
403
404 # wscons pseudo-devices
405 pseudo-device wsmux # mouse & keyboard multiplexor
406 pseudo-device wsfont
407
408 include "dev/veriexec.config"
409
410 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
411