GENERIC revision 1.54 1 # $NetBSD: GENERIC,v 1.54 2003/10/08 11:55:43 bouyer 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/cats/conf/std.cats"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 # estimated number of users
26
27 maxusers 32
28
29 # Standard system options
30
31 options INSECURE # disable kernel securelevel
32
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 options NTP # NTP phase/frequency locked loop
35
36 # experimental ELF support when used on a CATS board running ABLE
37 #options ABLEELF
38 #makeoptions ABLEELF="1"
39
40 # Enable experimental buffer queue strategy for better responsiveness under
41 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
42 #options NEW_BUFQ_STRATEGY
43
44 # CPU options
45
46 # For StrongARM systems
47 options CPU_SA110 # Support the SA110 core
48 makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm"
49
50 # FPA options
51
52 #options ARMFPE # ARM Ltd FPE
53
54 # File systems
55
56 file-system FFS # UFS
57 file-system LFS # log-structured file system
58 file-system MFS # memory file system
59 file-system NFS # Network file system
60 file-system ADOSFS # AmigaDOS-compatible file system
61 file-system EXT2FS # second extended file system (linux)
62 file-system CD9660 # ISO 9660 + Rock Ridge file system
63 file-system MSDOSFS # MS-DOS file system
64 file-system FDESC # /dev/fd
65 file-system KERNFS # /kern
66 file-system NULLFS # loopback file system
67 file-system OVERLAY # overlay filesystem
68 file-system PORTAL # portal filesystem (still experimental)
69 file-system PROCFS # /proc
70 file-system UMAPFS # NULLFS + uid and gid remapping
71 file-system UNION # union file system
72 file-system CODA # Coda File System; also needs vcode (below)
73
74 # File system options
75 options QUOTA # UFS quotas
76 #options FFS_EI # FFS Endian Independant support
77 options NFSSERVER
78 options SOFTDEP # FFS soft updates support
79
80 # Networking options
81
82 #options GATEWAY # packet forwarding
83 options INET # IP + ICMP + TCP + UDP
84 options INET6 # IPV6
85 #options IPSEC # IP security
86 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
87 #options IPSEC_DEBUG # debug for IP security
88 #options MROUTING # IP multicast routing
89 options NS # XNS
90 #options NSIP # XNS tunneling over IP
91 options ISO,TPIP # OSI
92 #options EON # OSI tunneling over IP
93 options CCITT,LLC,HDLC # X.25
94 options NETATALK # AppleTalk networking
95 options PFIL_HOOKS # pfil(9) packet filter hooks
96 options PPP_BSDCOMP # BSD-Compress compression support for PPP
97 options PPP_DEFLATE # Deflate compression support for PPP
98 options PPP_FILTER # Active filter support for PPP (requires bpf)
99 options IPFILTER_LOG # ipmon(8) log support
100 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
101 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
102
103 options NFS_BOOT_BOOTP
104 options NFS_BOOT_DHCP
105 #options NFS_BOOT_BOOTPARAM
106
107 # Compatibility options
108
109 #options COMPAT_43 # 4.3BSD compatibility.
110 options COMPAT_16 # NetBSD 1.6 compatibility.
111 options COMPAT_14 # NetBSD 1.4 compatibility.
112 options COMPAT_13 # NetBSD 1.3 compatibility.
113 #options COMPAT_12 # NetBSD 1.2 compatibility.
114 #options COMPAT_11 # NetBSD 1.1 compatibility.
115 #options COMPAT_10 # NetBSD 1.0 compatibility.
116 #options COMPAT_09 # NetBSD 0.9 compatibility.
117 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
118
119 # Shared memory options
120
121 options SYSVMSG # System V-like message queues
122 options SYSVSEM # System V-like semaphores
123 #options SEMMNI=10 # number of semaphore identifiers
124 #options SEMMNS=60 # number of semaphores in system
125 #options SEMUME=10 # max number of undo entries per process
126 #options SEMMNU=30 # number of undo structures in system
127 options SYSVSHM # System V-like memory sharing
128 #options SHMMAXPGS=1024 # 1024 pages is the default
129
130 # Device options
131
132 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
133 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
134 #options MEMORY_DISK_IS_ROOT # use memory disk as root
135
136 # Miscellaneous kernel options
137 options KTRACE # system call tracing, a la ktrace(1)
138 options SYSTRACE # system call vetting via systrace(1)
139 options IRQSTATS # manage IRQ statistics
140 #options LKM # loadable kernel modules
141 #options KMEMSTATS # kernel memory statistics
142 options SCSIVERBOSE # Verbose SCSI errors
143 options PCIVERBOSE # Verbose PCI descriptions
144 options MIIVERBOSE # verbose PHY autoconfig messages
145 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
146 options USBVERBOSE # verbose USB device autoconfig messages
147 options PMAP_STATIC_L1S=128
148 options USERCONF # userconf(4) support
149 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
150
151 # if set defines a keycode for the fcom console to break into ddb.
152 # 0x40 == @, see man ascii(7)
153 #options DDB_KEYCODE=0x40
154
155 # wscons options
156 #options WSEMUL_SUN # sun terminal emulation
157 options WSEMUL_VT100 # VT100 / VT220 emulation
158 # different kernel output - see dev/wscons/wsdisplayvar.h
159 options WS_KERNEL_FG=WSCOL_GREEN
160 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
161 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
162 options WSDISPLAY_COMPAT_USL # VT handling
163 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
164 # see dev/wscons/wskbdmap_mfii.h for implemented layouts
165 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
166 # the following enables some functions to get mouse console support.
167 # if you want a really secure system, it may be better not to enable them,
168 # see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
169 #options WSDISPLAY_CHARFUNCS # mouse console support
170
171 # Development and Debugging options
172
173 #options PORTMASTER # Enable PortMaster only options
174 options DIAGNOSTIC # internally consistency checks
175 #options PMAP_DEBUG # Enable pmap_debug_level code
176 #options IPKDB # remote kernel debugging
177 options DDB # in-kernel debugger
178 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
179 #makeoptions DEBUG="-g" # compile full symbol table
180 #options SYMTAB_SPACE=380000
181
182 config netbsd root on ? type ?
183
184 # The main bus device
185 mainbus0 at root
186
187 # The boot cpu
188 cpu0 at mainbus?
189
190 # Core logic
191 footbridge0 at mainbus?
192
193 # footbridge uart
194 fcom0 at footbridge?
195
196 # system clock via footbridge
197 #clock* at footbridge?
198
199 # time-of-day device via footbridge or RTC
200 todclock0 at todservice?
201
202 # PCI bus support
203 # PCI bus via footbridge
204 pci0 at footbridge? # PCI bus
205
206 pci* at ppb? bus ?
207
208 # PCI bridges
209 ppb* at pci? dev ? function ? # PCI-PCI bridges
210 # XXX 'puc's aren't really bridges, but there's no better place for them here
211 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
212
213 # PCI serial interfaces
214 #com* at puc? port ? # 16x50s on "universal" comm boards
215 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
216
217 # PCI parallel printer interfaces
218 #lpt* at puc? port ? # || ports on "universal" comm boards
219
220 # PCI SCSI Controllers and Buses
221 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
222 scsibus* at adv?
223 #adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
224 #scsibus* at adw?
225 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
226 scsibus* at ahc?
227 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
228 #scsibus* at bha?
229 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
230 scsibus* at iha?
231 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
232 scsibus* at isp?
233 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
234 scsibus* at pcscp?
235 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
236 scsibus* at siop?
237 esiop* at pci? dev ? function ? # NCR 53c875 SCSI and newer
238 scsibus* at esiop?
239
240 # SCSI devices
241 sd* at scsibus? target ? lun ? # SCSI disk drives
242 st* at scsibus? target ? lun ? # SCSI tape drives
243 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
244 #ch* at scsibus? target ? lun ? # SCSI auto-changers
245 #uk* at scsibus? target ? lun ? # SCSI unknown device
246 #ss* at scsibus? target ? lun ? # SCSI scanner
247
248 # PCI IDE Controllers and Devices
249 # PCI IDE controllers - see pciide(4) for supported hardware.
250 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
251 # how to set up DMA modes for this chip. This may work, or may cause
252 # a machine hang with some controllers.
253 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
254 acardide* at pci? dev ? function ? # Acard IDE controllers
255 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
256 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
257 cypide* at pci? dev ? function ? # Cypress IDE controllers
258 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
259 optiide* at pci? dev ? function ? # Opti IDE controllers
260 piixide* at pci? dev ? function ? # Intel IDE controllers
261 pdcide* at pci? dev ? function ? # Promise IDE controllers
262 siside* at pci? dev ? function ? # SiS IDE controllers
263 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
264 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
265
266 # ATA bus support
267 atabus* at pciide? channel ?
268 atabus* at acardide? channel ?
269 atabus* at aceride? channel ?
270 atabus* at cmdide? channel ?
271 atabus* at cypide? channel ?
272 atabus* at hptide? channel ?
273 atabus* at optiide? channel ?
274 atabus* at piixide? channel ?
275 atabus* at pdcide? channel ?
276 atabus* at siside? channel ?
277 atabus* at slide? channel ?
278 atabus* at viaide? channel ?
279
280 # ATA bus support
281 atabus* at pciide? channel ?
282
283 # IDE drives
284 # Flags are used only with controllers that support DMA operations
285 # and mode settings (e.g. some pciide controllers)
286 # The lowest order four bits (rightmost digit) of the flags define the PIO
287 # mode to use, the next set of four bits the DMA mode and the third set the
288 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
289 # to use, and the last bit must be 1 for this setting to be used.
290 # For DMA and UDMA, 0xf (1111) means 'disable'.
291 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
292 # (0xc=1100, 0xa=1010, 0xf=1111)
293 # 0x0000 means "use whatever the drive claims to support".
294 wd* at atabus? drive ? flags 0x0000 # the drives themselves
295
296 # ATAPI bus support
297 atapibus* at atabus?
298
299 # ATAPI devices
300 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
301 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
302 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
303
304 # PCI network interfaces
305 #en* at pci? dev ? function ? # ENI/Adaptec ATM
306 ep* at pci? dev ? function ? # 3C590 ethernet cards
307 ex* at pci? dev ? function ? # 3Com 90x[B]
308 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
309 #esh* at pci? dev ? function ? # Essential HIPPI card
310 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
311 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
312 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
313 ne* at pci? dev ? function ? # NE2000 compat ethernet
314 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
315 sip* at pci? dev ? function ? # SiS 900 Ethernet
316 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
317 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
318 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
319 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
320 rtk* at pci? dev ? function ? # Realtek 8129/8139
321
322 # MII/PHY support
323 acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
324 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
325 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
326 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
327 dmphy* at mii? phy ? # Davicom DM9101 PHYs
328 exphy* at mii? phy ? # 3Com internal PHYs
329 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
330 gphyter* at mii? phy ? # NS83861 Gig-E PHY
331 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
332 inphy* at mii? phy ? # Intel 82555 PHYs
333 iophy* at mii? phy ? # Intel 82553 PHYs
334 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
335 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
336 nsphy* at mii? phy ? # NS83840 PHYs
337 nsphyter* at mii? phy ? # NS83843 PHYs
338 pnaphy* at mii? phy ? # generic HomePNA PHYs
339 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
340 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
341 tlphy* at mii? phy ? # ThunderLAN PHYs
342 tqphy* at mii? phy ? # TDK Semiconductor PHYs
343 ukphy* at mii? phy ? # generic unknown PHYs
344 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
345
346 # USB Controller and Devices
347
348 # PCI USB controllers
349 ohci* at pci? # Open Host Controller
350
351 # USB bus support
352 usb* at ohci?
353
354 # USB Hubs
355 uhub* at usb?
356 uhub* at uhub? port ? configuration ? interface ?
357
358 # USB HID device
359 uhidev* at uhub? port ? configuration ? interface ?
360
361 # USB Mice
362 ums* at uhidev? reportid ?
363 wsmouse* at ums?
364
365 # USB Keyboards
366 ukbd* at uhidev? reportid ?
367 wskbd* at ukbd? console ?
368
369 # USB Generic HID devices
370 uhid* at uhidev? reportid ?
371
372 # USB Printer
373 ulpt* at uhub? port ? configuration ? interface ?
374
375 # USB Modem
376 umodem* at uhub? port ? configuration ?
377 ucom* at umodem?
378
379 # USB Mass Storage
380 umass* at uhub? port ? configuration ? interface ?
381 atapibus* at umass? channel ?
382 scsibus* at umass? channel ?
383
384 # USB audio
385 uaudio* at uhub? port ? configuration ?
386 audio* at uaudio?
387
388 # USB MIDI
389 umidi* at uhub? port ? configuration ?
390 midi* at umidi?
391
392 # USB Ethernet adapters
393 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
394 cue* at uhub? port ? # CATC USB-EL1201A based adapters
395 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
396 uax* at uhub? port ? # ASIX AX88172 based adapters
397 url* at uhub? port ? # Realtek RTL8150L based adapters
398 udav* at uhub? port ? # Davicom DM9601 based adapters
399
400 # Prolofic PL2301/PL2302 host-to-host adapter
401 upl* at uhub? port ?
402
403 # Serial adapters
404 # FTDI FT8U100AX serial adapter
405 uftdi* at uhub? port ?
406 ucom* at uftdi? portno ?
407
408 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
409 ucom* at uplcom? portno ?
410
411 umct* at uhub? port ? # MCT USB-RS232 serial adapter
412 ucom* at umct? portno ?
413
414 # Diamond Multimedia Rio 500
415 urio* at uhub? port ?
416
417 # USB Handspring Visor
418 uvisor* at uhub? port ?
419 ucom* at uvisor?
420
421 # USB scanners
422 uscanner* at uhub? port ?
423
424 # USB scanners that use SCSI emulation, e.g., HP5300
425 usscanner* at uhub? port ?
426 scsibus* at usscanner? channel ?
427
428 # Y@P firmware loader
429 uyap* at uhub? port ?
430
431 # USB Generic driver
432 ugen* at uhub? port ?
433
434 # Audio Devices
435
436 # PCI audio devices
437 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
438 #sv* at pci? dev ? function ? # S3 SonicVibes
439
440 # Audio support
441 #audio* at eap?
442 #audio* at sv?
443
444 vga* at pci?
445 wsdisplay* at vga? console ?
446
447 # ISA bus bridging
448
449 pcib* at pci? dev ? function ? # PCI-ISA bridge
450 isa* at pcib? # ISA bus
451
452 # ISA Plug-and-Play bus support
453 isapnp0 at isa?
454
455 # wscons
456 pckbc0 at isa? # pc keyboard controller
457 pckbd* at pckbc? # PC keyboard
458 pms* at pckbc? # PS/2 mouse for wsmouse
459 wskbd* at pckbd? console ?
460 wsmouse* at pms?
461
462 pcppi0 at isa?
463 sysbeep0 at pcppi?
464
465 # ISA Plug-and-Play serial interfaces
466 com* at isapnp? # Modems and serial boards
467
468 # ISA Plug-and-Play network interfaces
469 ep* at isapnp? # 3Com 3c509 Ethernet
470 fmv* at isapnp? # Fujitsu FMV-183
471 ne* at isapnp? # NE2000-compatible
472
473 # ISA serial interfaces
474 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
475 com1 at isa? port 0x2f8 irq 3
476 #com2 at isa? port 0x3e8 irq 9
477 #com3 at isa? port 0x2e8 irq 10
478
479 # ISA parallel printer interfaces
480 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
481 lpt1 at isa? port 0x278 irq 5
482 #lpt2 at isa? port 0x3bc
483
484 # ISA floppy
485 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
486 #fdc1 at isa? port 0x370 irq ? drq ?
487 #fd* at fdc? drive ? # the drives themselves
488
489 # ISA network interface
490 #ne0 at isa? port 0x280 irq 9
491 #ne1 at isa? port 0x300 irq 10
492 #ep* at isa? port ? irq ?
493
494 # The spkr driver provides a simple tone interface to the built in speaker.
495 spkr0 at pcppi? # PC speaker
496
497 dsrtc0 at isa? port 0x72 # Dallas RTC
498
499 # ISA Plug-and-Play audio devices
500 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
501 sb* at isapnp? # SoundBlaster-compatible audio
502 wss* at isapnp? # Windows Sound System
503
504 # OPL[23] FM syntheziers
505 opl* at ess?
506 opl* at sb?
507
508 # Audio support
509 audio* at ess?
510 audio* at sb?
511 audio* at wss?
512
513 # MPU 401 UARTs
514 #mpu* at sb?
515
516 # MIDI support
517 midi* at pcppi? # MIDI interface to the PC speaker
518 midi* at sb? # SB MPU401 port
519 midi* at opl? # OPL FM synth
520 #midi* at mpu? # MPU 401
521
522 # Joysticks
523
524 # ISA Plug-and-Play joysticks
525 joy* at isapnp? # Game ports (usually on audio cards)
526
527 # ISA joysticks. Probe is a little strange; add only if you have one.
528 #joy0 at isa? port 0x201
529
530 # Pseudo-Devices
531
532 # disk/mass storage pseudo-devices
533 pseudo-device ccd 2 # concatenated/striped disk devices
534 #pseudo-device cgd 2 # cryptographic disk devices
535 pseudo-device md 1 # memory disk device (ramdisk)
536 pseudo-device vnd 4 # disk-like interface to files
537
538 # network pseudo-devices
539 pseudo-device bpfilter 4 # Berkeley packet filter
540 pseudo-device ipfilter # IP filter (firewall) and NAT
541 pseudo-device loop # network loopback
542 pseudo-device ppp 2 # Point-to-Point Protocol
543 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
544 pseudo-device sl 2 # Serial Line IP
545 pseudo-device strip 2 # Starmode Radio IP (Metricom)
546 pseudo-device tun 2 # network tunneling over tty
547 pseudo-device gre 2 # generic L3 over IP tunnel
548 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
549 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
550 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
551 pseudo-device vlan # IEEE 802.1q encapsulation
552 pseudo-device bridge # simple inter-network bridging
553 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
554
555 # miscellaneous pseudo-devices
556 pseudo-device pty # pseudo-terminals
557 pseudo-device tb 1 # tablet line discipline
558 pseudo-device sequencer 1 # MIDI sequencer
559 pseudo-device rnd # /dev/random and in-kernel generator
560 #options RND_COM # use "com" randomness as well (BROKEN)
561 pseudo-device clockctl # user control of clock subsystem
562
563 # a pseudo device needed for Coda # also needs CODA (above)
564 pseudo-device vcoda 4 # coda minicache <-> venus comm.
565
566 # mouse & keyboard multiplexor pseudo-devices
567 pseudo-device wsmux
568 pseudo-device wsfont
569 pseudo-device ksyms # /dev/ksyms
570