#	$NetBSD$
#

include "arch/pc98/conf/std.pc98"

maxusers	16		# estimated number of users

# CPU support.  At least one is REQUIRED.
#options 	I386_CPU
#options 	I486_CPU
options 	I586_CPU
#options 	I686_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

options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
options 	INSECURE	# disable kernel security levels
options 	XSERVER		# X server support in console drivers

options 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT

options 	KTRACE		# system call tracing via ktrace(1)
options 	SYSTRACE	# system call vetting via systrace(1)

options 	SYSVMSG         # System V-like message queues
options 	SYSVSEM         # System V-like semaphores
#options 	SEMMNI=10       # number of semaphore identifiers
#options 	SEMMNS=60       # number of semaphores in system
#options 	SEMUME=10       # max number of undo entries per process
#options 	SEMMNU=30       # number of undo structures in system
options 	SYSVSHM         # System V-like memory sharing
options 	SHMMAXPGS=8192  # 2048 pages is the default

options 	DIAGNOSTIC	# expensive kernel consistency checks
options 	DEBUG		# expensive debugging checks/support
options 	DDB		# in-kernel debugger
options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB

options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_14	# NetBSD 1.4,
options 	COMPAT_15	# NetBSD 1.5,
options 	COMPAT_43	# and 4.3BSD

#options 	COMPAT_OLDBOOT

# File systems
file-system 	FFS		# UFS
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 	KERNFS		# /kern
#file-system 	NULLFS		# loopback file system
file-system 	PROCFS		# /proc

# Networking options
options 	INET		# IP + ICMP + TCP + UDP

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
#options 	SCSIVERBOSE	# human readable SCSI error messages
#options 	USBVERBOSE	# verbose USB device autoconfig messages
#options 	I2OVERBOSE	# verbose I2O driver messages

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP

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


#
# Device configuration
#

mainbus0 at root

cpu* at mainbus?


# Basic Bus Support

# PCI bus support
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pccb*	at pci? dev ? function ?	# PCI-CBus bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
puc*	at pci? dev ? function ?	# PCI "universal" comm. cards


# CBus support
cbus*	at mainbus?
cbus*	at pccb?

# PCMCIA bus support
pcmcia* at pcic? controller ? socket ?

# CBus PCMCIA controllers
pcic0	at cbus? port 0x3e0 iomem 0xc0000 iosiz 0x2000

options 	PCIC_CBUS_INTR_ALLOC_MASK=0x1028

# Coprocessor Support

# Math Coprocessor support
npx0	at cbus? port 0xf8 irq 14	# x86 math coprocessor

# Console Devices

# You can only configure one of these!
pc0	at cbus? port 0x41 irq 1	# generic console device

# Serial Devices

# CBus serial interfaces
#ser0	at cbus? port 0x30 irq 4	# Internal 1st serial ports

#seri*	at ser? slave?

#sertty*	at seri?

# IDE and related devices

# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
#pciide* at pci? dev ? function ? flags 0x0000

# PCMCIA IDE controllers
wdc*	at pcmcia? function ?

# CBus IDE controllers
wdc0	at cbus? port 0x640 irq 9

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at wdc? channel ? drive ? flags 0x0000
#wd*	at pciide? channel ? drive ? flags 0x0000

# ATAPI bus support
#atapibus* at wdc? channel ?

# ATAPI devices
# flags have the same meaning as for IDE drives.
#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown

# Network Interfaces

# PCMCIA network interfaces
ne*	at pcmcia? function ?		# NE2000-compatible Ethernet

# CBus network interfaces
#ne0	at cbus? port 0x56d0 irq 6	# NE[12]000 ethernet cards

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

# Pseudo-Devices

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

# 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	gre		2	# generic L3 over IP tunnel
#pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	vlan			# IEEE 802.1q encapsulation

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#pseudo-device	sequencer	1	# MIDI sequencer
# 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)
pseudo-device	clockctl		# user control of clock subsystem
