GENERIC revision 33459
1#
2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3#
4# For more information read the handbook part System Administration -> 
5# Configuring the FreeBSD Kernel -> The Configuration File. 
6# The handbook is available in /usr/share/doc/handbook or online as
7# latest version from the FreeBSD World Wide Web server 
8# <URL:http://www.FreeBSD.ORG/>
9#
10# An exhaustive list of options and more detailed explanations of the 
11# device lines is present in the ./LINT configuration file. If you are 
12# in doubt as to the purpose or necessity of a line, check first in LINT.
13#
14#	$Id: GENERIC98,v 1.34 1998/02/16 09:37:57 kato Exp $
15
16# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
17
18machine		"pc98"
19cpu		"I386_CPU"
20cpu		"I486_CPU"
21cpu		"I586_CPU"
22cpu		"I686_CPU"
23ident		"GENERIC98"
24maxusers	10
25
26options		"PC98"			#PC98
27options		MATH_EMULATE		#Support for x87 emulation
28options		INET			#InterNETworking
29options		FFS			#Berkeley Fast Filesystem
30options		NFS			#Network Filesystem
31options		MSDOSFS			#MSDOS Filesystem
32options		"CD9660"		#ISO 9660 Filesystem
33options		"CD9660_ROOT"		#CD-ROM usable as root device
34options		FFS_ROOT		#FFS usable as root device [keep this!]
35options		NFS_ROOT		#NFS usable as root device
36options		PROCFS			#Process filesystem
37options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
38options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
39options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
40options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
41#options		EPSON_MEMWIN		#EPSON memory window support
42options		UCONSOLE		#Allow users to grab the console
43options		"LINE30"
44options		FAILSAFE		#Be conservative
45options		USERCONFIG		#boot -c editor
46options		VISUAL_USERCONFIG	#visual boot -c editor
47
48options		SYSVSHM			
49options		SYSVSEM
50options		SYSVMSG
51
52options		AUTO_CLOCK
53options		COM_MULTIPORT
54
55#
56#	IBM-PC HDD support
57#options	COMPAT_ATDISK
58#
59#	FreeBSD(98)-current is a *TEST VERSION*.  
60#	It is highly recomended to compile with following options, and to
61#	record the panic messages and the result of trace command brefore 
62#	reporting a problem.
63options		DDB
64options		DIAGNOSTIC
65
66config		kernel	root on wd0
67
68controller	isa0
69controller	pci0
70
71controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
72disk		fd0	at fdc0 drive 0
73disk		fd1	at fdc0 drive 1
74disk		fd2	at fdc0 drive 2
75disk		fd3	at fdc0 drive 3
76tape		ft0	at fdc0 drive 4
77
78# options		"CMD640"	# work around CMD640 chip deficiency
79controller	wdc0	at isa? port "IO_WD1" bio irq 9 vector wdintr
80disk		wd0	at wdc0 drive 0
81#disk		wd1	at wdc0 drive 1
82#disk		wd2	at wdc0 drive 2
83#disk		wd3	at wdc0 drive 3
84
85options		ATAPI	# Enable ATAPI support for IDE bus
86options		ATAPI_STATIC	#Don't do it as an LKM
87device		wcd0	#IDE CD-ROM
88
89# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
90# for any number of installed devices.
91controller	ncr0
92controller	ahc0
93
94#
95# WD33C93 SCSI card (55/92 like board)
96#
97
98options	BS_TARG_SAFEMODE
99
100# PC-9801-92
101controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
102# SC-98
103# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
104# HA-55BS2 and later
105#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
106# ELECOM type
107#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
108# SMIT
109#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 vector bsintr
110# Logitec LHA-20x
111#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr
112
113controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
114
115controller	scbus0
116
117device		sd0
118
119device		od0	#See LINT for possible `od' options.
120
121device		st0
122
123device		cd0	#Only need one of these, the code dynamically grows
124
125controller	matcd0	at isa? port? bio
126
127# syscons is the default console driver, resembling an SCO console
128device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
129#options		XSERVER			# support for X server
130
131device		npx0	at isa? port "IO_NPX" irq 8 vector npxintr
132
133#
134# Laptop support (see LINT for more options)
135#
136device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
137
138# PCCARD (PCMCIA) support
139#controller	card0
140#device		pcic0	at card?
141#device		pcic1	at card?
142
143device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
144device		sio1	at isa? port 0xd2  tty irq 5 flags 0x101 vector siointr
145device		sio2	at isa? port 0x8d2 tty flags 0x101 vector siointr
146
147device		lpt0	at isa? port "IO_LPT"  tty
148device		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr
149
150# Order is important here due to intrusive probes, do *not* alphabetize
151# this list of network interfaces until the probes have been fixed.
152# Right now it appears that the ie0 must be probed before ep0. See
153# revision 1.20 of this file.
154device de0
155device fxp0
156device tx0
157device vx0
158
159#
160# DP8390 NIC
161#
162# ed0: generic driver
163# ed1: LANEED LD-BDN
164# ed2: EGY-98
165# ed3: LGY-98
166# ed4: ICM-IF-2766/EN-2298-T
167# ed5: SIC-98
168# ed6: PC-9801-108
169# ed7: LA-98
170# ed8: C-NET(98)
171# ed9: C-NET(98)E/L
172# fe0: RE1000/1000Plus
173# fe1: C-NET(98)P2/C-NET(9N)E
174#
175device ed0 at isa? port 0x00d0 net irq 6 vector edintr
176device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
177device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
178device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
179device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
180device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
181device ed6 at isa? port 0x0770 net irq 6 flags 0x800000 vector edintr
182device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
183device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr
184device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
185
186device ep0 at isa? port 0x40d0 net irq 3 vector epintr
187device fe0 at isa? port 0x00d0 net irq 3 vector feintr
188device fe1 at isa? port 0x73d0 net irq 5 vector feintr
189device lnc0 at isa? port 0x03d0 net irq 6 vector lncintr
190device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 
191
192#controller	snd0
193#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
194#device	sbxvi0 	at isa? drq 3
195#device	sbmidi0	at isa? port 0x80d2
196#device	opl0	at isa? port 0x28d2
197#device pcm0    at isa? port 0xa460 irq 12 vector pcmintr
198#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr
199
200pseudo-device	loop
201pseudo-device	ether
202pseudo-device	sl	1
203pseudo-device	ppp	1
204pseudo-device	tun	1
205pseudo-device	pty	16
206pseudo-device	gzip		# Exec gzipped a.out's
207
208# KTRACE enables the system-call tracing facility ktrace(2).
209# This adds 4 KB bloat to your kernel, and slightly increases
210# the costs of each syscall.
211options		KTRACE		#kernel tracing
212
213