*BSD News Article 20697


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft
From: mycroft@trinity.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: [NetBSD-0.9] config
Date: 10 Sep 1993 01:00:45 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 232
Message-ID: <MYCROFT.93Sep9210046@trinity.gnu.ai.mit.edu>
References: <CD1JrE.Mv9@pilhuhn.sub.org> <1993Sep8.170459.6980@gmd.de>
	<GLASS.93Sep8121515@sun-lamp.postgres.Berkeley.EDU>
	<michaelv.747520602@ponderous.cc.iastate.edu>
NNTP-Posting-Host: trinity.gnu.ai.mit.edu
In-reply-to: michaelv@iastate.edu's message of Wed, 8 Sep 1993 20:36:42 GMT


In article <michaelv.747520602@ponderous.cc.iastate.edu>
michaelv@iastate.edu (Michael L. VanLoon) writes:

   Which brings up the topic: what is all that crap in the config file
   anyway?

In the next release, the ALL config file will have a bunch of comments
that I added.  A couple of the options are meaningless in 0.9, but
it's close enough.  This will very likely change significantly before
the next release, as I am almost convinced I want to switch this port
to the new config.


#
#	ALL -- everything that's currently supported
#
#	$Id: ALL,v 1.26 1993/09/07 00:36:27 mycroft Exp $
#

# architecture type and name of kernel; REQUIRED
machine		"i386"
ident		ALL

# different CPU types; you must have at least the correct one; REQUIRED
cpu		"I386_CPU"
cpu		"I486_CPU"

# floating point emulation
options		MATH_EMULATE

# make the kernel a little faster; will break on some machines
#options		DUMMY_NOPS

# temporary kluge while adding support for non-contiguous physical memory
options		MACHINE_NONCONTIG

# time zone RTC is expected to be set in; REQUIRED
timezone	8 dst

# estimated number of users; affects maximum number of file descriptors
maxusers	32

# paging of processes, and caching vnodes and devices; REQUIRED
options		SWAPPAGER
options		VNODEPAGER,DEVPAGER

# system call tracing, a la ktrace(1)
options		KTRACE

# FIFOs; RECOMMENDED
options		FIFO

# System V-like memory sharing; BROKEN
#options		SYSVSHM
#options		SHMMAXPGS=1024

# process accounting
options		ACCOUNTING

# generic SCSI system
options		SCSI

# quotas in UFS
options		QUOTA

# memory file system (shares memory and swap space)
options		MFS

# Sun's Network File System
options		NFSSERVER
options		NFSCLIENT

# ISO 9660 file system, with Rock Ridge
options		ISOFS

# MS-DOS file system
options		MSDOSFS

# /dev/fd
options		FDESC

# kernel file system; RECOMMENDED
options		KERNFS

# various types of networks and protocols
#options		IMP	 
options		INET
options		NS
options		ISO
options		TPIP
options		EON
options		CCITT

# packet forwarding
options		GATEWAY

# kernel debugger
options		DDB

options		"COMPAT_NOMID"
options		"COMPAT_43"
options		"TCP_COMPAT_42"

config		netbsd	at 0xfe100000 root on wd0 swap on wd0 and sd0

#buses
controller	isa0

#console
device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint

#math co-processor
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#serial ports
device		com0	at isa? port "IO_COM1" tty irq 4 vector comintr
device		com1	at isa? port "IO_COM2" tty irq 3 vector comintr
#device		com2	at isa? port "IO_COM3" tty irq 5 vector comintr
#device		com3	at isa? port "IO_COM4" tty irq 9 vector comintr

#parallel ports
device		lpt0	at isa? port "IO_LPT1" tty irq 7 vector lptintr
device		lpa0	at isa? port "IO_LPT2" tty
device		lpa1	at isa? port "IO_LPT3" tty

#bus mice
# Microft InPort
device		mms0	at isa? port "IO_BMS1" tty irq 5 vector mmsintr
# Logitech
device		lms0	at isa? port "IO_BMS1" tty irq 5 vector lmsintr
# PS/2 auxiliary port; BROKEN
#device		pms0	at isa? port "IO_KBD" tty irq 5 vector pmsintr

#non-scsi disk controllers
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

#non-scsi floppy controllers
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

#non-scsi tape drives
device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr

#scsi
controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
device		sd0	at aha0 flags 0 drive ?
device		sd1	at aha0 flags 0 drive ?
device		sd2	at aha0 flags 0 drive ?
device		sd3	at aha0 flags 0 drive ?
device		st0	at aha0 flags 1 drive ?
device		st1	at aha0 flags 1 drive ?
device		cd0	at aha0 flags 2 drive ?
device		cd1	at aha0 flags 2 drive ?
device	        ch0	at aha0 flags 3 drive ?
device	        ch1	at aha0 flags 3 drive ?

controller	ahb0	at isa? bio irq 11 drq 5 vector ahbintr
device		sd0	at ahb0 flags 0 drive ?
device		sd1	at ahb0 flags 0 drive ?
device		sd2	at ahb0 flags 0 drive ?
device		sd3	at ahb0 flags 0 drive ?
device		st0	at ahb0 flags 1 drive ?
device		st1	at ahb0 flags 1 drive ?
device		cd0	at ahb0 flags 2 drive ?
device		cd1	at ahb0 flags 2 drive ?
device	        ch0	at ahb0 flags 3 drive ?
device	        ch1	at ahb0 flags 3 drive ?

controller	bt0	at isa? port "IO_BT0" bio irq 11  vector btintr
device		sd0	at bt0 flags 0 drive ?
device		sd1	at bt0 flags 0 drive ?
device		sd2	at bt0 flags 0 drive ?
device		sd3	at bt0 flags 0 drive ?
device		st0	at bt0 flags 1 drive ?
device		st1	at bt0 flags 1 drive ?
device		cd0	at bt0 flags 2 drive ?
device		cd1	at bt0 flags 2 drive ?
device	        ch0	at bt0 flags 3 drive ?
device	        ch1	at bt0 flags 3 drive ?

controller	uha0	at isa? port "IO_UHA0" bio irq 11 drq 5 vector uhaintr
device		sd0	at uha0 flags 0 drive ?
device		sd1	at uha0 flags 0 drive ?
device		sd2	at uha0 flags 0 drive ?
device		sd3	at uha0 flags 0 drive ?
device		st0	at uha0 flags 1 drive ?
device		st1	at uha0 flags 1 drive ?
device		cd0	at uha0 flags 2 drive ?
device		cd1	at uha0 flags 2 drive ?
device	        ch0	at uha0 flags 3 drive ?
device	        ch1	at uha0 flags 3 drive ?

#ethernet
device ne0 at isa? port 0x300 net irq 9 vector neintr
device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
#device we0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 8192 vector weintr
device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
device hp0 at isa? port 0x300 net irq 5 vector hpintr
device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr

# psuedo-terminals; REQUIRED for remote logins and many other things
pseudo-device pty	64

# loopback; RECOMMENDED
pseudo-device loop

# ethernet; REQUIRED if using any ethernet device
pseudo-device ether #XXX

# used by kernel for logging messages; gateway to syslogd
pseudo-device log

# packet filter
pseudo-device bpfilter	4

# compressed SLIP
pseudo-device sl

# point-to-point protocol
pseudo-device ppp

# speaker queue
pseudo-device speaker

#pseudo-device tb	2	was never ported to 4.4
#pseudo-device tun	missing header files