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