# BSDI $Id: GENERIC,v 1.27 1994/01/30 07:44:07 karels Exp $
#
# BSDI ISA 386/486 generic kernel
#
machine		"i386"
cpu		"i386"
ident		LOCAL
timezone	0			# use GMT in hardware clock
maxusers	15

options		"CS96"			# Routing changes for Mobile IP.

# Do make clean after changing the FASTTIMER option.
options		FASTTIMER		# 100ms TCP timer resolution.

# generic options
options		KTRACE			# syscall tracing
options		"COMPAT_43"		# required for now

# hardware-related options
#options	FPE			# floating point emulation
options		SCSI
#options	EISA
options	KBD=US			# US keyboard
options	CAPSLOCK_CONTROL	# caps lock becomes control

# network options
options		INET			# Internet: TCP/IP
options		GATEWAY			# IP routing
# options	NS			# XNS
# options	ISO			# ISO/OSI network
# options	PPP			# Point-to-Point Protocol
# options	CISCO_HDLC		# HDLC over sync serial
options		MULTICAST		# IP Multicast
options		MROUTING		# Multicast agent forwarding multicast

# The GWSCREEN option requires two files (net/gwscren.c and
# netinet/ip_screen.c) that are not included in BSD/386,
# but are available by anonymous FTP.
# options	GWSCREEN		# requires pseudo-device gwscreen

# filesystem options
options		NFS			# Network File System
options		MFS			# Memory File System
options		"ISO9660"		# ISO 9660 CD-ROM file system
options		MSDOSFS			# MS-DOS file system
options		QUOTA			# file system quotas
options		FIFO			# POSIX fifo devices

# debugging options
# options	DEBUG			# extensive kernel checking
options		DIAGNOSTIC		# standard kernel checks
# options	"COMCONSOLE=0"		# serial console unit
# options	KGDB			# cross-system kernel debugger
# options	"KGDBDEV=0x801"		# kgdb device, tty01

# Note: "swap generic" should be used only in a GENERIC kernel
# with all of the disk drivers included.
# Other systems should use something like one of the following:
# config	bsd	root on wd0a swap on wd0b and wd2b
config	bsd	root on sd0a swap on sd0b and wd0b
# config		bsd	swap generic

# ISA bus (or EISA)
controller	isa0

# Console
device		pccons0	at isa? port "IO_KBD"
device		pcaux0	at isa? port "IO_KBD" irq 12

# COM ports
device		com0	at isa? port "IO_COM1"
device		com1	at isa? port "IO_COM2"
#device		com2	at isa? port "IO_COM3"
#device		com3	at isa? port "IO_COM4"

# parallel printer port
# set flags to 0 for CRLF expansion, 1 for raw
# lp2 is LPT1 on PS/2 (MicroChannel), monochrome display adapter port,
# and some laptops.  IRQ cannot be shared, thus only one of lp0 and lp2
# will configure with irq 7 in this configuration.
device		lp0	at isa? port 0x378 flags 1 irq 7
#device		lp1	at isa? port 0x278 flags 1
device		lp2	at isa? port 0x3BC flags 1 irq 7

# Floppy drives
controller	fdc0	at isa? port "IO_FD1" drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

# IDE/ESDI/RLL/ST-506 Hard drives
controller	wdc0	at isa? port "IO_WD1"
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	wdc1	at isa? port "IO_WD2"
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

# Numeric coprocessor (387 or on-board 486)
device		npx0	at isa? port "IO_NPX"

# VGA display adapter (only needed for X)
device		vga0	at isa? port "IO_VGA" iomem 0xa0000 iosiz 65536

# Microsoft BusMouse driver (works with ATI Ultra busmouse)
device		bms0	at isa? port 0x23c irq 5

# Logitec Bus Mouse, same location as bms0 (works with ATI Ultra Pro mouse)
device		lms0	at isa? port 0x23c irq 5

# Adaptec 1542B SCSI controller and possible st/sd devices
controller	aha0	at isa? port 0x330 drq 5
controller	tg0	at aha0
controller	tg1	at aha0
controller	tg2	at aha0
controller	tg3	at aha0
controller	tg4	at aha0
controller	tg5	at aha0
controller	tg6	at aha0
disk		sd0	at tg? targetbase 0
disk		sd1	at tg? targetbase 1
disk		sd2	at tg? targetbase 2
disk		sd3	at tg? targetbase 3
disk		sd4	at tg? targetbase 4
disk		sd5	at tg? targetbase 5
disk		sd6	at tg? targetbase 6
tape		st0	at tg? targetbase 0
tape		st1	at tg? targetbase 1
tape		st2	at tg? targetbase 2
tape		st3	at tg? targetbase 3
tape		st4	at tg? targetbase 4
tape		st5	at tg? targetbase 5
tape		st6	at tg? targetbase 6

# WaveLAN, which uses the board's IRQ, so must go before we0, ex0, and ef0,
# to prevent the system from giving away WaveLAN's IRQ to one of those
# boards.
device wl0 at isa? port 0x390
device wl1 at isa? port 0x3e0

# Devices that can select their own IRQ or other parameters
# are placed last so that other devices get first choice.

# Western Digital/SMC family of ethernet adapters, plus 3COM 3C503
# first, Western Digital/SMC addresses; check for 16 KB memory by default
# Our card is set by software to irq 10.
device we0 at isa? port 0x280 iomem 0xd0000 iosiz 16384

# Intel EtherExpress 16 Ethernet adaptor
device	ex0 at isa? port 0x260

# 3COM EtherLink III 3C509 Ethernet adaptor; port is set from kernel config
# also uses port 0x100 to set the specified port
device	ef0 at isa? port 0x250

# CS96 null network interface.
pseudo-device	null

pseudo-device	loop
pseudo-device	pty
pseudo-device	ether
pseudo-device	sl	1
#pseudo-device	appp	4		# requires options PPP
pseudo-device	log
pseudo-device	bpfilter 10
#pseudo-device	gwscreen		# requires option GWSCREEN
