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