GENERIC revision 54078
1#
2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.freebsd.org/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ./LINT configuration file. If you are
16# in doubt as to the purpose or necessity of a line, check first in LINT.
17#
18# $FreeBSD: head/sys/pc98/conf/GENERIC 54078 1999-12-03 11:40:52Z nyan $
19
20# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
21
22machine		pc98
23cpu		I386_CPU
24cpu		I486_CPU
25cpu		I586_CPU
26cpu		I686_CPU
27ident		GENERIC98
28maxusers	32
29
30#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
31
32options 	PC98			#PC98
33options 	MATH_EMULATE		#Support for x87 emulation
34options 	INET			#InterNETworking
35options 	FFS			#Berkeley Fast Filesystem
36options 	FFS_ROOT		#FFS usable as root device [keep this!]
37options 	MD_ROOT			#MD is a potential root device
38options 	MFS			#Memory Filesystem
39options 	NFS			#Network Filesystem
40options 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
41options 	MSDOSFS			#MSDOS Filesystem
42options 	CD9660			#ISO 9660 Filesystem
43options 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
44options 	PROCFS			#Process filesystem
45options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
46options 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
47options 	EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
48#options 	EPSON_MEMWIN		#EPSON memory window support
49options 	UCONSOLE		#Allow users to grab the console
50#options 	LINE30
51options 	USERCONFIG		#boot -c editor
52options 	VISUAL_USERCONFIG	#visual boot -c editor
53options 	KTRACE			#ktrace(1) syscall trace support
54options 	SYSVSHM			#SYSV-style shared memory
55options 	SYSVMSG			#SYSV-style message queues
56options 	SYSVSEM			#SYSV-style semaphores
57
58# To make an SMP kernel, the next two are needed
59#options 	SMP			# Symmetric MultiProcessor Kernel
60#options 	APIC_IO			# Symmetric (APIC) I/O
61# Optionally these may need tweaked, (defaults shown):
62#options 	NCPU=2			# number of CPUs
63#options 	NBUS=4			# number of busses
64#options 	NAPIC=1			# number of IO APICs
65#options 	NINTR=24		# number of INTs
66
67controller	isa0
68controller	pnp0			# PnP support for ISA
69controller	pci0
70
71# Floppy drives
72controller	fdc0	at isa? port IO_FD1 irq 11 drq 2
73device		fd0	at fdc0 drive 0
74device		fd1	at fdc0 drive 1
75device		fd2	at fdc0 drive 2
76device		fd3	at fdc0 drive 3
77
78# IDE controller and disks
79controller	wdc0	at isa? port IO_WD1 irq 9
80device		wd0	at wdc0 drive 0
81#device		wd1	at wdc0 drive 1
82#device		wd2	at wdc0 drive 2
83#device		wd3	at wdc0 drive 3
84
85# ATAPI devices on wdc?
86device		wcd0		#IDE CD-ROM
87#device		wfd0		#IDE Floppy (e.g. LS-120)
88#device		wst0		#IDE Tape (e.g. Travan)
89
90# SCSI Controllers
91# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
92# sufficient for any number of installed devices.
93controller	adv0
94controller	ahc0		# AHA2940 and onboard AIC7xxx devices
95controller	amd0		# AMD 53C974 (Teckram DC-390(T))
96controller	isp0		# Qlogic family
97controller	ncr0		# NCR/Symbios Logic
98#controller	sym0		# NCR/Symbios Logic (do not mix with ncr, it conflicts)
99
100#
101# WD33C93 SCSI card (55/92 like board)
102#
103
104options	BS_TARG_SAFEMODE
105
106# PC-9801-92
107controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
108# SC-98
109# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
110# HA-55BS2 and later
111#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
112# ELECOM type
113#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
114# SMIT
115#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
116# Logitec LHA-20x
117#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
118
119# SCSI peripherals
120# Only one of each of these is needed, they are dynamically allocated.
121controller	scbus0		# SCSI bus (required)
122device		da0		# Direct Access (disks)
123device		sa0		# Sequential Access (tape etc)
124device		cd0		# CD
125device		pass0		# Passthrough device (direct SCSI access)
126
127# RAID controllers
128device		amr0		# AMI MegaRAID
129device		mlx0		# Mylex DAC960 family
130
131# Proprietary or custom CD-ROM Interfaces
132device		matcd0	at isa? port?
133
134# keyboard driver
135device		pckbd0	at isa? port IO_KBD irq 1
136#options 	KBD_INSTALL_CDEV
137
138device		gdc0	at isa?
139
140# splash screen/screen saver
141pseudo-device	splash
142
143# syscons is the default console driver, resembling an SCO console
144device		sc0	at isa?
145
146# Floating point support - do not disable.
147device		npx0	at nexus? port IO_NPX irq 8
148
149# Power management support (see LINT for more options)
150device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
151
152# PCCARD (PCMCIA) support
153#controller	card0
154#device		pcic0	at isa?
155#device		pcic1	at isa?
156
157# Serial (COM) ports
158#
159options 	COM_MULTIPORT
160#
161# COM1
162device		sio0	at isa? port IO_COM1 irq 4
163# COM2 (2nd CCU)
164device		sio1	at isa? port 0x238 irq 5 flags 0x12000000
165# PC-9861K, PC-9801-101, MDC-926Rs
166#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
167#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
168# PC-9801-120 (PnP off)
169#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
170# MC-16550II, MC-RS98
171#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
172#device		sio2	at isa? port 0x8d2 flags 0x14000101
173# RSB-2000, RSB-3000, B98-02
174#device		sio1	at isa? port 0xb0 flags 0x15000101
175#device		sio2	at isa? port 0xb1 flags 0x15000101
176# RSB-384
177#device		sio1	at isa? port 0xb0 flags 0x16000000
178#device		sio2	at isa? port 0xb1 flags 0x16000000
179# RSA-98III
180#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
181#device		sio2	at isa? port 0x51e0 flags 0x18000101
182# ESP98
183#options 	COM_ESP
184#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000
185
186device		mse0	at isa? port IO_MSE irq 13
187
188# NEW Parallel port
189device		ppc0	at isa? port? irq 14
190controller	ppbus0		# Parallel port bus (required)
191device		lpt0		# Printer
192device		plip0		# TCP/IP over parallel
193device		ppi0		# Parallel port interface device
194#controller	vpo0		# Requires scbus and da0
195# OLD Parallel port
196# Please stay olpt driver after ppc driver
197device		olpt0	at isa? port IO_LPT
198
199
200# PCI Ethernet NICs.
201device		ax0		# ASIX AX88140A
202device		de0		# DEC/Intel DC21x4x (``Tulip'')
203device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
204device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
205device		tx0		# SMC 9432TX (83c170 ``EPIC'')
206device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
207
208# PCI Ethernet NICs that use the common MII bus controller code.
209controller	miibus0		# MII bus support
210device		al0		# ADMtek AL981/AN985 (``Comet''/``Centaur'')
211device		dm0		# Davicom DM9100/DM9102
212device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
213device		rl0		# RealTek 8129/8139
214device		sf0		# Adaptec AIC-6915 (``Starfire'')
215device		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
216device		ste0		# Sundance ST201 (D-Link DFE-550TX)
217device		tl0		# Texas Instruments ThunderLAN
218device		vr0		# VIA Rhine, Rhine II
219device		wb0		# Winbond W89C840F
220device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
221
222# ISA Ethernet NICs.
223#
224# DP8390 NIC
225#
226# ed0: generic driver
227# ed1: LANEED LD-BDN
228# ed2: EGY-98
229# ed3: LGY-98
230# ed4: ICM-IF-2766/EN-2298-T
231# ed5: SIC-98
232# ed6: PC-9801-108
233# ed7: LA-98
234# ed8: C-NET(98)
235# ed9: C-NET(98)E/L
236#
237# MB86960A NIC
238#
239# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
240# fe1: C-NET(98)P2/C-NET(9N)E
241#
242# FE_8BIT_SUPPORT is needed to support LAC-98
243#
244#device ed0 at isa? port 0x00d0 irq 6
245#device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
246#device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
247#device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
248#device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
249#device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
250#device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
251#device ed6 at isa? port 0x0770 irq 6 flags 0x800000
252#device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
253#device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
254device ep0 at isa? port 0x40d0 irq 3
255device fe0 at isa? port 0x00d0 irq 3
256device fe1 at isa? port 0x73d0 irq 5
257device lnc0 at isa? port 0x03d0 irq 6
258
259options 	FE_8BIT_SUPPORT		# LAC-98 support
260
261# PCCARD NIC drivers.
262# ze and zp take over the pcic and cannot coexist with generic pccard
263# support, nor the ed and ep drivers they replace.
264#device		zp0	at isa? port 0x00d0 irq 10 iomem 0xe0000
265
266#controller	snd0
267#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
268#device	sbxvi0 	at isa? drq 3
269#device	sbmidi0	at isa? port 0x80d2
270#device	opl0	at isa? port 0x28d2
271#device	nss0	at isa? port 0xa460 irq 12
272#device	mss0	at isa? port 0xf40 irq 12 drq 1
273#device	mpu0	at isa? port 0xe0d0 irq 6
274
275# Pseudo devices - the number indicates how many units to allocated.
276pseudo-device	loop		# Network loopback
277pseudo-device	ether		# Ethernet support
278pseudo-device	sl	1	# Kernel SLIP
279pseudo-device	ppp	1	# Kernel PPP
280pseudo-device	tun		# Packet tunnel.
281pseudo-device	pty		# Pseudo-ttys (telnet etc)
282pseudo-device	md		# Memory "disks"
283
284# The `bpf' pseudo-device enables the Berkeley Packet Filter.
285# Be aware of the administrative consequences of enabling this!
286pseudo-device	bpf		#Berkeley packet filter
287
288#pseudo-device	compat_atdisk	#IBM-PC HDD support
289