#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: stable/2.2/sys/pc98/conf/GENERIC98 50950 1999-09-05 08:39:22Z peter $

# GENERIC98 -- Generic PC98 machine with WD/SCSI disks

machine		"pc98"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		"GENERIC98"
maxusers	32

options		"PC98"			#PC98
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network 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		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
#options		EPSON_MEMWIN		#EPSON memory window support
options		UCONSOLE		#Allow users to grab the console
options		"LINE30"
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		SYSVSHM			
options		SYSVSEM
options		SYSVMSG

options		AUTO_CLOCK
options		COM_MULTIPORT

#
#	IBM-PC HDD support
#options	COMPAT_ATDISK

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
disk		fd2	at fdc0 drive 2
disk		fd3	at fdc0 drive 3
tape		ft0	at fdc0 drive 4

controller	wdc0	at isa? port "IO_WD1" bio irq 9 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1
#disk		wd2	at wdc0 drive 2
#disk		wd3	at wdc0 drive 3

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0		#IDE CD-ROM
#device		wfd0		#IDE floppy (LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.

controller	ncr0
controller	amd0
controller	ahc0

#
# WD33C93 SCSI card (55/92 like board)
#

options	BS_TARG_SAFEMODE

# PC-9801-92
controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
# SC-98
# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
# HA-55BS2 and later
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
# ELECOM type
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
# SMIT
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 vector bsintr
# Logitec LHA-20x
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr

controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr

controller	scbus0

device		sd0

device		od0	#See LINT for possible `od' options.

device		st0

device		cd0	#Only need one of these, the code dynamically grows

controller	matcd0	at isa? port? bio

# 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" irq 8 flags 0x1 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port 0xd2  tty irq 5 flags 0x101 vector siointr
device		sio2	at isa? port 0x8d2 tty flags 0x101 vector siointr

device		lpt0	at isa? port "IO_LPT"  tty
device		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device fxp0
device tl0
device tx0
device vx0
device xl0

#
# DP8390 NIC
# ed0: generic driver/EtherEZ98
# ed1: LANEED LD-BDN
# ed2: EGY-98
# ed3: LGY-98
# ed4: ICM-IF-2766/EN-2298-T
# ed5: SIC-98
# ed6: PC-9801-108
# ed7: LA-98
# ed8: C-NET(98)
# ed9: C-NET(98)E/L
#
# MB86960 NIC
# fe0: RE1000/1000Plus/AccessPC N98C+
# fe1: C-NET(98)P2/C-NET(9N)E
#
device ed0 at isa? port 0x00d0 net irq 6 vector edintr
#device ed0 at isa? port 0x10d0 net irq 6 iomem 0xc8000 iosiz 8192 vector edintr	# SMC EtherEZ98
device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
device ed6 at isa? port 0x0770 net irq 6 flags 0x800000 vector edintr
device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr

device ep0 at isa? port 0x40d0 net irq 3 vector epintr
device fe0 at isa? port 0x00d0 net irq 3 vector feintr
device fe1 at isa? port 0x73d0 net irq 5 vector feintr
device lnc0 at isa? port 0x03d0 net irq 6 vector lncintr
device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 

#controller	snd0
#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
#device	sbxvi0 	at isa? drq 3
#device	sbmidi0	at isa? port 0x80d2
#device	opl0	at isa? port 0x28d2
#device pcm0    at isa? port 0xa460 irq 12 vector pcmintr
#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	vn	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# 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

