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