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