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