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