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