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