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