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