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