#	$NecBSD: GACHAPIN,v 3.54.2.5 1999/09/20 03:05:49 kmatsuda Exp $
#	$NetBSD$
#
#	GACHAPIN -- 
#		kmatsuda's RA
#

include "arch/i386/conf/std.i386"

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options 	I386_CPU
options 	I486_CPU

# CPU-related options.
#options 	MATH_EMULATE	# floating point emulation
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
# eliminate delay no-ops in I/O; recommended on all but very old machines
#options 	DUMMY_NOPS

# Misc. i386-specific options
#options 	XSERVER		# X server support in console drivers

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	"CONSDEVNAME=\"com\""

# The following options override the memory sizes passed in from the boot
# block.  Use them *only* if the boot block is unable to determine the correct
# values.  Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options	FEXTMEM_SIZE=...	# size of extended memory below 16M
options 	SEXTMEM_SIZE=16384	# size of extended memory >= 16M

# Standard system options

options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
#options 	INSECURE	# disable kernel security levels

options 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

options 	KTRACE		# system call tracing via ktrace(1)

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing
#options 	SHMMAXPGS=1024	# 1024 pages is the default

options 	LKM		# loadable kernel modules

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
options 	DDB_HISTORY_SIZE=1024
#options 	KGDB		# remote debugger
#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
#makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
options 	COMPAT_09	# NetBSD 0.9,
options 	COMPAT_10	# NetBSD 1.0,
options 	COMPAT_11	# NetBSD 1.1,
options 	COMPAT_12	# NetBSD 1.2,
options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_43	# and 4.3BSD

#options 	COMPAT_SVR4	# binary compatibility with SVR4
#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD

# Executable format options
options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)

# File systems
file-system 	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system

# File system options
#options 	QUOTA		# UFS quotas
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
#options 	MROUTING	# IP multicast routing
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking protocols
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks

# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
#options 	TCP_COMPAT_42

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
options 	SCSIVERBOSE	# human readable SCSI error messages

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?
#config		netbsd	root on sd0a type ffs
#config		netbsd	root on ? type nfs

#
# Device configuration
#

mainbus0 at root

options 	CONFIG_DEVICES
options 	KTHREAD_VM86BIOSD	# Vm86bios tasks
#options 	APM_AUTO_START		# APM automatic start
options 	PCSD_AUTO_START		# PCSD automatic start
options 	IPPCTRL_AUTO_START	# IPPCTRL onetime attach
options 	MELCO_EUDF		#

# Basic Bus Support

systm0	at mainbus0		# system devices

# ISA bus support
isa0	at mainbus0		# isa bus with fixed resources

options 	AUTO_EOI_1	# enable automatic EOI for master 8259AC
options 	AUTO_EOI_2	# enable automatic EOI for slave 8259AC
#options	REORDER_IRQ	# pri order irq; PC-98 internal com first

# PCMCIA bus support
#options	 PCMCIAHW_IRQMASK=0x1028
gipc0	at systm?
pccs*	at gipc0

slot*	at pccs?
pisa*	at slot?

# ISA Plug-and-Play bus support
options 	IPP_IRQMASK=-1
#options	IPP_DEBUG
#options	IPPI_DEBUG
ippi0	at systm?
pisa*	at ippi0

#
# Dummy place holder
#
nulldv* at pisa?

# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0x0f8 irq 14	# math coprocessor

# Console Devices

# ISA console.  You can only configure one of these!
options 	SCREEN_SAVER	# console screen saver; recommended
				#  because we can be off later
options 	VSC_KMESG	#
options 	KBD_EXT		# kbd extensions; pcvt and syscons compat
				#  needed in use of X
options 	FONT_LOAD	# font loading facility

kbdc0	at isa? port 0x041 irq 1 flags 0x0
vsc0	at kbdc0
vc0	at vsc? drive 0 iosiz 0x8000 flags 0x00000025
vc1	at vsc? drive 1 iosiz 0x8000 flags 0x00000001
vc2	at vsc? drive 2 iosiz 0x8000 flags 0x00000001
vc3	at vsc? drive 3 iosiz 0x8000 flags 0x00000001
vc4	at vsc? drive 4 iosiz 0x8000 flags 0x00000001

