GENERIC revision 40456
133965Sjdp#
233965Sjdp# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
333965Sjdp#
433965Sjdp# For more information read the handbook part System Administration -> 
533965Sjdp# Configuring the FreeBSD Kernel -> The Configuration File. 
633965Sjdp# The handbook is available in /usr/share/doc/handbook or online as
733965Sjdp# latest version from the FreeBSD World Wide Web server 
833965Sjdp# <URL:http://www.FreeBSD.ORG/>
933965Sjdp#
1033965Sjdp# An exhaustive list of options and more detailed explanations of the 
1133965Sjdp# device lines is present in the ./LINT configuration file. If you are 
1233965Sjdp# in doubt as to the purpose or necessity of a line, check first in LINT.
1333965Sjdp#
1433965Sjdp#	$Id: GENERIC98,v 1.50 1998/10/13 08:14:33 kato Exp $
1533965Sjdp
1633965Sjdp# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
1733965Sjdp
1833965Sjdpmachine		"pc98"
1933965Sjdpcpu		"I386_CPU"
2033965Sjdpcpu		"I486_CPU"
2133965Sjdpcpu		"I586_CPU"
2233965Sjdpcpu		"I686_CPU"
2333965Sjdpident		"GENERIC98"
2433965Sjdpmaxusers	32
2533965Sjdp
2633965Sjdpoptions		"PC98"			#PC98
2733965Sjdpoptions		MATH_EMULATE		#Support for x87 emulation
2833965Sjdpoptions		INET			#InterNETworking
2933965Sjdpoptions		FFS			#Berkeley Fast Filesystem
3033965Sjdpoptions		FFS_ROOT		#FFS usable as root device [keep this!]
3133965Sjdpoptions		MFS			#Memory Filesystem
3233965Sjdpoptions		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
3333965Sjdpoptions		NFS			#Network Filesystem
3433965Sjdpoptions		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
3533965Sjdpoptions		MSDOSFS			#MSDOS Filesystem
3633965Sjdpoptions		"CD9660"		#ISO 9660 Filesystem
3733965Sjdpoptions		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
3833965Sjdpoptions		PROCFS			#Process filesystem
3933965Sjdpoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
4033965Sjdpoptions		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
4133965Sjdpoptions		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
4233965Sjdp#options		EPSON_MEMWIN		#EPSON memory window support
4333965Sjdpoptions		UCONSOLE		#Allow users to grab the console
4433965Sjdpoptions		"LINE30"
4533965Sjdpoptions		FAILSAFE		#Be conservative
4633965Sjdpoptions		USERCONFIG		#boot -c editor
4733965Sjdpoptions		VISUAL_USERCONFIG	#visual boot -c editor
4833965Sjdp
4933965Sjdpoptions		SYSVSHM			
5033965Sjdpoptions		SYSVSEM
5133965Sjdpoptions		SYSVMSG
5233965Sjdp
5333965Sjdpoptions		COM_MULTIPORT
5433965Sjdp
5533965Sjdp#
5633965Sjdp#	IBM-PC HDD support
5733965Sjdp#options	COMPAT_ATDISK
5833965Sjdp
5933965Sjdpconfig		kernel	root on wd0
6033965Sjdp
6133965Sjdpcontroller	isa0
6233965Sjdpcontroller	pci0
6333965Sjdp
6433965Sjdpcontroller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
6533965Sjdpdisk		fd0	at fdc0 drive 0
6633965Sjdpdisk		fd1	at fdc0 drive 1
6733965Sjdpdisk		fd2	at fdc0 drive 2
6833965Sjdpdisk		fd3	at fdc0 drive 3
6933965Sjdptape		ft0	at fdc0 drive 4
7033965Sjdp
7133965Sjdp# options		"CMD640"	# work around CMD640 chip deficiency
7233965Sjdpcontroller	wdc0	at isa? port "IO_WD1" bio irq 9 vector wdintr
7333965Sjdpdisk		wd0	at wdc0 drive 0
7433965Sjdp#disk		wd1	at wdc0 drive 1
7533965Sjdp#disk		wd2	at wdc0 drive 2
7633965Sjdp#disk		wd3	at wdc0 drive 3
7733965Sjdp
7833965Sjdpoptions		ATAPI	# Enable ATAPI support for IDE bus
7933965Sjdpoptions		ATAPI_STATIC	#Don't do it as an LKM
8033965Sjdpdevice		wcd0	#IDE CD-ROM
8133965Sjdp
8233965Sjdp# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
8333965Sjdp# for any number of installed devices.
8433965Sjdpcontroller	ncr0
8533965Sjdp#controller	amd0
8633965Sjdpcontroller	ahc0
8733965Sjdpcontroller	isp0
8833965Sjdp
8933965Sjdp#
9033965Sjdp# WD33C93 SCSI card (55/92 like board)
9133965Sjdp#
9233965Sjdp
9333965Sjdpoptions	BS_TARG_SAFEMODE
9433965Sjdp
9533965Sjdp# PC-9801-92
9633965Sjdp#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
9733965Sjdp# SC-98
9833965Sjdp# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
9933965Sjdp# HA-55BS2 and later
10033965Sjdp#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
10133965Sjdp# ELECOM type
10233965Sjdp#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
10333965Sjdp# SMIT
10433965Sjdp#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 vector bsintr
10533965Sjdp# Logitec LHA-20x
10633965Sjdp#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr
10733965Sjdp
10833965Sjdp#controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
10933965Sjdp
11033965Sjdpcontroller	scbus0
11133965Sjdp
112device		da0
113
114device		sa0
115
116device		pass0
117
118device		cd0	#Only need one of these, the code dynamically grows
119
120controller	matcd0	at isa? port? bio
121
122# syscons is the default console driver, resembling an SCO console
123device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
124#options		XSERVER			# support for X server
125
126device		npx0	at isa? port "IO_NPX" irq 8 vector npxintr
127
128#
129# Laptop support (see LINT for more options)
130#
131device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
132
133# PCCARD (PCMCIA) support
134#controller	card0
135#device		pcic0	at card?
136#device		pcic1	at card?
137
138device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
139device		sio1	at isa? port 0xd2  tty irq 5 flags 0x101 vector siointr
140device		sio2	at isa? port 0x8d2 tty flags 0x101 vector siointr
141
142device		lpt0	at isa? port "IO_LPT"  tty
143device		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr
144
145# Order is important here due to intrusive probes, do *not* alphabetize
146# this list of network interfaces until the probes have been fixed.
147# Right now it appears that the ie0 must be probed before ep0. See
148# revision 1.20 of this file.
149device de0
150device fxp0
151device tl0
152device tx0
153device vx0
154
155#
156# DP8390 NIC
157#
158# ed0: generic driver
159# ed1: LANEED LD-BDN
160# ed2: EGY-98
161# ed3: LGY-98
162# ed4: ICM-IF-2766/EN-2298-T
163# ed5: SIC-98
164# ed6: PC-9801-108
165# ed7: LA-98
166# ed8: C-NET(98)
167# ed9: C-NET(98)E/L
168# fe0: RE1000/1000Plus
169# fe1: C-NET(98)P2/C-NET(9N)E
170#
171device ed0 at isa? port 0x00d0 net irq 6 vector edintr
172device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
173device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
174device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
175device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
176device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
177device ed6 at isa? port 0x0770 net irq 6 flags 0x800000 vector edintr
178device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
179device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr
180device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
181
182device ep0 at isa? port 0x40d0 net irq 3 vector epintr
183device fe0 at isa? port 0x00d0 net irq 3 vector feintr
184device fe1 at isa? port 0x73d0 net irq 5 vector feintr
185device lnc0 at isa? port 0x03d0 net irq 6 vector lncintr
186device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 
187
188#controller	snd0
189#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
190#device	sbxvi0 	at isa? drq 3
191#device	sbmidi0	at isa? port 0x80d2
192#device	opl0	at isa? port 0x28d2
193#device pcm0    at isa? port 0xa460 irq 12 vector pcmintr
194#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr
195
196pseudo-device	loop
197pseudo-device	ether
198pseudo-device	sl	1
199pseudo-device	ppp	1
200pseudo-device	tun	1
201pseudo-device	pty	16
202pseudo-device	gzip		# Exec gzipped a.out's
203
204# KTRACE enables the system-call tracing facility ktrace(2).
205# This adds 4 KB bloat to your kernel, and slightly increases
206# the costs of each syscall.
207options		KTRACE		#kernel tracing
208
209