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