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