GENERIC revision 58785
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/pc98
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 58785 2000-03-29 13:39:15Z kato $
19
20machine		pc98
21cpu		I386_CPU
22cpu		I486_CPU
23cpu		I586_CPU
24cpu		I686_CPU
25ident		GENERIC98
26maxusers	32
27
28#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29
30options 	PC98			#PC98
31options 	MATH_EMULATE		#Support for x87 emulation
32options 	INET			#InterNETworking
33options 	INET6			#IPv6 communications protocols
34options 	FFS			#Berkeley Fast Filesystem
35options 	FFS_ROOT		#FFS usable as root device [keep this!]
36options 	MFS			#Memory Filesystem
37options 	MD_ROOT			#MD is a potential root device
38options 	NFS			#Network Filesystem
39options 	NFS_ROOT		#NFS usable as root device, NFS required
40options 	MSDOSFS			#MSDOS Filesystem
41options 	CD9660			#ISO 9660 Filesystem
42options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
43options 	PROCFS			#Process filesystem
44options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
45options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
46options 	EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
47#options 	EPSON_MEMWIN		#EPSON memory window support
48options 	UCONSOLE		#Allow users to grab the console
49#options 	LINE30
50options 	USERCONFIG		#boot -c editor
51options 	VISUAL_USERCONFIG	#visual boot -c editor
52options 	KTRACE			#ktrace(1) support
53options 	SYSVSHM			#SYSV-style shared memory
54options 	SYSVMSG			#SYSV-style message queues
55options 	SYSVSEM			#SYSV-style semaphores
56options 	P1003_1B		#Posix P1003_1B real-time extentions
57options 	_KPOSIX_PRIORITY_SCHEDULING
58options		ICMP_BANDLIM		#Rate limit bad replies
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
69device		isa
70device		pci
71options 	COMPAT_OLDISA		# Old ISA driver shims
72options 	COMPAT_OLDPCI		# Old PCI driver shims
73
74# Floppy drives
75device		fdc0	at isa? port IO_FD1 irq 11 drq 2
76device		fd0	at fdc0 drive 0
77device		fd1	at fdc0 drive 1
78device		fd2	at fdc0 drive 2
79device		fd3	at fdc0 drive 3
80
81# IDE controller and disks
82device		wdc0	at isa? port IO_WD1 irq 9
83device		wd0	at wdc0 drive 0
84#device		wd1	at wdc0 drive 1
85#device		wd2	at wdc0 drive 2
86#device		wd3	at wdc0 drive 3
87
88# ATAPI devices on wdc
89device		wcd		#IDE CD-ROM
90#device		wfd		#IDE Floppy (e.g. LS-120)
91#device		wst		#IDE Tape (e.g. Travan)
92
93# SCSI Controllers
94device		adv
95device		ahc		# AHA2940 and onboard AIC7xxx devices
96device		amd		# AMD 53C974 (Teckram DC-390(T))
97device		isp		# Qlogic family
98device		ncr		# NCR/Symbios Logic
99device		sym		# NCR/Symbios Logic (newer chipsets)
100
101#
102# WD33C93 SCSI card (55/92 like board)
103#
104
105options	BS_TARG_SAFEMODE
106
107# PC-9801-92
108device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
109# SC-98
110# device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
111# HA-55BS2 and later
112#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
113# ELECOM type
114#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
115# SMIT
116#device bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
117# Logitec LHA-20x
118#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
119
120# SCSI peripherals
121device		scbus		# SCSI bus (required)
122device		da		# Direct Access (disks)
123device		sa		# Sequential Access (tape etc)
124device		cd		# CD
125device		pass		# Passthrough device (direct SCSI access)
126
127# RAID controllers
128device		amr		# AMI MegaRAID
129device		mlx		# Mylex DAC960 family
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
140# syscons is the default console driver, resembling an SCO console
141device		sc0	at isa?
142
143# Floating point support - do not disable.
144device		npx0	at nexus? port IO_NPX irq 8
145
146# Power management support (see LINT for more options)
147#device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
148
149# PCCARD (PCMCIA) support
150device		card
151device		pcic0	at isa? irq 6 port 0x3e0
152
153# Serial (COM) ports
154#
155options 	COM_MULTIPORT
156#
157# COM1
158device		sio0	at isa? port IO_COM1 irq 4
159# COM2 (2nd CCU)
160device		sio1	at isa? port 0x238 irq 5 flags 0x12000010
161# PC-9861K, PC-9801-101, MDC-926Rs
162#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
163#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
164# PC-9801-120 (PnP off)
165#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
166# MC-16550II, MC-RS98
167#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
168#device		sio2	at isa? port 0x8d2 flags 0x14000101
169# RSB-2000, RSB-3000, B98-02
170#device		sio1	at isa? port 0xb0 flags 0x15000101
171#device		sio2	at isa? port 0xb1 flags 0x15000101
172# RSB-384
173#device		sio1	at isa? port 0xb0 flags 0x16000000
174#device		sio2	at isa? port 0xb1 flags 0x16000000
175# RSA-98III
176#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
177#device		sio2	at isa? port 0x51e0 flags 0x18000101
178# ESP98
179#options 	COM_ESP
180#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000
181
182device		mse0	at isa? port IO_MSE irq 13
183
184# NEW Parallel port
185device		ppc0	at isa? irq 14
186device		ppbus		# Parallel port bus (required)
187device		lpt		# Printer
188device		plip		# TCP/IP over parallel
189device		ppi		# Parallel port interface device
190#device		vpo		# Requires scbus and da
191# OLD Parallel port
192# Please stay olpt driver after ppc driver
193device		olpt0	at isa? port IO_LPT
194
195
196# PCI Ethernet NICs.
197device		de		# DEC/Intel DC21x4x (``Tulip'')
198device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
199device		tx		# SMC 9432TX (83c170 ``EPIC'')
200device		vx		# 3Com 3c590, 3c595 (``Vortex'')
201device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
202
203# PCI Ethernet NICs that use the common MII bus controller code.
204device		miibus		# MII bus support
205device		dc		# DEC/Intel 21143 and various workalikes
206device		rl		# RealTek 8129/8139
207device		sf		# Adaptec AIC-6915 (``Starfire'')
208device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
209device		ste		# Sundance ST201 (D-Link DFE-550TX)
210device		tl		# Texas Instruments ThunderLAN
211device		vr		# VIA Rhine, Rhine II
212device		wb		# Winbond W89C840F
213device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
214
215# ISA Ethernet NICs.
216#
217# DP8390 NIC
218#
219# ed0: generic driver/EtherEZ98
220# ed1: LANEED LD-BDN
221# ed2: EGY-98
222# ed3: LGY-98
223# ed4: ICM-IF-2766/EN-2298-T
224# ed5: SIC-98
225# ed6: PC-9801-108
226# ed7: LA-98
227# ed8: C-NET(98)
228# ed9: C-NET(98)E/L
229# ed10: EC/EP-98X
230# ed11: SIU-98-D
231#
232#device ed0 at isa? port 0x00d0 irq 6
233##device ed0 at isa? port 0x10d0 irq 6 iomem 0xc8000    # SMC EtherEZ98
234#device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
235#device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
236#device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
237#device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
238#device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
239#device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
240#device ed6 at isa? port 0x0770 irq 6 flags 0x800000
241#device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
242#device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
243#device ed10 at isa? port 0x00d0 irq 3 flags 0xd10000
244#device ed11 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 32768 flags 0x610000
245#
246# MB86960A NIC
247#
248# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
249# fe1: C-NET(98)P2/C-NET(9N)E
250#
251# FE_8BIT_SUPPORT is needed to support LAC-98
252#
253options 	FE_8BIT_SUPPORT		# LAC-98 support
254device		fe0	at isa? port 0x00d0 irq 3
255device		fe1	at isa? port 0x73d0 irq 5
256
257device		ep0	at isa? port 0x40d0 irq 3
258device		lnc0	at isa? port 0x03d0 irq 6
259
260# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
261# exists only as a PCMCIA device, so there is no ISA attatement needed
262# and resources will always be dynamically assigned by the pccard code.
263device		wi
264
265# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
266# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
267# mode (the factory default). If you set the switches on your ISA
268# card for a manually chosen I/O address and IRQ, you must specify
269# those paremeters here.
270device		an
271
272# requires PCCARD (PCMCIA) support to be activated
273device		sn
274#device		xe0	at isa?
275
276#device	snd
277#device	sb0	at isa? port 0x20d2 irq 10 drq 3
278#device	sbxvi0 	at isa? drq 3
279#device	sbmidi0	at isa? port 0x80d2
280#device	opl0	at isa? port 0x28d2
281#device	nss0	at isa? port 0xa460 irq 12
282#device	mss0	at isa? port 0xf40 irq 12 drq 1
283#device	mpu0	at isa? port 0xe0d0 irq 6
284
285#device	joy0	at isa? port 0x04d2
286
287# Pseudo devices - the number indicates how many units to allocated.
288pseudo-device	loop		# Network loopback
289pseudo-device	ether		# Ethernet support
290pseudo-device	sl	1	# Kernel SLIP
291pseudo-device	ppp	1	# Kernel PPP
292pseudo-device	tun		# Packet tunnel.
293pseudo-device	pty		# Pseudo-ttys (telnet etc)
294pseudo-device	md		# Memory "disks"
295pseudo-device	gif	4	# IPv6 and IPv4 tunneling
296pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
297
298# The `bpf' pseudo-device enables the Berkeley Packet Filter.
299# Be aware of the administrative consequences of enabling this!
300pseudo-device	bpf		#Berkeley packet filter
301
302#pseudo-device	compat_atdisk	#IBM-PC HDD support
303
304# USB support
305#device		uhci		# UHCI PCI->USB interface
306#device		ohci		# OHCI PCI->USB interface
307#device		usb		# USB Bus (required)
308#device		ugen		# Generic
309#device		uhid		# "Human Interface Devices"
310#device		ukbd		# Keyboard
311#device		ulpt		# Printer
312#device		umass		# Disks/Mass storage - Requires scbus and da
313#device		ums		# Mouse
314# USB Ethernet, requires mii
315#device		aue		# ADMtek USB ethernet
316#device		cue		# CATC USB ethernet
317#device		kue		# Kawasaki LSI USB ethernet
318