# Serial Devices

#options 	SERI_SPEED=B115200		# default 115200
# ISA serial interfaces
ser*	at isa? port 0x030  irq 4  flags 0x00000000	# PC-98 internal
# PCMCIA serial interfaces
ser*	at pisa? 					# PCMCIA card (modem)
seri*	at ser? slave?
sertty*	at seri?
sern*	at ser? slave?
sertty*	at sern?

ttycom*	at sertty?
ttycua*	at sertty?

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x040 irq 8	# PC-98 internal (traditional mode)
#lpt1	at isa? port 0x540 irq 12	# IND-SPT printer port (bidirectional?)

# SCSI Controllers and Devices

# PCMCIA SCSI controllers
ncv*	at pisa? 
scsibus* at ncv?

stg*	at pisa?
scsibus* at stg?

#aic*	at isa? port 0x1840 irq 5 flags 0x10000	# NEC PC-9801-100
aic*	at pisa?
scsibus* at aic?

#133->141 NOT YET#spc*	at pisa?
#133->141 NOT YET#scsibus* at spc?

# ISA SCSI controllers
ct*	at pisa?					# PnP

# SCSI bus support
#scsibus* at bs?
scsibus* at ct?

# SCSI devices
sd0	at scsibus? target 0 lun 0 flags 0xffff000b 	# SCSI disk drives
sd1	at scsibus? target 1 lun 0 flags 0xffff000b 	# SCSI disk drives
#sd1	at scsibus? target 1 lun 0 flags 0x32ff010b 	# SCSI disk drives
sd2	at scsibus? target 2 lun 0 flags 0x32ff000b 	# SCSI disk drives
sd3	at scsibus? target 3 lun 0 flags 0x32ff010b 	# SCSI disk drives
sd4	at scsibus? target 4 lun 0 flags 0x32ff0303 	# SCSI disk drives
sd5	at scsibus? target 5 lun 0 flags 0x32ff0303 	# SCSI disk drives
sd6	at scsibus? target 6 lun 0 flags 0x32ff0303 	# SCSI disk drives
st*	at scsibus? target ? lun 0 flags 0x00000303	# SCSI tape drives
cd*	at scsibus? target ? lun ? flags 0x00000303	# SCSI CD-ROM drives

# IDE and Related Devices

# ISA IDE controllers
wdc0	at isa? port 0xcc8 irq 3 iomem 0xd0000 iosiz 0x1000 flags 0x20000
wdc*	at pisa?

# ATAPI bus support
atabus*	at wdc? bank ?

# IDE drives
wd*	at atabus? drive ?

# ATAPI devices
atapibus* at atabus?
cd*	  at atapibus? drive ?
sd*	  at atapibus? drive ?

# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x090 irq 11 drq 2
fd*	at fdc? drive ?
#fd0	at fdc? drive 0
#fd1	at fdc? drive 1

# Network Interfaces

# ISA network interfaces

# SMC EtherEZ98
options 	WE_DEBUG
we0	at isa? port 0x10d0 irq 6 iomem 0xc8000 iosiz 8192 flags 0x10000

options 	SIC_DEBUG
sic0	at isa? port 0x20d0 irq 6 flags 0x600000	# 3CJ5098 (PIO)
#sic0	at isa? port 0x20d0 irq 6 iomem 0xc0000 iosiz 0x8000 flags 0x600000	# 3CJ5098 (SHM)
sic1	at isa? port 0x00d0 irq 6 flags 0x500000	# SB-9801-T
sic2	at isa? port 0xa3d0 irq 6 flags 0x310000	# C-NET(98)L
sic3	at isa? port 0x43d0 irq 6 iomem 0xc0000 flags 0x200000	# C-NET(98)
sic4	at isa? port 0x00d0 irq 6 flags 0x400000	# PC-9801-77/78

#ne0	at isa? port 0xc8d0 irq 3 flags 0x100000	# LA-98-T
#ne0	at isa? port 0x00d0 irq 6 flags 0x400000	# LGY-98, IND-SP/SS
#ne0	at isa? port 0x46d0 irq 3 flags 0x500000	# ICM IF-2766/2771
ne1	at isa? port 0x0770 irq 3 flags 0x800000	# NEC-9801-108
# ISA Plug-and-Play network interfaces
# PCMCIA network interfaces
ne0	at pisa?

