#	$NecBSD: Julia,v 3.46.2.4 1999/09/20 03:05:51 kmatsuda Exp $
#	$NetBSD$
#
#	Julia -- kernel for kmatsuda's NEC PC-9821 Ap.
#

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
#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

# Misc. i386-specific options
#options 	XSERVER

# 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=...	# 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 	SCSIVERBOSE	# human readable SCSI error messages

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

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 	CYRIX_5X86_PCR0=0x0	# enable some features for Cyrix 5x86

#
# Device configuration
#

mainbus0 at root

systm0	at mainbus0

# Basic Bus Support

# ISA bus support
isa0	at mainbus0
#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

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

#
# Dummy place holder
#
nulldv* at pisa?

# Coprocessor Support

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

# Console Devices

# ISA console.  You can only configure one of these!
options 	LINEIS25	# console line is 25
options 	SCREEN_SAVER	# console screen saver; recommended
options 	VSC_KMESG
options 	KBD_EXT		# kbd extensions; pcvt and syscons compat
options 	FONT_LOAD	# font loading facility
#options 	EXTERNAL_WINDOW_BOARDS	# panic escape in X;
#options 	PW		# with graphic board PW801/805i (C bus)

kbdc0	at isa? port 0x041 irq 1 flags 0x00000000
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

# Serial Devices
ser0	at isa? port 0x030  irq 4  flags 0x00000000	# PC-98 internal
#ser1	at isa? port 0x0b0  irq 3  flags 0x00030000	# IND-SP/SS ext1
serf*	at ser? slave?
sertty*	at serf?
seri*	at ser? slave?
sertty*	at seri?
sera*	at ser? slave?
sertty*	at sera?

ttycom*	at sertty?
ttycua*	at sertty?

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x040 irq 8
#lpt1	at isa? port 0x540 irq 12

# SCSI Controllers and Devices

# ISA SCSI controllers

# SCSI bus support
# For IO-DATA SC-98III board:
#ct0	at isa? port 0xcc0 irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
# For TEXA HA-55BS2 board:
#ct0	at isa? port 0xcc0 irq 5 drq 3 flags 0x20000	# TEXA
#ct*	at pisa?
#scsibus* at ct?
ct*	at pisa?
scsibus* at ct?

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

# SCSI devices
# SCSI chain:
# sd0 (id 0): TEXA ESTATE 540A (sometimes... this has X binaries)
# sd1 (id 1): TEXA STATION 240LBS (sometimes... for work area)
# sd2 (id 2): COPAL Filo 230 (sometimes...)
# sd3 (id 3): TEXA STATION 120/240LBS (sometimes... this has current sources)
# sd4 (id 4): TEXA STATION 120/240LBS (sometimes...)
sd0	at scsibus? target 0 lun 0 flags 0x32ff000b 	# 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 0x32080003	# 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 0x640 irq 9

# ATAPI bus support
atabus*	at wdc? bank ?

# IDE drives
wd*	at atabus? drive ?

# Miscellaneous mass storage devices

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

# Network Interfaces

# ISA Plug-and-Play network interfaces

# PCMCIA network interfaces
options 	SIC_DEBUG
sic0	at isa? port 0xa3d0 irq 6  flags 0x310000	# C-NET(98)L
sic1	at isa? port 0x43d0 irq 6  iomem 0xc0000 flags 0x200000	# C-NET(98)

#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
ne0	at isa? port 0x0770 irq 3  flags 0x800000	# NEC-9801-108
ne3	at pisa?

# For mbe (Allied Telesis RE1000plus) debug:
#options 	FE_DEBUG=3	# for Allied Telesis RE1000plus debug
#mbe*	at isa? port 0x01d4 irq 3 flags 0x10000		# Allied Telesis RE100x
#mbe*	at isa? port 0x01d4 irq 3 flags 0x20000		# Allied Telesis RE100x
#mbe*	at pisa?
mbe*	at isa? port 0x01d4 irq 3 flags 0x10000		# Allied Telesis RE100x
mbe*	at pisa?

#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 Plug-and-Play audio devices
# ISA audio devices
necss0	at systm?				# Windows Sound System (NEC)
pcm*	at necss?
yms*	at necss?

audio*	at pcm?
audio*	at yms?

# 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

# Joysticks

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

# 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
pseudo-device	vpd		4	#

# 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)
