GENERIC revision 52833
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 52833 1999-11-03 10:08:15Z 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 	MFS			#Memory Filesystem
38options 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
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
58options 	COM_MULTIPORT
59
60# To make an SMP kernel, the next two are needed
61#options 	SMP			# Symmetric MultiProcessor Kernel
62#options 	APIC_IO			# Symmetric (APIC) I/O
63# Optionally these may need tweaked, (defaults shown):
64#options 	NCPU=2			# number of CPUs
65#options 	NBUS=4			# number of busses
66#options 	NAPIC=1			# number of IO APICs
67#options 	NINTR=24		# number of INTs
68
69controller	isa0
70controller	pnp0			# PnP support for ISA
71controller	pci0
72
73# Floppy drives
74controller	fdc0	at isa? port IO_FD1 irq 11 drq 2
75device		fd0	at fdc0 drive 0
76device		fd1	at fdc0 drive 1
77device		fd2	at fdc0 drive 2
78device		fd3	at fdc0 drive 3
79
80# IDE controller and disks
81controller	wdc0	at isa? port IO_WD1 irq 9
82device		wd0	at wdc0 drive 0
83#device		wd1	at wdc0 drive 1
84#device		wd2	at wdc0 drive 2
85#device		wd3	at wdc0 drive 3
86
87# ATAPI devices on wdc?
88device		wcd0		#IDE CD-ROM
89#device 	wfd0		#IDE Floppy (e.g. LS-120)
90#device		wst0		#IDE Tape (e.g. Travan)
91
92# SCSI Controllers
93# A single entry for any of these controllers (ncr, ahb, ahc) is
94# sufficient for any number of installed devices.
95controller	ncr0		# NCR/Symbios Logic
96controller	ahc0		# AHA2940 and onboard AIC7xxx devices
97controller	amd0		# AMD 53C974 (Teckram DC-390(T))
98controller	isp0		# Qlogic family
99controller	adv0
100
101#
102# WD33C93 SCSI card (55/92 like board)
103#
104
105options	BS_TARG_SAFEMODE
106
107# PC-9801-92
108controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
109# SC-98
110# controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
111# HA-55BS2 and later
112#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
113# ELECOM type
114#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
115# SMIT
116#controller bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
117# Logitec LHA-20x
118#controller bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
119
120# SCSI peripherals
121# Only one of each of these is needed, they are dynamically allocated.
122controller	scbus0		# SCSI bus (required)
123device		da0		# Direct Access (disks)
124device		sa0		# Sequential Access (tape etc)
125device		cd0		# CD
126device		pass0		# Passthrough device (direct SCSI access)
127
128# Proprietary or custom CD-ROM Interfaces
129controller	matcd0	at isa? port?
130
131# keyboard driver
132device		pckbd0	at isa? port IO_KBD irq 1
133#options	KBD_INSTALL_CDEV
134
135device		gdc0	at isa?
136
137# splash screen/screen saver
138pseudo-device	splash
139
140device		sc0	at isa?
141
142# Floating point support - do not disable.
143device		npx0	at nexus? port IO_NPX irq 8
144
145# Power management support (see LINT for more options)
146device		apm0    at nexus? disable flags 0x31 # Advanced Power Management
147
148# PCCARD (PCMCIA) support
149#controller	card0
150#device		pcic0	at card?
151#device		pcic1	at card?
152
153# Serial (COM) ports
154#
155# COM1
156device		sio0	at isa? port IO_COM1 irq 4
157# COM2 (2nd CCU)
158device		sio1	at isa? port 0x238 irq 5 flags 0x12000000
159# PC-9861K, PC-9801-101, MDC-926Rs
160#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
161#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
162# PC-9801-120 (PnP off)
163#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
164# MC-16550II, MC-RS98
165#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
166#device		sio2	at isa? port 0x8d2 flags 0x14000101
167# RSB-2000, RSB-3000, B98-02
168#device		sio1	at isa? port 0xb0 flags 0x15000101
169#device		sio2	at isa? port 0xb1 flags 0x15000101
170# RSB-384
171#device		sio1	at isa? port 0xb0 flags 0x16000000
172#device		sio2	at isa? port 0xb1 flags 0x16000000
173# RSA-98III
174#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
175#device		sio2	at isa? port 0x51e0 flags 0x18000101
176# ESP98
177#options	COM_ESP
178#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000
179
180device		mse0	at isa? port IO_MSE irq 13
181
182# NEW Parallel port
183device		ppc0	at isa? port? irq 14
184controller	ppbus0
185device		lpt0	at ppbus?
186device		plip0	at ppbus?
187device		ppi0	at ppbus?
188#controller	vpo0	at ppbus?
189# OLD Parallel port
190# Please stay olpt driver after ppc driver
191device		olpt0	at isa? port IO_LPT
192
193
194# PCI Ethernet NICs.
195device		ax0		# ASIX AX88140A
196device		de0		# DEC/Intel DC21x4x (``Tulip'')
197device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
198device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
199device		tx0		# SMC 9432TX (83c170 ``EPIC'')
200device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
201
202# PCI Ethernet NICs that use the common MII bus controller code.
203controller	miibus0		# MII bus support
204device		al0		# ADMtek AL981/AN985 (``Comet''/``Centaur'')
205device		dm0		# Davicom DM9100/DM9102
206device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
207device		rl0		# RealTek 8129/8139
208device		sf0		# Adaptec AIC-6915 (``Starfire'')
209device		ste0		# Sundance ST201 (D-Link DFE-550TX)
210device		tl0		# Texas Instruments ThunderLAN
211device		vr0		# VIA Rhine, Rhine II
212device		wb0		# Winbond W89C840F
213device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
214
215#
216# DP8390 NIC
217#
218# ed0: generic driver
219# ed1: LANEED LD-BDN
220# ed2: EGY-98
221# ed3: LGY-98
222# ed4: ICM-IF-2766/EN-2298-T
223# ed5: SIC-98
224# ed6: PC-9801-108
225# ed7: LA-98
226# ed8: C-NET(98)
227# ed9: C-NET(98)E/L
228# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
229# fe1: C-NET(98)P2/C-NET(9N)E
230#
231# FE_8BIT_SUPPORT is needed to support LAC-98
232#
233device ed0 at isa? port 0x00d0 irq 6
234device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
235device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
236device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
237device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
238device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
239device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
240device ed6 at isa? port 0x0770 irq 6 flags 0x800000
241device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
242device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
243device ep0 at isa? port 0x40d0 irq 3
244device fe0 at isa? port 0x00d0 irq 3
245device fe1 at isa? port 0x73d0 irq 5
246device lnc0 at isa? port 0x03d0 irq 6
247#device zp0 at isa? port 0x00d0 irq 10 iomem 0xe0000
248
249options FE_8BIT_SUPPORT		# LAC-98 support
250
251#controller	snd0
252#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
253#device	sbxvi0 	at isa? drq 3
254#device	sbmidi0	at isa? port 0x80d2
255#device	opl0	at isa? port 0x28d2
256#device pcm0    at isa? port 0xa460 irq 12
257#device	mss0	at isa? port 0xf40 irq 12 drq 1
258
259# Pseudo devices - the number indicates how many units to allocated.
260pseudo-device	loop		# Network loopback
261pseudo-device	ether		# Ethernet support
262pseudo-device	sl	1	# Kernel SLIP
263pseudo-device	ppp	1	# Kernel PPP
264pseudo-device	tun		# Packet tunnel.
265pseudo-device	pty		# Pseudo-ttys (telnet etc)
266pseudo-device	gzip		# Exec gzipped a.out's
267
268# The `bpf' pseudo-device enables the Berkeley Packet Filter.
269# Be aware of the administrative consequences of enabling this!
270pseudo-device	bpf		#Berkeley packet filter
271
272pseudo-device compat_atdisk
273