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