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