#	$NecBSD: GLOSS,v 3.19.2.4 1999/09/20 03:05:50 kmatsuda Exp $
#	$NetBSD$
#
#	GLOSS -- kmatsuda's gloss over Cherry blossom Lips
#			NEC PC-9801NA120/C
#	test box for external peripherals (NOTE 110 pin) and IC cards
#

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

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options 	I386_CPU	# CPU classes; at least one is REQUIRED
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 	REALBASEMEM=...	# size of base memory
#options 	REALEXTMEM=...	# size of extended memory

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

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

mainbus0 at root

systm0	at mainbus0		# system devices

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

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

options 	LINEIS25	# console line is 25
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 0x00000000
vsc0	at kbdc0
vc*	at vsc? drive ? iosiz 0x8000 flags 0x00000021

ser*	at isa? port 0x030  irq 4  flags 0x00000000	# PC-98 internal

serf*	at ser? slave?
sertty*	at serf?

seri*	at ser? slave?
sertty* at seri?

ttycom* at sertty?
ttycua* at sertty?

lpt0	at isa? port 0x040 irq 8	# PC-98 internal (traditional mode)

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

fdc0	at isa? port 0x090 irq 11 drq 2
fd0	at fdc? drive 0

wdc0	at isa? port 0x640 irq 9
atabus* at wdc?

atabus*   at wdc? bank ?
wd*	  at atabus? drive ?
atapibus* at atabus?
cd*	  at atapibus? drive ?
sd*	  at atapibus? drive ?


options 	SIC_DEBUG
sic0	at isa? port 0x10d0 irq 3 flags 0x700000	# EtherLink/98N
sic1	at isa? port 0x00d0 irq 6 flags 0x500000	# SN-9801
sic2	at isa? port 0xa3d0 irq 6 flags 0x300000	# C-NET(9N)L
sic3	at isa? port 0x43d0 irq 6 iomem 0xc0000 iosiz 0x4000 flags 0x200000	# C-NET(9N)

ne*	at isa? port 0x56d0 irq 5  flags 0x500000	# ICM IF-2766/2771

#options 	FE_DEBUG=4
mbe0	at isa? port 0x64d0 irq 6 flags 0x90000		# Ratoc REX-9883
#mbe1	at isa? port 0x73d0 irq 5 flags 0xa0000		# CONTEC C-NET(9N)E-03
mbe1	at isa? port 0x73d0 irq 5 flags 0xd0000		# CONTEC C-NET(9N)C-10

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

# 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

#133->141 NOT YET#spkr0	at isa?

#
# Advanced Power Management drivers: `apm'
#
apm0	at systm?

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	# virtual partition driver

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