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