GENERIC revision 1.136 1 # $NetBSD: GENERIC,v 1.136 1998/02/06 11:20:31 mrg Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/i386/conf/std.i386"
7
8 maxusers 32 # estimated number of users
9
10 # CPU support. At least one is REQUIRED.
11 options I386_CPU
12 options I486_CPU
13 options I586_CPU
14 options I686_CPU
15
16 # CPU-related options.
17 options MATH_EMULATE # floating point emulation
18 #options VM86 # virtual 8086 emulation
19 options USER_LDT # user-settable LDT; used by WINE
20 # eliminate delay no-ops in I/O; recommended on all but very old machines
21 #options DUMMY_NOPS
22
23 # Misc. i386-specific options
24 options XSERVER # X server support in console drivers
25
26 # This option allows you to force a serial console at the specified
27 # I/O address. see console(4) for details.
28 #options "CONSDEVNAME=\"com\""
29
30 # The following options override the memory sizes passed in from the boot
31 # block. Use them *only* if the boot block is unable to determine the correct
32 # values. Note that the BIOS may *correctly* report less than 640k of base
33 # memory if the extended BIOS data area is located at the top of base memory
34 # (as is the case on most recent systems).
35 #options REALBASEMEM=... # size of base memory
36 #options REALEXTMEM=... # size of extended memory
37
38 # Standard system options
39
40 options UCONSOLE # users can use TIOCCONS (for xconsole)
41 options INSECURE # disable kernel security levels
42
43 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
44 #options NTP # NTP phase/frequency locked loop
45
46 options KTRACE # system call tracing via ktrace(1)
47
48 #options UVM # Use UVM instead of Mach VM.
49
50 options SYSVMSG # System V-like message queues
51 options SYSVSEM # System V-like semaphores
52 options SYSVSHM # System V-like memory sharing
53 #options SHMMAXPGS=1024 # 1024 pages is the default
54
55 options LKM # loadable kernel modules
56
57 # Diagnostic/debugging support options
58 options DIAGNOSTIC # cheap kernel consistency checks
59 #options DEBUG # expensive debugging checks/support
60 #options KMEMSTATS # kernel memory statistics (vmstat -m)
61 options DDB # in-kernel debugger
62 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
63 #options KGDB # remote debugger
64 #options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
65 #makeoptions DEBUG="-g" # compile full symbol table
66
67 # Compatibility options
68 options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
69 options COMPAT_09 # NetBSD 0.9,
70 options COMPAT_10 # NetBSD 1.0,
71 options COMPAT_11 # NetBSD 1.1,
72 options COMPAT_12 # NetBSD 1.2,
73 options COMPAT_13 # NetBSD 1.3,
74 options COMPAT_43 # and 4.3BSD
75
76 options COMPAT_SVR4 # binary compatibility with SVR4
77 options COMPAT_IBCS2 # binary compatibility with SCO and ISC
78 options COMPAT_LINUX # binary compatibility with Linux
79 options COMPAT_FREEBSD # binary compatibility with FreeBSD
80
81 # Executable format options
82 options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
83
84 # File systems
85 file-system FFS # UFS
86 file-system EXT2FS # second extended file system (linux)
87 file-system LFS # log-structured file system
88 file-system MFS # memory file system
89 file-system NFS # Network File System client
90 file-system CD9660 # ISO 9660 + Rock Ridge file system
91 file-system MSDOSFS # MS-DOS file system
92 file-system FDESC # /dev/fd
93 file-system KERNFS # /kern
94 file-system NULLFS # loopback file system
95 file-system PORTAL # portal filesystem (still experimental)
96 file-system PROCFS # /proc
97 file-system UMAPFS # NULLFS + uid and gid remapping
98 file-system UNION # union file system
99
100 # File system options
101 options QUOTA # UFS quotas
102 options NFSSERVER # Network File System server
103 options FIFO # FIFOs; RECOMMENDED
104 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
105 # immutable) behave as system flags.
106
107 # Networking options
108 #options GATEWAY # packet forwarding
109 options INET # IP + ICMP + TCP + UDP
110 #options MROUTING # IP multicast routing
111 options NS # XNS
112 #options NSIP # XNS tunneling over IP
113 options ISO,TPIP # OSI
114 options EON # OSI tunneling over IP
115 options CCITT,LLC,HDLC # X.25
116 options NETATALK # AppleTalk networking protocols
117 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
118 #options PPP_DEFLATE # Deflate compression support for PPP
119 #options PPP_FILTER # Active filter support for PPP (requires bpf)
120 #options PFIL_HOOKS # pfil(9) packet filter hooks
121 #options IPFILTER_LOG # ipmon(8) log support
122
123 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
124 #options TCP_COMPAT_42
125
126 # These options enable verbose messages for several subsystems.
127 # Warning, these may compile large string tables into the kernel!
128 options EISAVERBOSE # verbose EISA device autoconfig messages
129 options PCIVERBOSE # verbose PCI device autoconfig messages
130 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
131 options SCSIVERBOSE # human readable SCSI error messages
132
133 options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
134
135 # Kernel root file system and dump configuration.
136 config netbsd root on ? type ?
137 #config netbsd root on sd0a type ffs
138 #config netbsd root on ? type nfs
139
140 #
141 # Device configuration
142 #
143
144 mainbus0 at root
145
146 #apm0 at mainbus0 # Advanced power management
147
148
149 # Basic Bus Support
150
151 # PCI bus support
152 pci* at mainbus? bus ?
153 pci* at pchb? bus ?
154 pci* at ppb? bus ?
155
156 # PCI bridges
157 pchb* at pci? dev ? function ? # PCI-Host bridges
158 pceb* at pci? dev ? function ? # PCI-EISA bridges
159 pcib* at pci? dev ? function ? # PCI-ISA bridges
160 ppb* at pci? dev ? function ? # PCI-PCI bridges
161
162 # EISA bus support
163 eisa* at mainbus?
164 eisa* at pceb?
165
166 # ISA bus support
167 isa* at mainbus?
168 isa* at pceb?
169 isa* at pcib?
170
171 # PCMCIA bus support
172 pcmcia* at pcic? controller ? socket ?
173
174 # ISA PCMCIA controllers
175 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
176 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
177
178 # ISA Plug-and-Play bus support
179 isapnp0 at isa?
180
181
182 # Coprocessor Support
183
184 # Math Coprocessor support
185 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
186
187
188 # Console Devices
189
190 # ISA console. You can only configure one of these!
191 pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
192 #vt0 at isa? port 0x60 irq 1 # PCVT console driver
193
194
195 # Serial Devices
196
197 # PCI serial interfaces
198 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
199
200 # ISA Plug-and-Play serial interfaces
201 com* at isapnp? # Modems and serial boards
202
203 # PCMCIA serial interfaces
204 com* at pcmcia? function ? # Modems and serial cards
205
206 # ISA serial interfaces
207 #options COM_HAYESP # adds Hayes ESP serial board support
208 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
209 com1 at isa? port 0x2f8 irq 3
210 com2 at isa? port 0x3e8 irq 5
211 #com3 at isa? port 0x2e8 irq 9
212 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
213 #com* at ast? slave ?
214 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
215 #com* at boca? slave ?
216 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
217 #com* at rtfps? slave ?
218 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
219
220
221 # Parallel Printer Interfaces
222
223 # ISA parallel printer interfaces
224 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
225 lpt1 at isa? port 0x278
226 lpt2 at isa? port 0x3bc
227
228
229 # SCSI Controllers and Devices
230
231 # PCI SCSI controllers
232 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
233 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
234 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
235 ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
236
237 # EISA SCSI controllers
238 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
239 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
240 bha* at eisa? slot ? # BusLogic 7xx SCSI
241 uha* at eisa? slot ? # UltraStor 24f SCSI
242
243 # PCMCIA SCSI controllers
244 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
245
246 # ISA SCSI controllers
247 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
248 aha1 at isa? port 0x334 irq ? drq ?
249 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
250 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
251 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
252 bha1 at isa? port 0x334 irq ? drq ?
253 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
254 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
255 uha1 at isa? port 0x340 irq ? drq ?
256 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
257 wds1 at isa? port 0x358 irq 11 drq 5
258
259 # SCSI bus support
260 scsibus* at aha?
261 scsibus* at ahb?
262 scsibus* at ahc?
263 scsibus* at aic?
264 scsibus* at bha?
265 scsibus* at isp?
266 scsibus* at ncr?
267 scsibus* at sea?
268 scsibus* at uha?
269 scsibus* at wds?
270
271 # SCSI devices
272 sd* at scsibus? target ? lun ? # SCSI disk drives
273 st* at scsibus? target ? lun ? # SCSI tape drives
274 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
275 ch* at scsibus? target ? lun ? # SCSI autochangers
276 ss* at scsibus? target ? lun ? # SCSI scanners
277 uk* at scsibus? target ? lun ? # SCSI unknown
278
279
280 # IDE and Related Devices
281
282 # ISA Plug-and-Play IDE controllers
283 wdc* at isapnp?
284
285 # PCMCIA IDE controllers
286 wdc* at pcmcia? function ?
287
288 # ISA IDE controllers
289 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
290 wdc1 at isa? port 0x170 irq 15
291
292 # IDE drives
293 wd* at wdc? drive ? # the drives themselves
294
295 # ATAPI bus support
296 atapibus* at wdc?
297
298 # ATAPI devices
299 cd* at atapibus? drive ? # ATAPI CD-ROM drives
300 sd* at atapibus? drive ? # ATAPI disk drives
301
302
303 # Miscellaneous mass storage devices
304
305 # ISA floppy
306 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
307 #fdc1 at isa? port 0x370 irq ? drq ?
308 fd* at fdc? drive ? # the drives themselves
309 # some machines need you to do this instead of fd*
310 #fd0 at fdc0 drive 0
311
312 # ISA CD-ROM devices
313 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
314
315 # ISA tape devices
316 # note: the wt driver conflicts unpleasantly with ed devices at the
317 # same I/O address. The probe reprograms their EEPROMs. Don't
318 # uncomment it unless you are actually using it.
319 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
320
321
322 # Network Interfaces
323
324 # PCI network interfaces
325 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
326 en* at pci? dev ? function ? # ENI/Adaptec ATM
327 ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
328 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
329 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
330 le* at pci? dev ? function ? # PCnet-PCI Ethernet
331 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
332 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
333
334 # EISA network interfaces
335 ep* at eisa? slot ? # 3Com 3c579 Ethernet
336 fea* at eisa? slot ? # DEC DEFEA FDDI
337
338 # ISA Plug-and-Play network interfaces
339 ep* at isapnp? # 3Com 3c509 Ethernet
340 ne* at isapnp? # NE2000-compatible Ethernet
341
342 # PCMCIA network interfaces
343 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
344 ne* at pcmcia? function ? # NE2000-compatible Ethernet
345 sm* at pcmcia? function ? # Megahertz Ethernet
346
347 # ISA network interfaces
348 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
349 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
350 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
351 ep0 at isa? port ? irq ? # 3C509 ethernet cards
352 fe0 at isa? port 0x2a0 irq ? # AT1700
353 ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
354 ie1 at isa? port 0x300 irq 10 # EtherExpress
355 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
356 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
357 #le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
358 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
359 ne1 at isa? port 0x300 irq 10
360 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
361 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
362 we1 at isa? port 0x300 iomem 0xcc000 irq 10
363
364 # MII bus support
365 mii* at tl?
366
367 # MII PHY network interfaces
368 tlphy* at mii? dev ? # ThunderLAN PHYs
369 nsphy* at mii? dev ? # NS and compatible PHYs
370
371
372 # Audio Devices
373
374 # ISA Plug-and-Play audio devices
375 guspnp* at isapnp? # Gravis Ultra Sound PnP audio
376 sb* at isapnp? # SoundBlaster-compatible audio
377
378 # ISA audio devices
379 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
380 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
381 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
382 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
383 sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
384 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
385
386 # Audio support
387 audio* at gus?
388 audio* at guspnp?
389 audio* at pas?
390 audio* at sb?
391 audio* at sp?
392 audio* at wss?
393
394 # The spkr driver provides a simple tone interface to the built in speaker.
395 #spkr0 at pckbd? port 0x61 # PC speaker
396
397
398 # Mice
399
400 # ISA busmice
401 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
402 lms1 at isa? port 0x238 irq 5
403 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
404 mms1 at isa? port 0x238 irq 5
405 #pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
406
407
408 # Joysticks
409
410 # ISA Plug-and-Play joysticks
411 joy* at isapnp? # Game ports (usually on audio cards)
412
413 # ISA joysticks. Probe is a little strange; add only if you have one.
414 #joy0 at isa? port 0x201
415
416
417 # Miscellaneous Devices
418
419 # Planetconnect Satellite receiver driver.
420 #satlink0 at isa? port 0x300 drq 1
421
422
423 # Pull in optional local configuration
424 include "arch/i386/conf/GENERIC.local"
425
426
427 # Pseudo-Devices
428
429 # disk/mass storage pseudo-devices
430 pseudo-device ccd 4 # concatenated/striped disk devices
431 pseudo-device md 1 # memory disk device (ramdisk)
432 pseudo-device vnd 4 # disk-like interface to files
433
434 # network pseudo-devices
435 pseudo-device bpfilter 8 # Berkeley packet filter
436 pseudo-device ipfilter # IP filter (firewall) and NAT
437 pseudo-device loop # network loopback
438 pseudo-device ppp 2 # Point-to-Point Protocol
439 pseudo-device sl 2 # Serial Line IP
440 pseudo-device strip 2 # Starmode Radio IP (Metricom)
441 pseudo-device tun 2 # network tunneling over tty
442
443 # miscellaneous pseudo-devices
444 pseudo-device pty 64 # pseudo-terminals
445 pseudo-device tb 1 # tablet line discipline
446
447 # rnd is EXPERIMENTAL at this point.
448 #pseudo-device rnd # /dev/random and in-kernel generator
449 #options RND_COM # use "com" randomness as well (BROKEN)
450