#
# Mobile Gear (NECMG) Kernel Configuration
# Shin Takemura takemura@ca2.so-net.ne.jp
# $Id: NECMG,v 1.1.4.3 1998/12/23 01:23:05 hosokawa Exp $
#

machine		"necmg"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
#cpu		"I686_CPU"
ident		NECMG
maxusers	6

options		NECMG			#NEC Mobile Gear
options		NECMG_ZOOMCONS
options		MAXCONS=4

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
#options	NFS			#Network Filesystem
#options	MFS			#Memory Filesystem
options		MSDOSFS			#MSDOS Filesystem
#options	"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
#options	USERCONFIG		#boot -c editor
#options	VISUAL_USERCONFIG	#visual boot -c editor

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
#options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR       

# Suspend the system when the battery status is "Low"
#options	"APM_BATT_LOW_SUSPEND"

# If you want to use NTP on laptop machines, uncomment the following 
# option.  Current APM implementation affects NTP client.
#options	"APM_NO_CLOCK_ADJUST"

# Some X-servers cannot survive suspend/resume on laptop.
# This option kicks her when the system is resumed from suspended mode.
#options	SYSCONS_VTY_RESUME


config		kernel	root on wd0

controller	isa0

# Dont remove these two lines!
pseudo-device	card	1

device		pcic0   at isa? port 0x3e0 irq 11 vector pcicintr

controller	wdc0	at isa? disable port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

device		sio0	at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
device		sio1	at isa? port "IO_COM3" tty irq 9 vector siointr

pseudo-device	loop
pseudo-device	log
pseudo-device	sl	1
# DHCP uses BPF (Berkeley Packet Filter)
#pseudo-device   bpfilter        4
# ijppp uses tun instead of ppp device
#pseudo-device	ppp	1
#pseudo-device	vn	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

#options		DDB

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options		KTRACE		#kernel tracing

# This provides support for System V shared memory.
#
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