options 	LEDEBUG
cnle*	at isa? port 0x03d0 irq 6 drq 1		# CONTEC C-NET(98)S-12
le*	at cnle?

#options 	FE_DEBUG=4	# was 3
#mbe0	at isa? port 0x0d0 irq 3 flags 0x20000		# Allied Telesis RE100x
#mbe0	at isa? port 0x0d0 irq 6 flags 0x60000		# Allied Telesis RE100x
#mbe0	at isa? port 0x0d0 irq 6 flags 0x70000		# Ungermann-Bass PC85152
#mbe1	at isa? port 0x54d0 irq 5 flags 0x80000		# Ratoc REX-9886
#mbe*	at pisa?					# PCMCIA ether card
mbe0	at isa? port 0x0d0 irq 6 flags 0x70000		# Ungermann-Bass PC85152
mbe1	at isa? port 0x54d0 irq 5 flags 0x80000		# Ratoc REX-9886
mbe*	at pisa?					# PCMCIA ether card

#options 	FES_DEBUG=4	# was 3
fes0	at isa? port 0x0d0 irq 3 flags 0x10000		# AngeLan AL-98

sm*	at pisa?

options 	I82586_DEBUG
options 	IX_DEBUG
ix*	at isa? port 0x800 irq 6 flags 0x110000		# Intel EtherExpress 98

options 	SNDEBUG
sn*	at isa? port 0x888 irq 6 iomem 0xc0000		# NEC PC-9801-83
sn*	at pisa?

# MII/PHY support
#exphy*	at mii? phy ?			# 3Com internal PHYs
#icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
#inphy*	at mii? phy ?			# Intel 82555 PHYs
#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
#nsphy*	at mii? phy ?			# NS83840 PHYs
#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
#tlphy*	at mii? phy ?			# ThunderLAN PHYs
#ukphy*	at mii? phy ?			# generic unknown PHYs

# Audio Devices

# ISA audio devices
#sb0	at isa? port 0x20d2 irq 5 drq 3		# SoundBlaster16, def. setting
#sb0	at isa? port 0x20d2 irq 12 drq 3	# SoundBlaster16 (SB16.AYM/98)
#mpu*	at isa? port 0x80d2 irq 5 flags 0x30000	# SoundBlaster16 mpu401
#midi*	at sb?					# SoundBlaster8 midi

#necss0  at systm?			# Window Sound System (NEC)
#wss*	at necss?

# ISA Plug-and-Play audio devices
# PnP QVision WaveStar (sound + joy), WaveSMIT (sound + joy + SCSI)
qws*	at pisa?
pcm*	at qws?
yms*	at qws?
joy*	at qws?
mpu*	at qws?

#audio*	at sb?
#audio*	at wss?
audio*	at pcm?
audio*	at yms?
midi*	at mpu?
pmidi*	at mpu?

# Audio support

# The spkr driver provides a simple tone interface to the built in speaker.
#133->141 NOT YET#spkr0	at isa?

# Mice

# ISA busmice
olms0	at isa? port 0x7fd9 irq 13	# PC-98 bus mouse based on lms

# Joysticks

# ISA Plug-and-Play joysticks
# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0	at isa? port 0x4d0
#joy1	at isa? port 0x4d2
#joy*	at pisa?

# Miscellaneous Devices

# Pull in optional local configuration
include	"arch/i386/conf/GENERIC.local"

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	ccd		4	# concatenated/striped disk devices
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files

# sound pseudo-devices
pseudo-device	sndtm		1	# systm sound timer manager

# network pseudo-devices
pseudo-device	bpfilter	8	# Berkeley packet filter
#pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
#pseudo-device	ppp		2	# Point-to-Point Protocol
#pseudo-device	sl		2	# Serial Line IP
#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
#pseudo-device	tun		2	# network tunneling over tty

# miscellaneous pseudo-devices
pseudo-device	pty		64	# pseudo-terminals
#pseudo-device	tb		1	# tablet line discipline
# rnd works; RND_COM does not on port i386 yet.
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
