*BSD News Article 23073


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!mimbres.cs.unm.edu!ncar!gatech!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft
From: mycroft@duality.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Options in kernel config file
Date: 30 Oct 1993 22:14:10 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 141
Message-ID: <MYCROFT.93Oct30181410@duality.gnu.ai.mit.edu>
References: <CFLAx3.KyJ@cc.umontreal.ca>
NNTP-Posting-Host: duality.gnu.ai.mit.edu
In-reply-to: surprenc@beryl's message of Thu, 28 Oct 1993 04:24:38 GMT


In article <CFLAx3.KyJ@cc.umontreal.ca> surprenc@beryl (Surprenant
Colin) writes:

   Is there a description of all the options (INET, ISOFS, KERNFS,
   ...) we can put in a [NetBSD-0.9] kernel config file? 

Below is a preliminary copy of the GENERIC configuration for NetBSD
1.0.  There are a few differences between this and 0.9's config file
format, but it should be relatively obvious what they are.  (There are
some device drivers not listed here yet, but they are not in 0.9
anyway.)

#
#	GENERIC -- everything that's currently supported
#
#	$Id: GENERIC,v 1.9 1993/10/26 12:20:35 mycroft Exp $
#

# standard options
machine		"i386"
options		"I386_CPU"		# 386DX, 386SX, etc.
options		"I486_CPU"		# 486DX, 486SX, 486SLC, etc.
#options	DUMMY_NOPS		# speed hack; dangerous

options		GENERIC			# historical
maxusers	16			# estimated number of users
options		TIMEZONE=300, DST=1	# time zone to read RTC in
options		SWAPPAGER		# paging
options		VNODEPAGER,DEVPAGER	# vnode and device node caching
options		DDB			# kernel debugger; recommended
#options	DIAGNOSTIC		# internal consistency checking

options		KTRACE			# system call tracing, a la ktrace(1)
options		FIFO			# fifos; recommended
#options	SYSVSHM			# System V shared memory; broken
#options	"SHMMAXPGS=1024"
options		LKM			# loadable kernel modules

# compatibility options
options		"COMPAT_NOMID"		# old zmagic executables
options		"COMPAT_43"		# 4.3 system calls
options		"TCP_COMPAT_42"		# 4.2 networking ABI

# file system options
options		QUOTA			# file system quotas
options		FFS			# Berkeley fast file system
options		FASTLINKS		# fast symbolic links in FFS
options		MFS			# memory file system; uses RAM and swap
options		NFSSERVER		# Network File System server
options		NFSCLIENT		# Network File System client
options		ISOFS			# ISO 9660 CD-ROM file system, with RR
options		MSDOSFS			# MS-DOS FAT file system
options		FDESC			# /dev/fd
options		KERNFS			# kernel file system; recommended

# networking options
options		GATEWAY			# packet forwarding
options		INET			# IP
options		NS			# XNS
options		CCITT			# X.25
options		ISO			# OSI
options		TPIP			# ?
options		EON			# ?

config		netbsd swap generic

include		"std.i386"

#timer1 at isa? port 0x48			# only in EISA boxes

#console
pc0 at isa?

#math co-processor
npx0 at isa? port 0xf0

#serial ports
com0 at isa? port 0x3f8				# 8250, 16450, 16550
com1 at isa? port 0x2f8
com2 at isa? port 0x3e8
com3 at isa? port 0x2e8

#parallel ports
lpt0 at isa? port 0x378
lpt1 at isa? port 0x278
lpt2 at isa? port 0x3bc

#bus mice
mms0 at isa? port 0x23c				# MicroSoft InPort
mms1 at isa? port 0x238
lms0 at isa? port 0x23c				# Logitech
lms1 at isa? port 0x238
pms0 at isa? port 0x60				# PS/2 auxiliary port

#non-scsi disk controllers
wdc0 at isa? port 0x1f0				# MFM, RLL, IDE, ESDI
wdc1 at isa? port 0x170
wd* at wdc? drive ?

#non-scsi floppy controllers
fdc0 at isa? port 0x3f0 drq 2
fdc1 at isa? port 0x370 drq 3
fd* at fdc? drive ?

#non-scsi tape drives
wt0 at isa? port 0x300 drq 1			# QIC-02, QIC-36

#scsi
aha0 at isa? port 0x330 drq 5			# Adaptec 1542
#aha1 at isa? port 0x334 drq ?
ahb0 at isa? port 0x330 drq 5			# Adaptec 1742
bt0 at isa? port 0x330 drq 5			# Bustec 742
#bt1 at isa? port 0x334 drq ?
uha0 at isa? port 0x330 drq 5			# UltraStor 14f, 34f
wds0 at isa? port 0x350 drq 5			# WD 7000

tg* at scsi? target ?

sd* at tg? drive ?				# SCSI disks
st* at tg? drive ?				# SCSI tapes
cd* at tg? drive ?				# SCSI CD-ROMs
ch* at tg? drive ?				# SCSI autochangers

#ethernet
ed0 at isa? port 0x300				# Novell NE1000, NE2000
ed0 at isa? port 0x300 iomem 0xcc000		# SMC hardware config
ed0 at isa? port 0x300 iomem 0xd0000		# old SMC default
ed0 at isa? port 0x250 iomem 0xd8000		# 3C503 default config
#hp0 at isa? port 0x300
is0 at isa? port 0x280 drq 7			# IsoLAN AT 4141, IsoLink 4110

pseudo-device	fpe				# floating point emulator
#pseudo-device	spkr				# speaker queue
pseudo-device	pty 64				# pseudo-terminals
pseudo-device	loop 1				# loopback network
pseudo-device	bpfilter 4			# packet filter
pseudo-device	sl 1				# compressed SLIP
pseudo-device	ppp 1				# Point-to-Point Protocol
#pseudo-device	tb 2				# was never ported to 4.4
#pseudo-device	tun				# missing header files