GENERIC revision 56372
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 56372 2000-01-21 13:22:07Z 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 	MD_ROOT			#MD is a potential root device
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
57options 	P1003_1B		#Posix P1003_1B real-time extentions
58options 	_KPOSIX_PRIORITY_SCHEDULING
59options 	_KPOSIX_VERSION=199309L
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		isa0
71device		pci0
72
73# Floppy drives
74device		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
81device		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 (ahb, ahc, amd, ncr, etc...) is
94# sufficient for any number of installed devices.
95device		adv0
96device		ahc0		# AHA2940 and onboard AIC7xxx devices
97device		amd0		# AMD 53C974 (Teckram DC-390(T))
98device		isp0		# Qlogic family
99device		ncr0		# NCR/Symbios Logic
100device		sym0		# 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# SCSI peripherals
122# Only one of each of these is needed, they are dynamically allocated.
123device		scbus0		# SCSI bus (required)
124device		da0		# Direct Access (disks)
125device		sa0		# Sequential Access (tape etc)
126device		cd0		# CD
127device		pass0		# Passthrough device (direct SCSI access)
128
129# RAID controllers
130device		amr0		# AMI MegaRAID
131device		mlx0		# Mylex DAC960 family
132
133# keyboard driver
134device		pckbd0	at isa? port IO_KBD irq 1
135#options 	KBD_INSTALL_CDEV
136
137device		gdc0	at isa?
138
139# splash screen/screen saver
140pseudo-device	splash
141
142# syscons is the default console driver, resembling an SCO console
143device		sc0	at isa?
144
145# Floating point support - do not disable.
146device		npx0	at nexus? port IO_NPX irq 8
147
148# Power management support (see LINT for more options)
149device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
150
151# PCCARD (PCMCIA) support
152device		card0
153device		pcic0	at isa? irq 6 port 0x3e0
154
155# Serial (COM) ports
156#
157options 	COM_MULTIPORT
158#
159# COM1
160device		sio0	at isa? port IO_COM1 irq 4
161# COM2 (2nd CCU)
162device		sio1	at isa? port 0x238 irq 5 flags 0x12000000
163# PC-9861K, PC-9801-101, MDC-926Rs
164#device		sio1	at isa? port IO_COM2 irq 5 flags 0x01000000
165#device		sio2	at isa? port IO_COM3 irq 6 flags 0x02000000
166# PC-9801-120 (PnP off)
167#device		sio1	at isa? port 0x8b0 irq 5 flags 0x11000000
168# MC-16550II, MC-RS98
169#device		sio1	at isa? port 0xd2 irq 5 flags 0x14000101
170#device		sio2	at isa? port 0x8d2 flags 0x14000101
171# RSB-2000, RSB-3000, B98-02
172#device		sio1	at isa? port 0xb0 flags 0x15000101
173#device		sio2	at isa? port 0xb1 flags 0x15000101
174# RSB-384
175#device		sio1	at isa? port 0xb0 flags 0x16000000
176#device		sio2	at isa? port 0xb1 flags 0x16000000
177# RSA-98III
178#device		sio1	at isa? port 0x50e0 irq 5 flags 0x18000101
179#device		sio2	at isa? port 0x51e0 flags 0x18000101
180# ESP98
181#options 	COM_ESP
182#device		sio1	at isa? port 0x18b0 irq 5 flags 0x19000000
183
184device		mse0	at isa? port IO_MSE irq 13
185
186# NEW Parallel port
187device		ppc0	at isa? port? irq 14
188device		ppbus0		# Parallel port bus (required)
189device		lpt0	at ppbus?	# Printer
190device		plip0	at ppbus?	# TCP/IP over parallel
191device		ppi0	at ppbus?	# Parallel port interface device
192#device		vpo0	at ppbus?	# Requires scbus and da0
193# OLD Parallel port
194# Please stay olpt driver after ppc driver
195device		olpt0	at isa? port IO_LPT
196
197
198# PCI Ethernet NICs.
199device		de0		# DEC/Intel DC21x4x (``Tulip'')
200device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
201device		tx0		# SMC 9432TX (83c170 ``EPIC'')
202device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
203device		wx0		# Intel Gigabit Ethernet Card (``Wiseman'')
204
205# PCI Ethernet NICs that use the common MII bus controller code.
206device		miibus0		# MII bus support
207device		dc0		# DEC/Intel 21143 and various workalikes
208device		rl0		# RealTek 8129/8139
209device		sf0		# Adaptec AIC-6915 (``Starfire'')
210device		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
211device		ste0		# Sundance ST201 (D-Link DFE-550TX)
212device		tl0		# Texas Instruments ThunderLAN
213device		vr0		# VIA Rhine, Rhine II
214device		wb0		# Winbond W89C840F
215device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
216
217# ISA Ethernet NICs.
218#
219# DP8390 NIC
220#
221# ed0: generic driver/EtherEZ98
222# ed1: LANEED LD-BDN
223# ed2: EGY-98
224# ed3: LGY-98
225# ed4: ICM-IF-2766/EN-2298-T
226# ed5: SIC-98
227# ed6: PC-9801-108
228# ed7: LA-98
229# ed8: C-NET(98)
230# ed9: C-NET(98)E/L
231# ed10: EC/EP-98X
232# ed11: SIU-98-D
233#
234#device ed0 at isa? port 0x00d0 irq 6
235##device ed0 at isa? port 0x10d0 irq 6 iomem 0xc8000    # SMC EtherEZ98
236#device ed5 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
237#device ed1 at isa? port 0x00d8 irq 6 flags 0x200000
238#device ed3 at isa? port 0x00d0 irq 6 flags 0x400000
239#device ed4 at isa? port 0x56d0 irq 5 flags 0x500000
240#device ed2 at isa? port 0x00d8 irq 6 flags 0x300000
241#device ed7 at isa? port 0x00d0 irq 6 flags 0x900000
242#device ed6 at isa? port 0x0770 irq 6 flags 0x800000
243#device ed9 at isa? port 0x03d0 irq 6 flags 0xb00000
244#device ed8 at isa? port 0xa3d0 irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
245#device ed10 at isa? port 0x00d0 irq 3 flags 0xd10000
246#device ed11 at isa? port 0x00d0 irq 6 iomem 0xd0000 iosiz 32768 flags 0x610000
247#
248# MB86960A NIC
249#
250# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
251# fe1: C-NET(98)P2/C-NET(9N)E
252#
253# FE_8BIT_SUPPORT is needed to support LAC-98
254#
255options 	FE_8BIT_SUPPORT		# LAC-98 support
256device		fe0	at isa? port 0x00d0 irq 3
257device		fe1	at isa? port 0x73d0 irq 5
258
259device		ep0	at isa? port 0x40d0 irq 3
260device		lnc0	at isa? port 0x03d0 irq 6
261
262# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
263# exists only as a PCMCIA device, so there is no ISA attatement needed
264# and resources will always be dynamically assigned by the pccard code.
265#device		wi0
266
267# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
268# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
269# mode (the factory default). If you set the switches on your ISA
270# card for a manually chosen I/O address and IRQ, you must specify
271# those paremeters here.
272# device	an0
273
274# requires PCCARD (PCMCIA) support to be activated
275device		sn0
276#device		xe0	at isa? port? irq ?
277
278#device	snd0
279#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3
280#device	sbxvi0 	at isa? drq 3
281#device	sbmidi0	at isa? port 0x80d2
282#device	opl0	at isa? port 0x28d2
283#device	nss0	at isa? port 0xa460 irq 12
284#device	mss0	at isa? port 0xf40 irq 12 drq 1
285#device	mpu0	at isa? port 0xe0d0 irq 6
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"
295
296# The `bpf' pseudo-device enables the Berkeley Packet Filter.
297# Be aware of the administrative consequences of enabling this!
298pseudo-device	bpf		#Berkeley packet filter
299
300#pseudo-device	compat_atdisk	#IBM-PC HDD support
301
302# USB support
303#device		uhci0		# UHCI PCI->USB interface
304#device		ohci0		# OHCI PCI->USB interface
305#device		usb0		# USB Bus (required)
306#device		ugen0		# Generic
307#device		uhid0		# "Human Interface Devices"
308#device		ukbd0		# Keyboard
309#device		ulpt0		# Printer
310#device		umass0		# Disks/Mass storage - Requires scbus and da0
311#device		ums0		# Mouse
312# USB Ethernet
313#device		aue0		# ADMtek USB ethernet
314#device		cue0		# CATC USB ethernet
315#device		kue0		# Kawasaki LSI USB ethernet
316