GENERIC revision 1.59 1 # $NetBSD: GENERIC,v 1.59 2002/10/18 15:11:14 junyoung 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/prep/conf/std.prep"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.59 $"
26
27 maxusers 32
28
29 # Platform support
30 options PLATFORM_IBM_6050 # IBM Personal Power Series 830
31 options PLATFORM_IBM_7248 # IBM RS/6000 7248-100/120/133
32 options PLATFORM_IBM_7043_140 # IBM RS/6000 43P 7043-140
33 options PLATFORM_MOTOROLA_ULMB60XA # Motorola ULMB60xA (?)
34
35 options OPENPIC # OpenPIC support (7043-140)
36
37 # Standard system options
38
39 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
40 options NTP # NTP phase/frequency locked loop
41
42 options KTRACE # system call tracing via ktrace(1)
43 options SYSTRACE # system call vetting via systrace(1)
44
45 options SYSVMSG # System V-like message queues
46 options SYSVSEM # System V-like semaphores
47 #options SEMMNI=10 # number of semaphore identifiers
48 #options SEMMNS=60 # number of semaphores in system
49 #options SEMUME=10 # max number of undo entries per process
50 #options SEMMNU=30 # number of undo structures in system
51 options SYSVSHM # System V-like memory sharing
52 #options SHMMAXPGS=1024 # 1024 pages is the default
53
54 options LKM # loadable kernel modules
55
56 options USERCONF # userconf(4) support
57 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
58
59 # Enable experimental buffer queue strategy for better responsiness under
60 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
61 #options NEW_BUFQ_STRATEGY
62
63 # Diagnostic/debugging support options
64 options DIAGNOSTIC # cheap kernel consistency checks
65 #options DEBUG # expensive debugging checks/support
66 #options KMEMSTATS # kernel memory statistics (vmstat -m)
67 options DDB # in-kernel debugger
68 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
69 #makeoptions DEBUG="-g"
70
71 # Compatibility options
72 options COMPAT_13 # NetBSD 1.3,
73 options COMPAT_14 # NetBSD 1.4,
74 options COMPAT_15 # NetBSD 1.5,
75 options COMPAT_43 # and 4.3BSD
76 #options COMPAT_LINUX # Linux binary compatibility
77 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
78
79 # File systems
80 file-system FFS # UFS
81 file-system EXT2FS # second extended file system (linux)
82 file-system LFS # log-structured file system
83 file-system MFS # memory file system
84 file-system NFS # Network File System client
85 file-system NTFS # Windows/NT file system (experimental)
86 file-system CD9660 # ISO 9660 + Rock Ridge file system
87 file-system MSDOSFS # MS-DOS file system
88 file-system FDESC # /dev/fd
89 file-system KERNFS # /kern
90 file-system NULLFS # loopback file system
91 file-system OVERLAY # overlay file system
92 file-system PORTAL # portal filesystem (still experimental)
93 file-system PROCFS # /proc
94 file-system UMAPFS # NULLFS + uid and gid remapping
95 file-system UNION # union file system
96 #file-system CODA # Coda File System; also needs vcoda (below)
97
98 # File system options
99 options QUOTA # UFS quotas
100 options FFS_EI # FFS Endian Independant support
101 options SOFTDEP # FFS soft updates support.
102 options NFSSERVER # Network File System server
103 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
104 # immutable) behave as system flags.
105
106 # Networking options
107 #options GATEWAY # packet forwarding
108 options INET # IP + ICMP + TCP + UDP
109 options INET6 # IPv6
110 #options IPSEC # IP security
111 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
112 #options IPSEC_DEBUG # debug for IP security
113 #options MROUTING # IP multicast routing
114 options NETATALK # AppleTalk networking protocols
115 options PPP_BSDCOMP # BSD-Compress compression support for PPP
116 options PPP_DEFLATE # Deflate compression support for PPP
117 options PPP_FILTER # Active filter support for PPP (requires bpf)
118 options PFIL_HOOKS # pfil(9) packet filter hooks
119 options IPFILTER_LOG # ipmon(8) log support
120 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
121 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
122
123 # These options enable verbose messages for several subsystems.
124 # Warning, these may compile large string tables into the kernel!
125 options MIIVERBOSE # verbose PHY autoconfig messages
126 options PCIVERBOSE # verbose PCI device autoconfig messages
127 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
128 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
129 options SCSIVERBOSE # human readable SCSI error messages
130 #options USBVERBOSE # verbose USB device autoconfig messages
131 #options RESIDUAL_DATA_DUMP # verbosely dump residual data
132
133 options NFS_BOOT_BOOTP
134 options NFS_BOOT_BOOTPARAM
135 options NFS_BOOT_DHCP
136
137 #
138 # wscons options
139 #
140 # builtin terminal emulations
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 WS_KERNEL_BG=WSCOL_BLACK
145 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
146 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
147 # allocate a number of virtual screens at autoconfiguration time
148 #options WSDISPLAY_DEFAULTSCREENS=4
149 # use a large software cursor that doesn't blink
150 options PCDISPLAY_SOFTCURSOR
151
152 # Kernel root file system and dump configuration.
153 config netbsd root on ? type ?
154 #config netbsd root on tlp0 type nfs
155 #config netbsd root on le0 type nfs
156
157
158 #
159 # Device configuration
160 #
161
162 mainbus0 at root
163 cpu0 at mainbus0
164
165
166 # Basic Bus Support
167
168 # PCI bus support
169 pci0 at mainbus0 bus ?
170 pci* at pchb? bus ?
171 pci* at ppb? bus ?
172
173 options PCI_NETBSD_CONFIGURE
174
175 # PCI bridges
176 pchb* at pci? dev ? function ? # PCI-Host bridges
177 ppb* at pci? dev ? function ? # PCI-PCI bridges
178 pcib* at pci? dev ? function ? # PCI-ISA bridges
179
180 # ISA bus support
181 isa* at pcib? # ISA on PCI-ISA bridge
182
183 # PCMCIA bus support
184 pcmcia* at pcic? controller ? socket ?
185
186 # ISA PCMCIA controllers
187 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
188
189 #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
190 #options PCIC_ISA_ALLOC_IOBASE=0x0400
191 #options PCIC_ISA_ALLOC_IOSIZE=0x0100
192
193 # ISA Plug-and-Play bus support
194 isapnp0 at isa?
195
196 # on-board I/O for IBM Personal Power Series 830 IDE controller
197 obio0 at mainbus0
198
199
200 # Console Devices
201
202 # wscons
203 pckbc0 at isa? # pc keyboard controller
204 pckbd* at pckbc? # PC keyboard
205 pms* at pckbc? # PS/2 mouse for wsmouse
206 vga* at pci?
207 wsdisplay* at vga? console ?
208 wskbd* at pckbd? console ?
209 wsmouse* at pms? mux 0
210
211 pcppi0 at isa? # PC prog. periph. interface
212 isabeep0 at pcppi? # "keyboard" beep
213
214 mcclock0 at isa? port 0x70 # mc146818 and compatible
215 mkclock0 at isa? port 0x74 # mk48t18 and compatible
216
217
218 # Serial Devices
219
220 # ISA serial interfaces
221 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
222 com1 at isa? port 0x2f8 irq 3
223
224 # PCMCIA serial interfaces
225 com* at pcmcia? function ? # Modems and serial cards
226
227 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
228 com* at pcmcom? slave ? # ...and the slave devices
229
230
231 # Parallel Printer Interfaces
232
233 # ISA parallel printer interfaces
234 lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
235
236
237 # SCSI Controllers and Devices
238
239 # PCI SCSI controllers
240 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
241 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
242 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
243 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
244 siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
245
246 # PCMCIA SCSI controllers
247 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
248
249 # SCSI bus support
250 scsibus* at adw?
251 scsibus* at ahc?
252 scsibus* at aic?
253 scsibus* at iha?
254 scsibus* at pcscp?
255 scsibus* at siop?
256
257 # SCSI devices
258 sd* at scsibus? target ? lun ? # SCSI disk drives
259 st* at scsibus? target ? lun ? # SCSI tape drives
260 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
261 ch* at scsibus? target ? lun ? # SCSI autochangers
262 ss* at scsibus? target ? lun ? # SCSI scanners
263 uk* at scsibus? target ? lun ? # SCSI unknown
264
265
266 # IDE and related devices
267
268 # IBM Personal Power Series 830 IDE controller
269 wdc0 at obio? port 0x1f0 irq 13
270 wdc1 at obio? port 0x170 irq 13
271
272 # ISA Plug-and-Play IDE controllers
273 wdc* at isapnp?
274
275 # PCMCIA IDE controllers
276 wdc* at pcmcia? function ?
277
278 # IDE drives
279 # Flags are used only with controllers that support DMA operations
280 # and mode settings (e.g. some pciide controllers)
281 # The lowest order four bits (rightmost digit) of the flags define the PIO
282 # mode to use, the next set of four bits the DMA mode and the third set the
283 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
284 # to use, and the last bit must be 1 for this setting to be used.
285 # For DMA and UDMA, 0xf (1111) means 'disable'.
286 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
287 # (0xc=1100, 0xa=1010, 0xf=1111)
288 # 0x0000 means "use whatever the drive claims to support".
289 wd* at wdc? channel ? drive ? flags 0x0000
290
291 # ATAPI bus support
292 atapibus* at wdc? channel ?
293
294 # ATAPI devices
295 # flags have the same meaning as for IDE drives.
296 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
297 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
298 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
299
300
301 # Network Interfaces
302
303 # PCI network interfaces
304 ep* at pci? dev ? function ? # 3Com 3c59x
305 ex* at pci? dev ? function ? # 3Com 3c90x[BC]
306 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
307 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
308 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
309 rtk* at pci? dev ? function ? # Realtek 8129/8139
310 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
311 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
312 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
313
314 # ISA network interfaces
315 ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
316 ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet
317 ne1 at isa? port 0x300 irq 10
318 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
319
320 # ISA Plug-and-Play network intefaces
321 ep* at isapnp? # 3Com 3c509 Ethernet
322 ne* at isapnp? # NE2000-compatible Ethernet
323
324 # PCMCIA network interfaces
325 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
326 ne* at pcmcia? function ? # NE2000-compatible Ethernet
327
328 # MII/PHY support
329 dmphy* at mii? phy ? # Davicom DM9101 PHYs
330 exphy* at mii? phy ? # 3Com internal PHYs
331 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
332 inphy* at mii? phy ? # Intel 82555 PHYs
333 iophy* at mii? phy ? # Intel 82553 PHYs
334 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
335 nsphy* at mii? phy ? # NS83840 PHYs
336 nsphyter* at mii? phy ? # NS83843 PHYs
337 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
338 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
339 tlphy* at mii? phy ? # ThunderLAN PHYs
340 tqphy* at mii? phy ? # TDK Semiconductor PHYs
341 ukphy* at mii? phy ? # generic unknown PHYs
342
343
344 # USB Controller and Devices
345
346 # PCI USB controllers
347 #uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
348 #ohci* at pci? dev ? function ? # Open Host Controller
349
350 # USB bus support
351 #usb* at uhci?
352 #usb* at ohci?
353
354 # USB Hubs
355 #uhub* at usb?
356 #uhub* at uhub? port ? configuration ? interface ?
357
358 # USB HID device
359 #uhidev* at uhub? port ? configuration ? interface ?
360
361 # USB Mice
362 #ums* at uhidev? reportid ?
363 #wsmouse* at ums? mux 0
364
365 # USB Keyboards
366 #ukbd* at uhidev? reportid ?
367 #wskbd* at ukbd? console ? mux 1
368
369 # USB Generic HID devices
370 #uhid* at uhidev? reportid ?
371
372 # USB Printer
373 #ulpt* at uhub? port ? configuration ? interface ?
374
375 # USB Modem
376 #umodem* at uhub? port ? configuration ?
377 #ucom* at umodem?
378
379 # USB Mass Storage
380 #umass* at uhub? port ? configuration ? interface ?
381 #scsibus* at umass? channel ?
382 #atapibus* at umass? channel ?
383
384 # USB audio
385 #uaudio* at uhub? port ? configuration ?
386
387 # USB Ethernet adapters
388 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
389 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
390 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
391
392 # Prolofic PL2301/PL2302 host-to-host adapter
393 #upl* at uhub? port ?
394
395 # Serial adapters
396 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
397 #ucom* at uftdi? portno ?
398
399 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
400 #ucom* at umct? portno ?
401
402 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
403 #ucom* at uplcom? portno ?
404
405 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
406 #ucom* at uvscom? portno ?
407
408 # Diamond Multimedia Rio 500
409 #urio* at uhub? port ?
410
411 # USB Handspring Visor
412 #uvisor* at uhub? port ?
413 #ucom* at uvisor?
414
415 # Y@P firmware loader
416 #uyap* at uhub? port ?
417
418 # USB Generic driver
419 #ugen* at uhub? port ?
420
421 # USB scanners
422 #uscanner* at uhub? port ?
423
424
425 # Audio device
426
427 # ISA Plug-and-Play audio devices
428 #wss* at isapnp? # CS4232
429
430 # Audio support
431 #audio* at uaudio?
432 #audio* at wss?
433
434 # MIDI support
435 midi* at pcppi? # MIDI interface to the PC speaker
436
437 # The spkr driver provides a simple tone interface to the built in speaker.
438 spkr0 at pcppi? # PC speaker
439
440
441 # Joysticks
442
443 # ISA Plug-and-Play joysticks
444 joy* at isapnp? # Game ports (usually on audio cards)
445
446 # ISA joysticks. Probe is a little strange; add only if you have one.
447 #joy0 at isa? port 0x201
448
449
450 # Pseudo-Devices
451
452 # disk/mass storage pseudo-devices
453 pseudo-device ccd 4 # concatenated/striped disk devices
454 #pseudo-device cgd 4 # cryptographic disk devices
455 #pseudo-device raid 8 # RAIDframe disk driver
456 #options RAID_AUTOCONFIG # auto-configuration of RAID components
457 # Options to enable various other RAIDframe RAID types.
458 # options RF_INCLUDE_EVENODD=1
459 # options RF_INCLUDE_RAID5_RS=1
460 # options RF_INCLUDE_PARITYLOGGING=1
461 # options RF_INCLUDE_CHAINDECLUSTER=1
462 # options RF_INCLUDE_INTERDECLUSTER=1
463 # options RF_INCLUDE_PARITY_DECLUSTERING=1
464 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
465 pseudo-device md 1 # memory disk device (ramdisk)
466 pseudo-device vnd 4 # disk-like interface to files
467
468 # network pseudo-devices
469 pseudo-device loop # network loopback
470 pseudo-device bpfilter 8 # Berkeley packet filter
471 pseudo-device ipfilter # IP filter (firewall) and NAT
472 pseudo-device ppp 2 # Point-to-Point Protocol
473 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
474 pseudo-device sl 2 # Serial Line IP
475 pseudo-device strip 2 # Starmode Radio IP (Metricom)
476 pseudo-device tun 2 # network tunneling over tty
477 pseudo-device gre 2 # generic L3 over IP tunnel
478 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
479 #pseudo-device faith 2 # IPv[46] tcp relay translation i/f
480 #pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation
481 pseudo-device vlan # IEEE 802.1q encapsulation
482 pseudo-device bridge # simple inter-network bridging
483
484 # miscellaneous pseudo-devices
485 pseudo-device pty # pseudo-terminals
486 pseudo-device tb 1 # tablet line discipline
487 pseudo-device sequencer 1 # MIDI sequencer
488 pseudo-device rnd # /dev/random and in-kernel generator
489 #options RND_COM # use "com" randomness as well
490 pseudo-device clockctl # user control of clock subsystem
491
492 # a pseudo device needed for Coda # also needs CODA (above)
493 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
494
495 # wscons pseudo-devices
496 pseudo-device wsmux # mouse & keyboard multiplexor
497 pseudo-device wsfont
498