GENERIC revision 17846
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.74 1996/07/11 11:18:45 jkh Exp $
15
16machine		"i386"
17cpu		"I386_CPU"
18cpu		"I486_CPU"
19cpu		"I586_CPU"
20cpu		"I686_CPU"
21ident		GENERIC
22maxusers	10
23
24options		MATH_EMULATE		#Support for x87 emulation
25options		INET			#InterNETworking
26options		FFS			#Berkeley Fast Filesystem
27options		NFS			#Network Filesystem
28options		MSDOSFS			#MSDOS Filesystem
29options		"CD9660"		#ISO 9660 Filesystem
30options		PROCFS			#Process filesystem
31options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
32options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
33options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
34options		UCONSOLE		#Allow users to grab the console
35options		FAILSAFE		#Be conservative
36
37config		kernel	root on wd0
38
39controller	isa0
40controller	eisa0
41controller	pci0
42
43controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
44disk		fd0	at fdc0 drive 0
45disk		fd1	at fdc0 drive 1
46tape		ft0	at fdc0 drive 2
47
48controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
49disk		wd0	at wdc0 drive 0
50disk		wd1	at wdc0 drive 1
51
52controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
53disk		wd2	at wdc1 drive 0
54disk		wd3	at wdc1 drive 1
55
56options		ATAPI		#Enable ATAPI support for IDE bus
57options		ATAPI_STATIC	#Don't do it as an LKM
58device		wcd0	#IDE CD-ROM
59
60# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
61# for any number of installed devices.
62controller	ncr0
63controller	ahb0
64controller	ahc0
65
66controller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
67controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
68controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
69controller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
70controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
71controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
72controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
73
74controller	scbus0
75
76device		sd0
77
78device		od0	#See LINT for possible `od' options.
79
80device		st0
81
82device		cd0	#Only need one of these, the code dynamically grows
83
84device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
85device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
86
87controller	matcd0	at isa? port 0x230 bio
88
89device		scd0	at isa? port 0x230 bio
90
91# syscons is the default console driver, resembling an SCO console
92device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
93# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
94#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
95#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
96#options		XSERVER			# include code for XFree86
97#options		FAT_CURSOR		# start with block cursor
98# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
99#options		PCVT_SCANSET=2		# IBM keyboards are non-std
100
101# Mandatory, don't remove
102device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
103
104#
105# Laptop support (see LINT for more options)
106#
107device		apm0    at isa?	disable	# Advanced Power Management
108options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
109# PCCARD (PCMCIA) support
110#controller	crd0
111#device		pcic0	at crd?
112#device		pcic1	at crd?
113
114device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
115device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
116device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
117device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
118
119device		lpt0	at isa? port? tty irq 7 vector lptintr
120device		lpt1	at isa? port? tty
121device		mse0	at isa? port 0x23c tty irq 5 vector mseintr
122
123device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
124
125# Order is important here due to intrusive probes, do *not* alphabetize
126# this list of network interfaces until the probes have been fixed.
127# Right now it appears that the ie0 must be probed before ep0. See
128# revision 1.20 of this file.
129device de0
130device fxp0
131device vx0
132
133device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
134device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
135device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
136device ep0 at isa? port 0x300 net irq 10 vector epintr
137device fe0 at isa? port 0x300 net irq ? vector feintr
138device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
139device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
140device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
141device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
142device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
143
144pseudo-device	loop
145pseudo-device	ether
146pseudo-device	log
147pseudo-device	sl	1
148# ijppp uses tun instead of ppp device
149#pseudo-device	ppp	1
150pseudo-device	tun	1
151pseudo-device	pty	16
152pseudo-device	gzip		# Exec gzipped a.out's
153
154# KTRACE enables the system-call tracing facility ktrace(2).
155# This adds 4 KB bloat to your kernel, and slightly increases
156# the costs of each syscall.
157options		KTRACE		#kernel tracing
158
159