GENERIC revision 1.5 1 # $NetBSD: GENERIC,v 1.5 2001/06/16 13:58:18 tsutsui 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 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
194 scsibus* at iha?
195 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
196 scsibus* at isp?
197 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
198 scsibus* at pcscp?
199 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
200 scsibus* at siop?
201
202 # SCSI devices
203 sd* at scsibus? target ? lun ? # SCSI disk drives
204 st* at scsibus? target ? lun ? # SCSI tape drives
205 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
206 #ch* at scsibus? target ? lun ? # SCSI auto-changers
207 #uk* at scsibus? target ? lun ? # SCSI unknown device
208 #ss* at scsibus? target ? lun ? # SCSI scanner
209
210 # PCI IDE Controllers and Devices
211 # PCI IDE controllers - see pciide(4) for supported hardware.
212 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
213 # how to set up DMA modes for this chip. This may work, or may cause
214 # a machine hang with some controllers.
215 pciide* at pci? dev ? function ? flags 0x0000
216
217 # IDE drives
218 # Flags are used only with controllers that support DMA operations
219 # and mode settings (e.g. some pciide controllers)
220 # The lowest order four bits (rightmost digit) of the flags define the PIO
221 # mode to use, the next set of four bits the DMA mode and the third set the
222 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
223 # to use, and the last bit must be 1 for this setting to be used.
224 # For DMA and UDMA, 0xf (1111) means 'disable'.
225 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
226 # (0xc=1100, 0xa=1010, 0xf=1111)
227 # 0x0000 means "use whatever the drive claims to support".
228 wd* at pciide? channel ? drive ? flags 0x0000 # the drives themselves
229
230 # ATAPI bus support
231 atapibus* at pciide? channel ?
232
233 # ATAPI devices
234 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
235 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
236 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
237
238 # PCI network interfaces
239 de* at pci? dev ? function ? # DC21X4X-based ethernet cards
240 #en* at pci? dev ? function ? # ENI/Adaptec ATM
241 #ep* at pci? dev ? function ? # 3C590 ethernet cards
242 ex* at pci? dev ? function ? # 3Com 90x[B]
243 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
244 #esh* at pci? dev ? function ? # Essential HIPPI card
245 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
246 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
247 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
248 ne* at pci? dev ? function ? # NE2000 compat ethernet
249 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
250 sip* at pci? dev ? function ? # SiS 900 Ethernet
251 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
252 tlp* at pci? dev ? function ? # DECchip 21x4x (and clones) Ethernet
253 #options TLP_MATCH_21040
254 #options TLP_MATCH_21041
255 #options TLP_MATCH_21140
256 #options TLP_MATCH_21142
257 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
258 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
259 rtk* at pci? dev ? function ? # Realtek 8129/8139
260
261 # MII/PHY support
262 exphy* at mii? phy ? # 3Com internal PHYs
263 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
264 inphy* at mii? phy ? # Intel 82555 PHYs
265 #iophy* at mii? phy ? # Intel 82553 PHYs
266 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
267 nsphy* at mii? phy ? # NS83840 PHYs
268 #nsphyter* at mii? phy ? # NS83843 PHYs
269 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
270 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
271 #tlphy* at mii? phy ? # ThunderLAN PHYs
272 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
273 ukphy* at mii? phy ? # generic unknown PHYs
274
275 # USB Controller and Devices
276
277 # PCI USB controllers
278 ohci* at pci? # Open Host Controller
279
280 # USB bus support
281 usb* at ohci?
282
283 # USB Hubs
284 uhub* at usb?
285 uhub* at uhub? port ? configuration ? interface ?
286
287 # USB Mice
288 ums* at uhub? port ? configuration ? interface ?
289 wsmouse* at ums?
290
291 # USB Keyboards
292 ukbd* at uhub? port ? configuration ? interface ?
293 wskbd* at ukbd? console ?
294
295 # USB Generic HID devices
296 uhid* at uhub? port ? configuration ? interface ?
297
298 # USB Printer
299 ulpt* at uhub? port ? configuration ? interface ?
300
301 # USB Modem
302 umodem* at uhub? port ? configuration ?
303 ucom* at umodem?
304
305 # USB Mass Storage
306 umass* at uhub? port ? configuration ? interface ?
307 atapibus* at umass? channel ?
308 scsibus* at umass? channel ?
309
310 # USB audio
311 uaudio* at uhub? port ? configuration ?
312 audio* at uaudio?
313
314 # USB MIDI
315 umidi* at uhub? port ? configuration ?
316 midi* at umidi?
317
318 # USB Ethernet adapters
319 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
320 cue* at uhub? port ? # CATC USB-EL1201A based adapters
321 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
322
323 # Prolofic PL2301/PL2302 host-to-host adapter
324 upl* at uhub? port ?
325
326 # Serial adapters
327 # FTDI FT8U100AX serial adapter
328 uftdi* at uhub? port ?
329 ucom* at uftdi? portno ?
330
331 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
332 ucom* at uplcom? portno ?
333
334 umct* at uhub? port ? # MCT USB-RS232 serial adapter
335 ucom* at umct? portno ?
336
337 # Diamond Multimedia Rio 500
338 urio* at uhub? port ?
339
340 # USB Handspring Visor
341 uvisor* at uhub? port ?
342 ucom* at uvisor?
343
344 # USB scanners
345 uscanner* at uhub? port ?
346
347 # USB scanners that use SCSI emulation, e.g., HP5300
348 usscanner* at uhub? port ?
349 scsibus* at usscanner? channel ?
350
351 # Y@P firmware loader
352 uyap* at uhub? port ?
353
354 # USB Generic driver
355 ugen* at uhub? port ?
356
357 # Audio Devices
358
359 # PCI audio devices
360 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
361 #sv* at pci? dev ? function ? # S3 SonicVibes
362
363 # Audio support
364 #audio* at eap?
365 #audio* at sv?
366
367 vga* at pci?
368 wsdisplay* at vga? console ?
369
370 # ISA bus bridging
371
372 pcib* at pci? dev ? function ? # PCI-ISA bridge
373 isa* at pcib? # ISA bus
374
375 # ISA Plug-and-Play bus support
376 isapnp0 at isa?
377
378 # wscons
379 pckbc0 at isa? # pc keyboard controller
380 pckbd* at pckbc? # PC keyboard
381 pms* at pckbc? # PS/2 mouse for wsmouse
382 pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
383 wskbd* at pckbd? console ?
384 wsmouse* at pms?
385 wsmouse* at pmsi?
386
387 pcppi0 at isa?
388 sysbeep0 at pcppi?
389
390 # ISA Plug-and-Play serial interfaces
391 com* at isapnp? # Modems and serial boards
392
393 # ISA Plug-and-Play network interfaces
394 ep* at isapnp? # 3Com 3c509 Ethernet
395
396 # ISA serial interfaces
397 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
398 com1 at isa? port 0x2f8 irq 3
399 #com2 at isa? port 0x3e8 irq 9
400 #com3 at isa? port 0x2e8 irq 10
401
402 # ISA parallel printer interfaces
403 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
404 lpt1 at isa? port 0x278 irq 5
405 #lpt2 at isa? port 0x3bc
406
407 # ISA floppy
408 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
409 #fdc1 at isa? port 0x370 irq ? drq ?
410 #fd* at fdc? drive ? # the drives themselves
411
412 # ISA network interface
413 #ne0 at isa? port 0x280 irq 9
414 #ne1 at isa? port 0x300 irq 10
415 #ep* at isa? port ? irq ?
416
417 # The spkr driver provides a simple tone interface to the built in speaker.
418 spkr0 at pcppi? # PC speaker
419
420 dsrtc0 at isa? port 0x72 # Dallas RTC
421
422 # ISA Plug-and-Play audio devices
423 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
424 sb* at isapnp? # SoundBlaster-compatible audio
425 wss* at isapnp? # Windows Sound System
426
427 # OPL[23] FM syntheziers
428 opl* at ess?
429 opl* at sb?
430
431 # Audio support
432 audio* at ess?
433 audio* at sb?
434 audio* at wss?
435
436 # MPU 401 UARTs
437 #mpu* at sb?
438
439 # MIDI support
440 midi* at pcppi? # MIDI interface to the PC speaker
441 midi* at sb? # SB MPU401 port
442 midi* at opl? # OPL FM synth
443 #midi* at mpu? # MPU 401
444
445 # Joysticks
446
447 # ISA Plug-and-Play joysticks
448 joy* at isapnp? # Game ports (usually on audio cards)
449
450 # ISA joysticks. Probe is a little strange; add only if you have one.
451 #joy0 at isa? port 0x201
452
453 # Pseudo-Devices
454
455 # disk/mass storage pseudo-devices
456 pseudo-device ccd 2 # concatenated/striped disk devices
457 pseudo-device md 1 # memory disk device (ramdisk)
458 pseudo-device vnd 4 # disk-like interface to files
459
460 # network pseudo-devices
461 pseudo-device bpfilter 4 # Berkeley packet filter
462 pseudo-device ipfilter # IP filter (firewall) and NAT
463 pseudo-device loop # network loopback
464 pseudo-device ppp 2 # Point-to-Point Protocol
465 pseudo-device sl 2 # Serial Line IP
466 pseudo-device strip 2 # Starmode Radio IP (Metricom)
467 pseudo-device tun 2 # network tunneling over tty
468 pseudo-device gre 2 # generic L3 over IP tunnel
469 pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
470 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
471 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
472 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
473 pseudo-device vlan # IEEE 802.1q encapsulation
474
475 # miscellaneous pseudo-devices
476 pseudo-device pty # pseudo-terminals
477 pseudo-device tb 1 # tablet line discipline
478 pseudo-device sequencer 1 # MIDI sequencer
479 pseudo-device rnd # /dev/random and in-kernel generator
480 #options RND_COM # use "com" randomness as well (BROKEN)
481
482 # a pseudo device needed for Coda # also needs CODA (above)
483 pseudo-device vcoda 4 # coda minicache <-> venus comm.
484
485 # mouse & keyboard multiplexor pseudo-devices
486 pseudo-device wsmux 2
487