GENERIC revision 60717
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 60717 2000-05-19 16:36:42Z nyan $
19
20machine		pc98
21cpu		I386_CPU
22cpu		I486_CPU
23cpu		I586_CPU
24cpu		I686_CPU
25ident		GENERIC
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 extensions
57options 	_KPOSIX_PRIORITY_SCHEDULING
58options		ICMP_BANDLIM		#Rate limit bad replies
59#options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
60
61# To make an SMP kernel, the next two are needed
62#options 	SMP			# Symmetric MultiProcessor Kernel
63#options 	APIC_IO			# Symmetric (APIC) I/O
64# Optionally these may need tweaked, (defaults shown):
65#options 	NCPU=2			# number of CPUs
66#options 	NBUS=4			# number of busses
67#options 	NAPIC=1			# number of IO APICs
68#options 	NINTR=24		# number of INTs
69
70device		isa
71device		pci
72options 	COMPAT_OLDISA		# Old ISA driver shims
73options 	COMPAT_OLDPCI		# Old PCI driver shims
74
75# Floppy drives
76device		fdc0	at isa? port IO_FD1 irq 11 drq 2
77device		fd0	at fdc0 drive 0
78device		fd1	at fdc0 drive 1
79device		fd2	at fdc0 drive 2
80device		fd3	at fdc0 drive 3
81
82# IDE controller and disks
83device		wdc0	at isa? port IO_WD1 irq 9
84device		wd0	at wdc0 drive 0
85#device		wd1	at wdc0 drive 1
86#device		wd2	at wdc0 drive 2
87#device		wd3	at wdc0 drive 3
88
89# ATAPI devices on wdc
90device		wcd		#IDE CD-ROM
91#device		wfd		#IDE Floppy (e.g. LS-120)
92#device		wst		#IDE Tape (e.g. Travan)
93
94# SCSI Controllers
95device		adv
96device		ahc		# AHA2940 and onboard AIC7xxx devices
97device		amd		# AMD 53C974 (Teckram DC-390(T))
98device		isp		# Qlogic family
99device		ncr		# NCR/Symbios Logic
100device		sym		# NCR/Symbios Logic (newer chipsets)
101
102#
103# WD33C93 SCSI card (55/92 like board)
104#
105
106options	BS_TARG_SAFEMODE
107
108# PC-9801-92
109device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0
110# SC-98
111# device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x10000
112# HA-55BS2 and later
113#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x20000
114# ELECOM type
115#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x30000
116# SMIT
117#device bs0 at isa? port IO_SCSI irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
118# Logitec LHA-20x
119#device bs0 at isa? port IO_SCSI irq 5 drq 3 flags 0x50000
120
121# PC-9801-100
122device	aic0	at isa? port 0x1840 irq 5 flags 0x10000
123
124# SCSI peripherals
125device		scbus		# SCSI bus (required)
126device		da		# Direct Access (disks)
127device		sa		# Sequential Access (tape etc)
128device		cd		# CD
129device		pass		# Passthrough device (direct SCSI access)
130
131# RAID controllers
132device		ida		# Compaq Smart RAID
133device		amr		# AMI MegaRAID
134device		mlx		# Mylex DAC960 family
135
136# keyboard driver
137device		pckbd0	at isa? port IO_KBD irq 1
138
139device		gdc0	at isa?
140
141# splash screen/screen saver
142pseudo-device	splash
143
144# syscons is the default console driver, resembling an SCO console
145device		sc0	at isa?
146
147# Floating point support - do not disable.
148device		npx0	at nexus? port IO_NPX irq 8
149
150# Power management support (see LINT for more options)
151#device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
152
153# PCCARD (PCMCIA) support
154device		card
155device		pcic0	at isa? irq 6 port 0x3e0
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 0x12000010
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? irq 14
190device		ppbus		# Parallel port bus (required)
191device		lpt		# Printer
192device		plip		# TCP/IP over parallel
193device		ppi		# Parallel port interface device
194#device		vpo		# Requires scbus and da
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		de		# DEC/Intel DC21x4x (``Tulip'')
202device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
203device		tx		# SMC 9432TX (83c170 ``EPIC'')
204device		vx		# 3Com 3c590, 3c595 (``Vortex'')
205device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')
206
207# PCI Ethernet NICs that use the common MII bus controller code.
208device		miibus		# MII bus support
209device		dc		# DEC/Intel 21143 and various workalikes
210device		rl		# RealTek 8129/8139
211device		sf		# Adaptec AIC-6915 (``Starfire'')
212device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
213device		ste		# Sundance ST201 (D-Link DFE-550TX)
214device		tl		# Texas Instruments ThunderLAN
215device		vr		# VIA Rhine, Rhine II
216device		wb		# Winbond W89C840F
217device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
218
219# ISA Ethernet NICs.
220#
221# DP8390 NIC
222#
223# ed0: generic driver/EtherEZ98
224# ed1: LANEED LD-BDN
225# ed2: EGY-98
226# ed3: LGY-98
227# ed4: ICM-IF-2766/EN-2298-T
228# ed5: SIC-98
229# ed6: PC-9801-108
230# ed7: LA-98
231# ed8: C-NET(98)
232# ed9: C-NET(98)E/L
233# ed10: EC/EP-98X
234# ed11: SIU-98-D
235#
236#device ed0 at isa? port 0x00d0 irq 6
237##device ed0 at isa? port 0x10d0 irq 6 iomem 0xc8000    # SMC EtherEZ98
238#device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
239#device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
240#device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
241#device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
242#device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
243#device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
244#device ed6 at isa? port 0x0770 irq 6 flags 0x800000
245#device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
246#device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
247#device ed10 at isa? port 0x00d0 irq 3 flags 0xd10000
248#device ed11 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 32768 flags 0x610000
249#
250# MB86960A NIC
251#
252# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
253# fe1: C-NET(98)P2/C-NET(9N)E
254#
255# FE_8BIT_SUPPORT is needed to support LAC-98
256#
257options 	FE_8BIT_SUPPORT		# LAC-98 support
258device		fe0	at isa? port 0x00d0 irq 3
259device		fe1	at isa? port 0x73d0 irq 5
260
261device		ep0	at isa? port 0x40d0 irq 3
262device		lnc0	at isa? port 0x03d0 irq 6
263device		sn
264
265# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
266# exists only as a PCMCIA device, so there is no ISA attatement needed
267# and resources will always be dynamically assigned by the pccard code.
268device		wi
269# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
270# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
271# mode (the factory default). If you set the switches on your ISA
272# card for a manually chosen I/O address and IRQ, you must specify
273# those paremeters here.
274device		an
275# BayStack 660 and others
276device		awi
277# Xircom pccard ethernet
278device		xe
279
280
281#device	snd
282#device	sb0	at isa? port 0x20d2 irq 10 drq 3
283#device	sbxvi0 	at isa? drq 3
284#device	sbmidi0	at isa? port 0x80d2
285#device	opl0	at isa? port 0x28d2
286#device	nss0	at isa? port 0xa460 irq 12
287#device	mss0	at isa? port 0xf40 irq 12 drq 1
288#device	mpu0	at isa? port 0xe0d0 irq 6
289
290#device	joy0	at isa? port 0x04d2
291
292# The newpcm driver (use INSTEAD of snd0 and all VOXWARE drivers!).
293#
294# Windows Sound System
295#device	pcm0	at isa? port 0xf40 irq 12 drq 1 flags 0x10000
296#
297# Sound Blaster 16 (This device need the bridge driver.)
298#device	pcm
299#device	sbc0	at isa? port 0x20d2 irq 10 drq 3
300
301# Pseudo devices - the number indicates how many units to allocated.
302pseudo-device	loop		# Network loopback
303pseudo-device	ether		# Ethernet support
304pseudo-device	sl	1	# Kernel SLIP
305pseudo-device	ppp	1	# Kernel PPP
306pseudo-device	tun		# Packet tunnel.
307pseudo-device	pty		# Pseudo-ttys (telnet etc)
308pseudo-device	md		# Memory "disks"
309pseudo-device	gif	4	# IPv6 and IPv4 tunneling
310pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
311
312# The `bpf' pseudo-device enables the Berkeley Packet Filter.
313# Be aware of the administrative consequences of enabling this!
314pseudo-device	bpf		# Berkeley packet filter
315
316#pseudo-device	compat_atdisk	#IBM-PC HDD support
317
318# USB support
319#device		uhci		# UHCI PCI->USB interface
320#device		ohci		# OHCI PCI->USB interface
321#device		usb		# USB Bus (required)
322#device		udbp		# USB Double Bulk Pipe devices
323#device		ugen		# Generic
324#device		uhid		# "Human Interface Devices"
325#device		ukbd		# Keyboard
326#device		ulpt		# Printer
327#device		umass		# Disks/Mass storage - Requires scbus and da
328#device		ums		# Mouse
329#device		urio		# Diamond Rio 500 MP3 player
330# USB Ethernet, requires mii
331#device		aue		# ADMtek USB ethernet
332#device		cue		# CATC USB ethernet
333#device		kue		# Kawasaki LSI USB ethernet
334