GENERIC revision 1.179.4.3 1 # $NetBSD: GENERIC,v 1.179.4.3 2002/10/24 09:34:13 lukem 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 #
22 #if 0
23 # GENERIC Amiga or DraCo
24 #
25 # This configuration file contains all possible options
26 #
27 # make AMIGA extracts the AMIGA configuration file.
28 # make DRACO extracts the DRACO configuration file.
29 # make INSTALL extracts the INSTALL configuration file.
30 #
31 # commit them, too.
32 #endif
33 #
34
35 include "arch/amiga/conf/std.amiga"
36
37 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
38
39 #ident "GENERIC-$Revision: 1.179.4.3 $"
40
41 #ifdef INSTALL_CONFIGURATION
42 makeoptions COPTS="-Os"
43 #endif
44
45 maxusers 8
46 options RTC_OFFSET=0
47
48 #
49 # mainboards to support (in addition to Amiga)
50 #
51 #ifdef DRACO_CONFIGURATION
52 options DRACO
53
54 #endif
55 #ifdef AMIGA_CONFIGURATION
56 options BB060STUPIDROM # You need this, if you have a non-DraCo
57 # MC68060 with an OS ROM up to (at least)
58 # V40 (OS3.1) and want to boot with the
59 # bootblock.
60 # You do not need this if you have a DraCo,
61 # have no 68060 or NEVER use the bootblock
62 options P5PPC68KBOARD # Phase5 PPC/68K board support
63 #endif
64 #
65 # processors this kernel should support
66 #
67 options M68060 # support for 060
68 options M060SP # MC68060 software support (Required for 060)
69 #ifdef AMIGA_CONFIGURATION
70 options M68040 # support for 040
71 options FPSP # MC68040 floating point support
72 options M68030 # support for 030
73 options M68020 # support for 020/851
74 options FPU_EMULATE # FPU emulation
75 #endif
76
77 #
78 # Networking options
79 #
80 options INET # IP networking support (Required)
81 options INET6 # IPV6
82 #options IPSEC # IP security
83 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
84 #options IPSEC_DEBUG # debug for IP security
85 #options GATEWAY # Packet forwarding
86 #options DIRECTED_BROADCAST # Broadcast across subnets
87
88 #ifndef INSTALL_CONFIGURATION
89 #options MROUTING # Multicast routing
90 options NS # XNS
91 #options NSIP # XNS tunneling over IP
92 options ISO,TPIP # OSI
93 #options EON # OSI tunneling over IP
94 options CCITT,LLC,HDLC # X.25
95 options NETATALK # AppleTalk networking protocols
96 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
97 #endif
98
99 options PPP_BSDCOMP # BSD-Compress compression support for PPP
100 options PPP_DEFLATE # Deflate compression support for PPP
101 options PPP_FILTER # Active filter support for PPP (requires bpf)
102 options PFIL_HOOKS # pfil(9) packet filter hooks
103 options IPFILTER_LOG # ipmon(8) log support
104 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
105
106 # Filesystems
107 file-system FFS # Berkeley fast file system
108 file-system EXT2FS # second extended file system (linux)
109 #file-system LFS # log-structured filesystem (experimental)
110
111 #ifndef INSTALL_CONFIGURATION
112 file-system MFS # Memory based filesystem
113 #endif
114
115 file-system NFS # Network File System client side code
116 file-system ADOSFS # AmigaDOS file system
117 file-system CD9660 # ISO 9660 + Rock Ridge filesystem
118 file-system MSDOSFS # MS-DOS filesystem
119
120 file-system KERNFS # kernel data-structure filesystem
121
122 #ifndef INSTALL_CONFIGURATION
123 file-system FDESC # user file descriptor filesystem
124 file-system NULLFS # loopback filesystem
125 file-system OVERLAY # overlay filesystem
126 #file-system PORTAL # Portal filesystem
127 file-system PROCFS # /proc filesystem
128 file-system UMAPFS # NULLFS + uid and gid remapping
129 file-system UNION # union filesystem
130 #endif
131
132 # Filesystem options
133
134 #options FFS_EI # FFS Endian Independant support
135
136 #ifndef INSTALL_CONFIGURATION
137 options QUOTA # User and group quotas in FFS
138 options SOFTDEP # FFS soft updates support.
139 options NFSSERVER # Network File System server side code
140 #endif
141
142 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
143 # immutable) behave as system flags.
144
145 #
146 # Compatibility options for various existing systems
147 #
148
149 #ifndef INSTALL_CONFIGURATION
150 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
151 options COMPAT_43 # compatibility with 4.3BSD interfaces
152 options COMPAT_09 # compatibility with NetBSD 0.9
153 options COMPAT_10 # compatibility with NetBSD 1.0
154 options COMPAT_12 # compatibility with NetBSD 1.2
155 options COMPAT_13 # compatibility with NetBSD 1.3
156 options COMPAT_14 # compatibility with NetBSD 1.4
157 options COMPAT_SUNOS # Support to run Sun (m68k) executables
158 options COMPAT_SVR4 # Support to run SVR4 (m68k) executables
159 options COMPAT_NOMID # allow nonvalid machine id executables
160 #options COMPAT_LINUX # Support to run Linux/m68k executables
161 #endif
162
163 options EXEC_AOUT # 32-bit aout executables (NetBSD-1.5.x)
164 options COMPAT_AOUT_M68K # actually make some system calls work.
165
166 #ifndef INSTALL_CONFIGURATION
167 #
168 # Support for System V IPC facilities.
169 #
170 options SYSVSHM # System V-like shared memory
171 options SYSVMSG # System V-like messages
172 options SYSVSEM # System V-like semaphores
173 #options SEMMNI=10 # number of semaphore identifiers
174 #options SEMMNS=60 # number of semaphores in system
175 #options SEMUME=10 # max number of undo entries per process
176 #options SEMMNU=30 # number of undo structures in system
177 #endif
178
179 #
180 # Support for various kernel options
181 #
182
183 #ifndef INSTALL_CONFIGURATION
184 options KTRACE # system call tracing support
185 options LKM # Loadable kernel modules
186 options UCONSOLE # anyone can redirect a virtual console
187 #endif
188 #options INSECURE # disable kernel security levels
189 options SCSIVERBOSE # human readable SCSI error messages
190 #options USERCONF # userconf(4) support
191 #ifndef INSTALL_CONFIGURATION
192 options NTP # NTP phase/frequency locked loop
193 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
194 #else
195 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
196 #endif
197
198 #
199 # Misc. debugging options
200 #
201 options DDB # Kernel debugger
202 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
203 options DIAGNOSTIC # Extra kernel sanity checks
204 #options DEBUG # Enable misc. kernel debugging code
205 #options SYSCALL_DEBUG # debug all syscalls.
206 #options SCSIDEBUG # Add SCSI debugging statements
207 #options PANICBUTTON # Forced crash via keypress (?)
208
209 #
210 # Amiga specific options
211 #
212 #options LIMITMEM=24 # Do not use more than LIMITMEM MB of the
213 # first bank of RAM. (default: unlimited)
214 #options NKPTADD=4 # set this for 4 additional KPT pages
215 #options NKPTADDSHIFT=24 # set this for 1 additional KPT page
216 # per 16 MB (1<<24 bytes) of RAM
217 # uncomment and decrease this, or uncomment and
218 # increase NKPTADD if you get "out of PT pages"
219 # panics.
220
221 # ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
222 # before the 10 secondinterval ends, or that KBDRESET does work at all.
223 #options KBDRESET # sync on Ctrl-Amiga-Amiga
224
225 # These options improve performance with the built-in serial port
226 # on slower Amigas. Try the larger buffers first then lev6_defer.
227 #options SERIBUF_SIZE=4096
228 #options SEROBUF_SIZE=32
229 #options LEV6_DEFER # defers l6 to l4 (below serial l5)
230
231 options RETINACONSOLE # enable code to allow retina to be console
232 #ifdef AMIGA_CONFIGURATION
233 options ULOWELLCONSOLE # enable code to allow a2410 to be console
234 options CL5426CONSOLE # Cirrus console
235 options CV64CONSOLE # CyberVision console
236 options TSENGCONSOLE # Tseng console
237 options CV3DCONSOLE # CyberVision 64/3D console
238 #endif
239
240 #ifdef AMIGA_CONFIGURATION
241 options GRF_ECS # Enhanced Chip Set
242 options GRF_NTSC # NTSC
243 options GRF_PAL # PAL
244 options GRF_A2024 # Support for the A2024
245 options GRF_AGA # AGA Chip Set
246 options GRF_AGA_VGA # AGA VGAONLY timing
247 options GRF_SUPER72 # AGA Super-72
248 #endif
249 #options KFONT_8X11 # 8x11 font
250
251 # select a font for the console according to the character set and keymap
252 # you want to use
253 options KFONT_CONS_ISO8859_1
254 #options KFONT_CONS_ISO8859_2
255
256 # This is how you would tell the kernel the A2410 oscillator frequencies:
257 # The used frequencies are the defaults, and do not need option setting
258 #options ULOWELL_OSC1=36000000
259 #options ULOWELL_OSC2=66667000
260
261 # This is how you specify the blitting speed, higher values may speed up blits
262 # a littel bit. If you raise this value too much some trash may appear.
263 # the commented version is the default.
264 #options RH_MEMCLK=61000000
265 # this option enables the 64 bit sprite which does not work
266 # for quite a few people. E.g. The cursor sprite will turn to a block
267 # when moved to the top of the screen in X.
268 #options RH_64BIT_SPRITE
269 # enables fast scroll code appears to now work on 040 systems.
270 #options RETINA_SPEED_HACK
271 # enables the Hardwarecursor which does not work on some systems.
272 #options RH_HARDWARECURSOR
273
274 #ifdef AMIGA_CONFIGURATION
275 # wscons aware interface to amiga custom chips.
276 # If you enable it enable also wskbd.
277 #
278 #amidisplaycc0 at mainbus0 # wscons interface to custom chips
279 #wsdisplay0 at amidisplaycc0 console ?
280 #options WSEMUL_VT100
281 #options FONT_BOLD8x16
282 #options FONT_VT220L8x10
283 #endif
284
285 #ifdef AMIGA_CONFIGURATION
286 grfcc0 at mainbus0 # custom chips
287 grfrt0 at zbus0 # retina II
288 #endif
289 grfrh0 at zbus0 # retina III
290 #ifdef AMIGA_CONFIGURATION
291 grfcl* at zbus0 # Picasso II/Piccolo/Spectrum
292 grful0 at zbus0 # A2410
293 grfcv0 at zbus0 # CyberVision 64
294 grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin)
295 grfcv3d0 at zbus0 # CyberVision 64/3D
296 #endif
297
298 #ifdef AMIGA_CONFIGURATION
299 grf0 at grfcc0
300 grf1 at grfrt0
301 #endif
302 grf2 at grfrh0
303 #ifdef AMIGA_CONFIGURATION
304 grf3 at grfcl?
305 grf4 at grful0
306 grf5 at grfcv0
307 grf6 at grfet?
308 grf7 at grfcv3d0
309 #endif
310 #ifdef AMIGA_CONFIGURATION
311 ite0 at grf0 # terminal emulators for grfs
312 ite1 at grf1 # terminal emulators for grfs
313 #endif
314 ite2 at grf2 # terminal emulators for grfs
315 #ifdef AMIGA_CONFIGURATION
316 ite3 at grf3 # terminal emulators for grfs
317 ite4 at grf4 # terminal emulators for grfs
318 ite5 at grf5 # terminal emulators for grfs
319 ite6 at grf6 # terminal emulators for grfs
320 ite7 at grf7 # terminal emulators for grfs
321 #endif
322
323 msc0 at zbus0 # A2232 MSC multiport serial.
324 mfc0 at zbus0 # MultiFaceCard I/O board
325 mfcs0 at mfc0 unit 0 # MFC serial
326 mfcs1 at mfc0 unit 1 # MFC serial
327 #mfcp0 at mfc0 unit 0 # MFC parallel [not available yet]
328 #mfc1 at zbus0 # MultiFaceCard 2nd I/O board
329 #mfcs2 at mfc1 unit 0
330 #mfcs3 at mfc1 unit 1
331 #mfcp1 at mfc1 unit 0
332
333 hyper* at zbus? # zbus HyperCom3/3+/4/4+
334 #hyper* at mainbus0 # not yet: HyperCom1 + HyperCom3
335 com* at hyper? port ? # Hypercom3/4 serial ports
336 lpt* at hyper? port ? # Hypercom3+/4+ parallel port
337
338 #options IOBZCLOCK=22118400 # default, uncomment the next line
339 #options IOBZCLOCK=24000000 # if needed.
340
341 iobl* at zbus? # zbus IOBlix
342 com* at iobl? port ? # IOBlix serial ports
343 lpt* at iobl? port ? # IOBlix parallel ports
344
345
346 #
347 # Keyboard device. Optionally can attach a wskbd.
348 # wskbd works together with a wsdisplay so enable them both if you will.
349 # Don't enable wskbd if you use ite.
350 #
351 # XXX in std.amiga: kbd0 at mainbus0
352 #wskbd0 at kbd0 console ?
353
354
355 #ifdef AMIGA_CONFIGURATION
356 #
357 # Amiga Mainboard devices (sans graphics and keyboard)
358 #
359
360 ser0 at mainbus0 # Amiga onboard serial
361 par0 at mainbus0 # Amiga onboard parallel
362 ms* at mainbus0 # Amiga mice
363 fdc0 at mainbus0 # Amiga FDC
364 fd* at fdc0 unit ? # floppy disks on the later
365 a34kbbc0 at mainbus0 # A3000/A4000 battery backed clock
366 a2kbbc0 at mainbus0 # A2000 battery backed clock
367 #ifndef INSTALL_CONFIGURATION
368 aucc* at mainbus0 # Amiga CC audio
369 audio* at aucc?
370 #endif
371 #endif
372
373 #ifdef DRACO_CONFIGURATION
374 #
375 # DraCo Mainboard devices (sans keyboard)
376 #
377
378 drbbc0 at mainbus0 # DraCo battery backed clock
379 drsupio0 at mainbus0 # DraCo superio chip
380 com* at drsupio? port ? # DraCo serial
381 lpt0 at drsupio? port ? # DraCo parallel
382 #endif
383
384 #
385 # Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics)
386 #
387
388 #ifndef INSTALL_CONFIGURATION
389 #ifndef DRACO_CONFIGURATION
390 # Alas, Melody-Z2 dont configure in the DraCo bus.
391 melody* at zbus0 # Melody MPEG audio decoder
392 audio* at melody?
393 #endif
394
395 repulse* at zbus0 # ALiENDESiGN Repulse
396 audio* at repulse?
397
398 toccata* at zbus0 # MacroSystem GmbH Toccata
399 audio* at toccata?
400 #endif
401
402 # Ethernet cards:
403 le* at zbus0 # A2065, Ameristar, Ariadne
404 ne* at zbus0 # AriadneII, X-surf
405 ed* at zbus0 # Hydra, ASDG LanRover
406 es* at zbus0 # CEI A4066 EthernetPLUS
407 qn* at zbus0 # Quicknet
408
409 # Arcnet
410 bah* at zbus0 # C=/Ameristar A2060 / 560
411
412 #ifdef AMIGA_CONFIGURATION
413 # Greater Valley Product Bus
414 gvpbus* at zbus0
415
416 # scsi stuff, all possible
417 gtsc0 at gvpbus? # GVP series II scsi
418 scsibus* at gtsc0
419 ahsc0 at mainbus0 # A3000 scsi
420 scsibus* at ahsc0
421 atzsc0 at zbus0 # A2091 scsi
422 scsibus* at atzsc0
423 wstsc0 at zbus0 # Wordsync II scsi
424 scsibus* at wstsc0
425 ivsc0 at zbus0 # IVS scsi
426 scsibus* at ivsc0
427 mlhsc0 at zbus0 # Hacker scsi
428 scsibus* at mlhsc0
429 otgsc0 at zbus0 # 12 gauge scsi
430 scsibus* at otgsc0
431 zssc0 at zbus0 # Zeus scsi
432 scsibus* at zssc0
433 mgnsc0 at zbus0 # Magnum scsi
434 scsibus* at mgnsc0
435 wesc0 at zbus0 # Warp Engine scsi
436 scsibus* at wesc0
437 afsc0 at zbus0 # A4091 scsi
438 scsibus* at afsc0
439 aftsc0 at mainbus0 # A4000T scsi
440 scsibus* at aftsc0
441 flsc0 at zbus0 # FastlaneZ3 scsi
442 scsibus* at flsc0
443 bzsc0 at zbus0 # Blizzard 1230 I,II scsi
444 scsibus* at bzsc0
445 bzivsc0 at zbus0 # Blizzard 12x0 IV scsi
446 scsibus* at bzivsc0
447 bztzsc0 at zbus0 # Blizzard 2060 scsi
448 scsibus* at bztzsc0
449 cbsc0 at zbus0 # CyberSCSI I
450 scsibus* at cbsc0
451 cbiisc0 at zbus0 # CyberSCSI II
452 scsibus* at cbiisc0
453 cbiiisc0 at zbus0 # Cyberstorm mk.III/Cyberstorm PPC SCSI
454 scsibus* at cbiiisc0
455 empsc0 at zbus0 # Emplant scsi
456 scsibus* at empsc0
457 #idesc0 at mainbus0 # A4000 & A1200 IDE
458 #scsibus* at idesc0
459
460 # <<< comment out the wdc/atapibus entries below if the idesc lines above >>>
461 # <<< are uncommented >>>
462 wdc0 at mainbus0 # A4000 & A1200 IDE bus
463 wd* at wdc? drive ? # + drives
464 atapibus* at wdc? channel ? # ATAPI bus
465 cd* at atapibus? drive ? # ATAPI CD-ROM drives
466 sd* at atapibus? drive ? # ATAPI disk drives
467
468 pccard0 at mainbus0
469 pcmcia* at pccard0
470 com* at pcmcia? function ? # Modems and serial cards
471 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
472 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
473 wdc* at pcmcia? function ?
474 awi* at pcmcia? function ? # BayStack 650 (802.11FH)
475 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
476 mbe* at pcmcia? function ? # MB8696x based Ethernet
477 ne* at pcmcia? function ? # NE2000-compatible Ethernet
478 sm* at pcmcia? function ? # Megahertz Ethernet
479 mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
480 com* at mhzc?
481 sm* at mhzc?
482
483 #endif
484
485 #ifdef DRACO_CONFIGURATION
486 drsc0 at mainbus0 # DraCo scsi
487 scsibus* at drsc0
488 #endif
489
490
491 # each hard drive from low target to high
492 # will configure to the next available sd unit number
493 sd* at scsibus? target ? lun ? # scsi disks
494 st* at scsibus? target ? lun ? # scsi tapes
495 cd* at scsibus? target ? lun ? # scsi cds
496 ch* at scsibus? target ? lun ? # scsi autochangers
497 #ifndef INSTALL_CONFIGURATION
498 ss* at scsibus? target ? lun ? # scsi scanner
499 uk* at scsibus? target ? lun ? # scsi unknown
500 #endif
501
502 pseudo-device loop # loopback network interface
503 pseudo-device sl 1 # SLIP network interfaces
504 pseudo-device ppp 1 # PPP network interfaces
505 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
506 pseudo-device tun 1 # network tunnel line discipline
507 #pseudo-device gre 2 # generic L3 over IP tunnel
508 pseudo-device bpfilter 16 # Berkeley packet filter
509 pseudo-device ipfilter # IP Filter package
510 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
511 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
512 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
513 pseudo-device vlan # IEEE 802.1q encapsulation
514 pseudo-device bridge # simple inter-network bridging
515
516 pseudo-device view 4 # views (needed for grfcc)
517 pseudo-device pty # pseudo-terminals
518 pseudo-device clockctl # user control of clock subsystem
519
520 pseudo-device vnd 4 # vnode pseudo-disks
521 pseudo-device ccd 4 # concatenated disk devices
522 pseudo-device raid 8 # RAIDframe disk driver
523 options RAID_AUTOCONFIG # auto-configuration of RAID components
524 # Options to enable various other RAIDframe RAID types.
525 # options RF_INCLUDE_EVENODD=1
526 # options RF_INCLUDE_RAID5_RS=1
527 # options RF_INCLUDE_PARITYLOGGING=1
528 # options RF_INCLUDE_CHAINDECLUSTER=1
529 # options RF_INCLUDE_INTERDECLUSTER=1
530 # options RF_INCLUDE_PARITY_DECLUSTERING=1
531 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
532
533 pseudo-device rnd # /dev/random and in-kernel generator
534 #options RND_COM # use "com" randomness as well (BROKEN)
535
536 config netbsd root on ? type ?
537