GENERIC revision 40511
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.51 1998/10/16 16:22:35 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	32
25
26options		"PC98"			#PC98
27options		MATH_EMULATE		#Support for x87 emulation
28options		INET			#InterNETworking
29options		FFS			#Berkeley Fast Filesystem
30options		FFS_ROOT		#FFS usable as root device [keep this!]
31options		MFS			#Memory Filesystem
32options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
33options		NFS			#Network Filesystem
34options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
35options		MSDOSFS			#MSDOS Filesystem
36options		"CD9660"		#ISO 9660 Filesystem
37options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
38options		PROCFS			#Process filesystem
39options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
40options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
41options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
42#options		EPSON_MEMWIN		#EPSON memory window support
43options		UCONSOLE		#Allow users to grab the console
44options		"LINE30"
45options		FAILSAFE		#Be conservative
46options		USERCONFIG		#boot -c editor
47options		VISUAL_USERCONFIG	#visual boot -c editor
48
49options		SYSVSHM			
50options		SYSVSEM
51options		SYSVMSG
52
53options		COM_MULTIPORT
54
55#
56#	IBM-PC HDD support
57#options	COMPAT_ATDISK
58
59config		kernel	root on wd0
60
61controller	isa0
62controller	pci0
63
64controller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
65disk		fd0	at fdc0 drive 0
66disk		fd1	at fdc0 drive 1
67disk		fd2	at fdc0 drive 2
68disk		fd3	at fdc0 drive 3
69tape		ft0	at fdc0 drive 4
70
71# options		"CMD640"	# work around CMD640 chip deficiency
72controller	wdc0	at isa? port "IO_WD1" bio irq 9 vector wdintr
73disk		wd0	at wdc0 drive 0
74#disk		wd1	at wdc0 drive 1
75#disk		wd2	at wdc0 drive 2
76#disk		wd3	at wdc0 drive 3
77
78options		ATAPI	# Enable ATAPI support for IDE bus
79options		ATAPI_STATIC	#Don't do it as an LKM
80device		wcd0	#IDE CD-ROM
81
82# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
83# for any number of installed devices.
84controller	ncr0
85#controller	amd0
86controller	ahc0
87controller	isp0
88
89#
90# WD33C93 SCSI card (55/92 like board)
91#
92
93options	BS_TARG_SAFEMODE
94
95# PC-9801-92
96#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
97# SC-98
98# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
99# HA-55BS2 and later
100#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
101# ELECOM type
102#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
103# SMIT
104#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 vector bsintr
105# Logitec LHA-20x
106#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr
107
108#controller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
109
110controller	scbus0
111
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
172
173#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
174#  aware of the legal and administrative consequences of enabling this
175#  option.  The number of devices determines the maximum number of
176#  simultaneous BPF clients programs runnable.
177#pseudo-device	bpfilter	4	#Berkeley packet filter
178device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
179device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
180device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
181device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
182device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
183device ed6 at isa? port 0x0770 net irq 6 flags 0x800000 vector edintr
184device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
185device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr
186device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
187
188device ep0 at isa? port 0x40d0 net irq 3 vector epintr
189device fe0 at isa? port 0x00d0 net irq 3 vector feintr
190device fe1 at isa? port 0x73d0 net irq 5 vector feintr
191device lnc0 at isa? port 0x03d0 net irq 6 vector lncintr
192device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 
193
194#controller	snd0
195#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
196#device	sbxvi0 	at isa? drq 3
197#device	sbmidi0	at isa? port 0x80d2
198#device	opl0	at isa? port 0x28d2
199#device pcm0    at isa? port 0xa460 irq 12 vector pcmintr
200#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr
201
202pseudo-device	loop
203pseudo-device	ether
204pseudo-device	sl	1
205pseudo-device	ppp	1
206pseudo-device	tun	1
207pseudo-device	pty	16
208pseudo-device	gzip		# Exec gzipped a.out's
209
210# KTRACE enables the system-call tracing facility ktrace(2).
211# This adds 4 KB bloat to your kernel, and slightly increases
212# the costs of each syscall.
213options		KTRACE		#kernel tracing
214
215