GENERIC revision 21673
1243730Srwatson#
2243730Srwatson# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3243730Srwatson#
4243730Srwatson# For more information read the handbook part System Administration -> 
5243730Srwatson# Configuring the FreeBSD Kernel -> The Configuration File. 
6243730Srwatson# The handbook is available in /usr/share/doc/handbook or online as
7243730Srwatson# latest version from the FreeBSD World Wide Web server 
8243730Srwatson# <URL:http://www.FreeBSD.ORG/>
9243730Srwatson#
10243730Srwatson# An exhaustive list of options and more detailed explanations of the 
11243730Srwatson# device lines is present in the ./LINT configuration file. If you are 
12243730Srwatson# in doubt as to the purpose or necessity of a line, check first in LINT.
13243730Srwatson#
14243730Srwatson#	$FreeBSD: head/sys/pc98/conf/GENERIC 21673 1997-01-14 07:20:47Z jkh $
15243730Srwatson
16243730Srwatson# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
17243730Srwatson
18243730Srwatsonmachine		"pc98"
19243730Srwatsoncpu		"I386_CPU"
20243730Srwatsoncpu		"I486_CPU"
21243730Srwatsoncpu		"I586_CPU"
22243730Srwatsoncpu		"I686_CPU"
23243730Srwatsonident		"GENERIC98"
24243730Srwatsonmaxusers	10
25243730Srwatson
26243730Srwatsonoptions		"PC98"			#PC98
27243730Srwatsonoptions		MATH_EMULATE		#Support for x87 emulation
28243730Srwatsonoptions		INET			#InterNETworking
29243730Srwatsonoptions		FFS			#Berkeley Fast Filesystem
30243734Srwatsonoptions		NFS			#Network Filesystem
31243730Srwatsonoptions		MSDOSFS			#MSDOS Filesystem
32243730Srwatsonoptions		"CD9660"		#ISO 9660 Filesystem
33243734Srwatsonoptions		PROCFS			#Process filesystem
34243730Srwatsonoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
35243730Srwatsonoptions		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
36243730Srwatsonoptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
37243730Srwatsonoptions		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
38243730Srwatson#options		EPSON_MEMWIN		#EPSON memory window support
39243730Srwatsonoptions		UCONSOLE		#Allow users to grab the console
40243730Srwatsonoptions		"LINE30"
41243730Srwatsonoptions		FAILSAFE		#Be conservative
42243730Srwatsonoptions		USERCONFIG		#boot -c editor
43243730Srwatsonoptions		VISUAL_USERCONFIG	#visual boot -c editor
44243730Srwatson
45243730Srwatsonoptions		SYSVSHM			
46243730Srwatsonoptions		SYSVSEM
47243730Srwatsonoptions		SYSVMSG
48243730Srwatson
49243730Srwatsonoptions		AUTO_CLOCK
50243730Srwatsonoptions		COM_MULTIPORT
51243730Srwatson
52243730Srwatson#
53243730Srwatson#	non-Intel CPU support
54243730Srwatson#
55243730Srwatson#options	"IBM_486SLC"		# IBM486SLC/SLC2 support
56243730Srwatson#options	"CYRIX_486DLC"		# Cyrix 486DLC/SLC/DLC2/SLC2 support
57243730Srwatson#options	"CYRIX_5X86"		# Cyrix 5x86 support
58243730Srwatson#options	SUSP_HLT		# CPU enters suspend mode when HALT
59243730Srwatson#options	"DISABLE_5X86_LSSER"	# Load-Store reordering enable
60243730Srwatson#
61243730Srwatson#	IBM-PC HDD support
62243730Srwatson#options	COMPAT_ATDISK
63243730Srwatson#
64243730Srwatson#	FreeBSD(98)-current is a *TEST VERSION*.  
65243730Srwatson#	It is highly recomended to compile with following options, and to
66243730Srwatson#	record the panic messages and the result of trace command brefore 
67243730Srwatson#	reporting a problem.
68243730Srwatsonoptions		DDB
69243730Srwatsonoptions		DIAGNOSTIC
70243730Srwatson
71243730Srwatsonconfig		kernel	root on wd0
72243730Srwatson
73243730Srwatsoncontroller	isa0
74243730Srwatsoncontroller	pci0
75243730Srwatson
76243730Srwatsoncontroller	fdc0	at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
77243730Srwatsondisk		fd0	at fdc0 drive 0
78243730Srwatsondisk		fd1	at fdc0 drive 1
79243730Srwatsondisk		fd2	at fdc0 drive 2
80243730Srwatsondisk		fd3	at fdc0 drive 3
81243730Srwatsontape		ft0	at fdc0 drive 4
82243730Srwatson
83243730Srwatsoncontroller	wdc0	at isa? port "IO_WD1" bio irq 9 vector wdintr
84243730Srwatsondisk		wd0	at wdc0 drive 0
85243730Srwatson#disk		wd1	at wdc0 drive 1
86243730Srwatson#disk		wd2	at wdc0 drive 2
87243730Srwatson#disk		wd3	at wdc0 drive 3
88243730Srwatson
89243730Srwatsonoptions		ATAPI	# Enable ATAPI support for IDE bus
90243730Srwatsonoptions		ATAPI_STATIC	#Don't do it as an LKM
91243730Srwatsondevice		wcd0	#IDE CD-ROM
92243730Srwatson
93243730Srwatson# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
94243730Srwatson# for any number of installed devices.
95243730Srwatsoncontroller	ncr0
96243730Srwatsoncontroller	ahc0
97243730Srwatson
98243730Srwatson#
99243730Srwatson# WD33C93 SCSI card (55/92 like board)
100243730Srwatson#
101243730Srwatson
102243730Srwatsonoptions	BS_TARG_SAFEMODE
103243730Srwatson
104243730Srwatson# PC-9801-92
105243730Srwatsoncontroller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
106243730Srwatson# SC-98
107243730Srwatson# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
108243730Srwatson# HA-55BS2 and later
109243730Srwatson#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
110243730Srwatson# ELECOM type
111243730Srwatson#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
112243730Srwatson# SMIT
113243730Srwatson#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdc000 iosiz 0x1000 flags 0x40000 vector bsintr
114243730Srwatson# Logitec LHA-20x
115243730Srwatson#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr
116243730Srwatson
117243730Srwatsoncontroller	aic0	at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
118243730Srwatson
119243730Srwatsoncontroller	scbus0
120243730Srwatson
121243730Srwatsondevice		sd0
122243730Srwatson
123243730Srwatsondevice		od0	#See LINT for possible `od' options.
124243730Srwatson
125243730Srwatsondevice		st0
126243730Srwatson
127243730Srwatsondevice		cd0	#Only need one of these, the code dynamically grows
128243730Srwatson
129243730Srwatsoncontroller	matcd0	at isa? port? bio
130243730Srwatson
131243730Srwatson# syscons is the default console driver, resembling an SCO console
132243730Srwatsondevice		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
133243730Srwatson#options		XSERVER			# include code for XFree86
134243730Srwatson
135243730Srwatson# Mandatory, don't remove
136243730Srwatsondevice		npx0	at isa? port "IO_NPX" irq 8 vector npxintr
137243730Srwatson
138243730Srwatson#
139243730Srwatson# Laptop support (see LINT for more options)
140243730Srwatson#
141243730Srwatsondevice		apm0    at isa?	disable	# Advanced Power Management
142243730Srwatsonoptions		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
143243730Srwatson# PCCARD (PCMCIA) support
144243730Srwatson#controller	crd0
145243730Srwatson#device		pcic0	at crd?
146243730Srwatson#device		pcic1	at crd?
147243730Srwatson
148243730Srwatsondevice		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
149243730Srwatsondevice		sio1	at isa? port 0xd2  tty irq 5 flags 0x101 vector siointr
150243730Srwatsondevice		sio2	at isa? port 0x8d2 tty flags 0x101 vector siointr
151243730Srwatson
152243730Srwatsondevice		lpt0	at isa? port "IO_LPT"  tty
153243730Srwatsondevice		mse0	at isa? port "IO_MSE" tty irq 13 vector mseintr
154243730Srwatson
155243730Srwatson# Order is important here due to intrusive probes, do *not* alphabetize
156243730Srwatson# this list of network interfaces until the probes have been fixed.
157243730Srwatson# Right now it appears that the ie0 must be probed before ep0. See
158243730Srwatson# revision 1.20 of this file.
159243730Srwatsondevice de0
160243730Srwatsondevice fxp0
161243730Srwatsondevice vx0
162243730Srwatson
163243730Srwatson#
164243730Srwatson# DP8390 NIC
165243730Srwatson#
166243730Srwatson# ed0: generic driver
167243730Srwatson# ed1: LANEED LD-BDN
168243730Srwatson# ed2: EGY-98
169243730Srwatson# ed3: LGY-98
170243730Srwatson# ed4: ICM-IF-2766/EN-2298-T
171243730Srwatson# ed5: SIC-98
172243730Srwatson# ed6: PC-9801-108
173243730Srwatson# ed7: LA-98
174243730Srwatson# ed8: C-NET(98)
175243730Srwatson# ed9: C-NET(98)E/L
176243730Srwatson#
177243730Srwatsondevice ed0 at isa? port 0x00d0 net irq 6 vector edintr
178243730Srwatsondevice ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
179243730Srwatsondevice ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
180243730Srwatsondevice ed3 at isa? port 0x00d0 net irq 6 flags 0x400000 vector edintr
181243730Srwatsondevice ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
182243730Srwatsondevice ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
183243730Srwatsondevice ed6 at isa? port 0x00d0 net irq 6 flags 0x800000 vector edintr
184243730Srwatsondevice ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
185243730Srwatsondevice ed8 at isa? port 0x03d0 net irq 6 flags 0xa00000 vector edintr
186243730Srwatsondevice ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
187243730Srwatson
188243730Srwatsondevice ep0 at isa? port 0x40d0 net irq 3 vector epintr
189243730Srwatsondevice fe0 at isa? port 0x00d0 net irq 3 vector feintr
190243730Srwatsondevice zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr 
191243730Srwatson
192243730Srwatson#controller	snd0
193243730Srwatson#device	sb0	at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
194243730Srwatson#device	sbxvi0 	at isa? drq 3
195243730Srwatson#device	sbmidi0	at isa? port 0x80d2
196243730Srwatson#device	opl0	at isa? port 0x28d2
197243730Srwatson#device pcm0    at isa? port 0xa460 irq 12 vector pcmintr
198243730Srwatson#device	mss0	at isa? port 0xf40 irq 12 drq 1 vector adintr
199243730Srwatson
200243730Srwatsonpseudo-device	loop
201243730Srwatsonpseudo-device	ether
202243730Srwatsonpseudo-device	log
203243730Srwatsonpseudo-device	sl	2
204243730Srwatson# ijppp uses tun instead of ppp device
205243730Srwatson#pseudo-device	ppp	1
206243730Srwatsonpseudo-device	tun	1
207243730Srwatsonpseudo-device	pty	16
208243730Srwatsonpseudo-device	gzip		# Exec gzipped a.out's
209243730Srwatson
210243730Srwatson# KTRACE enables the system-call tracing facility ktrace(2).
211243730Srwatson# This adds 4 KB bloat to your kernel, and slightly increases
212243730Srwatson# the costs of each syscall.
213243730Srwatsonoptions		KTRACE		#kernel tracing
214243730Srwatson
215243730Srwatson