GENERIC revision 17973
1#
2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3#
4# For more information read the handbook part System Administration -> 
5# Configuring the FreeBSD Kernel -> The Configuration File. 
6# The handbook is available in /usr/share/doc/handbook or online as
7# latest version from the FreeBSD World Wide Web server 
8# <URL:http://www.FreeBSD.ORG/>
9#
10# An exhaustive list of options and more detailed explanations of the 
11# device lines is present in the ./LINT configuration file. If you are 
12# in doubt as to the purpose or necessity of a line, check first in LINT.
13#
14#	$Id: GENERIC,v 1.75 1996/08/27 16:25:53 wosch Exp $
15
16# GENERIC98 -- Generic PC98 machine with WD/SBIC55 disks
17
18machine		"pc98"
19cpu		"I386_CPU"
20cpu		"I486_CPU"
21cpu		"I586_CPU"
22cpu		"I686_CPU"
23ident		"GENERIC98"
24maxusers	10
25
26options		"PC98"			#PC98
27options		MATH_EMULATE		#Support for x87 emulation
28#options		GPL_MATH_EMULATE	#GPL-licensed emulator
29options		INET			#InterNETworking
30options		FFS			#Berkeley Fast Filesystem
31options		NFS			#Network Filesystem
32options		MSDOSFS			#MSDOS Filesystem
33options		"CD9660"		#ISO 9660 Filesystem
34options		PROCFS			#Process filesystem
35options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
36options		SYSVSHM			
37options		SYSVSEM
38options		SYSVMSG
39options		UCONSOLE		#Allow users to grab the console
40options		FAILSAFE		#Be conservative
41options		"MAXCONS=4"		#4 virtual consoles
42options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
43options		EPSON_BOUNCEDMA		#use bounce buufer for 15-16M
44#options		EPSON_MEMWIN		#EPSON memory window support
45options		"LINE30"
46options		AUTO_CLOCK
47options		COM_MULTIPORT
48
49#
50#	non-Intel CPU support
51#
52#options	"IBM_486SLC"		# IBM486SLC/SLC2 support
53#options	"CYRIX_486DLC"		# Cyrix 486DLC/SLC/DLC2/SLC2 support
54#option		"CYRIX_5X86"		# Cyrix 5x86 support
55#options	SUSP_HLT		# CPU enters suspend mode when HALT
56#options	"DISABLE_5X86_LSSER"	# Load-Store reordering enable
57
58#
59#	sbic55.c.new
60#
61#options	SCSI_SYNC		# synchronous transfer mode
62#options	FORCE_BUSMASTER
63#options	"HA55BS_ID=0"
64
65#
66#	IBM-PC HDD support
67#options	COMPAT_ATDISK
68
69#
70#	FreeBSD(98)-current is a *TEST VERSION*.  
71#	It is highly recomended to compile with following options, and to
72#	record the panic messages and the result of trace command brefore 
73#	reporting a problem.
74options		DDB
75options		DIAGNOSTIC
76
77config		kernel	root on wd0
78
79controller	nec0
80controller	pci0
81
82controller	fdc0	at nec? port "IO_FD1" bio irq 11 drq 2 vector fdintr
83disk		fd0	at fdc0 drive 0
84disk		fd1	at fdc0 drive 1
85disk		fd2	at fdc0 drive 2
86disk		fd3	at fdc0 drive 3
87tape		ft0	at fdc0 drive 4
88
89controller	wdc0	at nec? port "IO_WD1" bio irq 9 vector wdintr
90disk		wd0	at wdc0 drive 0
91#disk		wd1	at wdc0 drive 1
92#disk		wd2	at wdc0 drive 2
93#disk		wd3	at wdc0 drive 3
94
95options		ATAPI	# Enable ATAPI support for IDE bus
96options		ATAPI_STATIC	#Don't do it as an LKM
97device		wcd	#IDE CD-ROM
98
99controller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 3 vector sbicintr
100#controller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 3 flags 0xff vector sbicintr
101controller	aic0	at nec? port 0x1840 bio irq 5 vector aicintr
102controller	ahc0
103
104controller	scbus0
105
106device		sd0
107
108device		st0
109
110device		cd0	#Only need one of these, the code dynamically grows
111
112device		od0
113
114controller	matcd0	at nec? port? bio
115
116# syscons is the default console driver, resembling an SCO console
117device		sc0	at nec? port "IO_KBD" tty irq 1 vector scintr
118#options		XSERVER			# include code for XFree86
119
120# Mandatory, don't remove
121device		npx0	at nec? port "IO_NPX" irq 8 vector npxintr
122
123#
124# Laptop support (see LINT for more options)
125#
126device		apm0    at nec?	disable	# Advanced Power Management
127options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
128# PCCARD (PCMCIA) support
129#controller	crd0
130#device		pcic0	at crd?
131#device		pcic1	at crd?
132
133device		lpt0	at nec? port "IO_LPT"  tty
134device		mse0	at nec? port "IO_MSE" tty irq 13 vector mseintr
135
136device		sio0	at nec? port "IO_COM1" tty irq 4 vector siointr
137device		sio1	at nec? port 0xd2  tty irq 5 flags 0x101 vector siointr
138device		sio2	at nec? port 0x8d2 tty flags 0x101 vector siointr
139
140
141device ed0 at nec? port 0x00d0 net irq 6 vector edintr
142device ed1 at nec? port 0x56d0 net irq 5 vector edintr
143device ed2 at nec? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 vector edintr
144device fe0 at nec? port 0x00d0 net irq 3 vector feintr
145device zp0 at nec? port 0x0300 net irq 10 iomem 0xe0000 vector zpintr 
146device ep0 at nec? port 0x00d0 net irq 6 vector epintr
147
148#controller	snd0
149#device	sb0	at nec? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
150#device	sbxvi0 	at nec? drq 3
151#device	sbmidi0	at nec? port 0x80d2
152#device	opl0	at nec? port 0x28d2
153
154#device pcm0    at nec? port 0xa460 irq 12 vector pcmintr
155
156#device	mss0	at nec? port 0xf40 irq12 drq 1 vectro adintr
157
158pseudo-device	loop
159pseudo-device	ether
160pseudo-device	log
161pseudo-device	sl	2
162# ijppp uses tun instead of ppp device
163#pseudo-device	ppp	1
164pseudo-device	tun	1
165pseudo-device	pty	16
166pseudo-device	gzip		# Exec gzipped a.out's
167
168# KTRACE enables the system-call tracing facility ktrace(2).
169# This adds 4 KB bloat to your kernel, and slightly increases
170# the costs of each syscall.
171options		KTRACE		#kernel tracing
172
173