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