GENERIC revision 29695
1303231Sdim#
2303231Sdim# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3353358Sdim#
4353358Sdim# For more information read the handbook part System Administration -> 
5353358Sdim# Configuring the FreeBSD Kernel -> The Configuration File. 
6303231Sdim# The handbook is available in /usr/share/doc/handbook or online as
7303231Sdim# latest version from the FreeBSD World Wide Web server 
8303231Sdim# <URL:http://www.FreeBSD.ORG/>
9303231Sdim#
10303231Sdim# An exhaustive list of options and more detailed explanations of the 
11303231Sdim# device lines is present in the ./LINT configuration file. If you are 
12303231Sdim# in doubt as to the purpose or necessity of a line, check first in LINT.
13303231Sdim#
14303231Sdim#	$Id: GENERIC,v 1.94 1997/09/14 18:57:01 joerg Exp $
15303231Sdim
16344779Sdimmachine		"i386"
17303231Sdimcpu		"I386_CPU"
18303231Sdimcpu		"I486_CPU"
19321369Sdimcpu		"I586_CPU"
20303231Sdimcpu		"I686_CPU"
21314564Sdimident		GENERIC
22321369Sdimmaxusers	10
23314564Sdim
24303231Sdimoptions		MATH_EMULATE		#Support for x87 emulation
25303231Sdimoptions		INET			#InterNETworking
26314564Sdimoptions		FFS			#Berkeley Fast Filesystem
27303231Sdimoptions		NFS			#Network Filesystem
28303231Sdimoptions		MSDOSFS			#MSDOS Filesystem
29303231Sdimoptions		"CD9660"		#ISO 9660 Filesystem
30303231Sdimoptions		PROCFS			#Process filesystem
31303231Sdimoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
32303231Sdimoptions		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
33344779Sdimoptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
34303231Sdimoptions		UCONSOLE		#Allow users to grab the console
35341825Sdimoptions		FAILSAFE		#Be conservative
36341825Sdimoptions		USERCONFIG		#boot -c editor
37341825Sdimoptions		VISUAL_USERCONFIG	#visual boot -c editor
38341825Sdim
39303231Sdimconfig		kernel	root on wd0
40303231Sdim
41303231Sdimcontroller	isa0
42303231Sdimcontroller	eisa0
43321369Sdimcontroller	pci0
44321369Sdim
45303231Sdimcontroller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
46303231Sdimdisk		fd0	at fdc0 drive 0
47303231Sdimdisk		fd1	at fdc0 drive 1
48321369Sdimtape		ft0	at fdc0 drive 2
49303231Sdim
50303231Sdimoptions		"CMD640"	# work around CMD640 chip deficiency
51314564Sdimcontroller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
52303231Sdimdisk		wd0	at wdc0 drive 0
53303231Sdimdisk		wd1	at wdc0 drive 1
54344779Sdim
55344779Sdimcontroller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
56344779Sdimdisk		wd2	at wdc1 drive 0
57341825Sdimdisk		wd3	at wdc1 drive 1
58314564Sdim
59344779Sdimoptions		ATAPI		#Enable ATAPI support for IDE bus
60344779Sdimoptions		ATAPI_STATIC	#Don't do it as an LKM
61344779Sdimdevice		wcd0	#IDE CD-ROM
62353358Sdim
63344779Sdim# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
64344779Sdim# sufficient for any number of installed devices.
65341825Sdimcontroller	ncr0
66344779Sdimcontroller	amd0
67344779Sdimcontroller	ahb0
68344779Sdimcontroller	ahc0
69353358Sdim
70353358Sdimcontroller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
71344779Sdimcontroller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
72344779Sdimcontroller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
73344779Sdimcontroller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
74344779Sdimcontroller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
75344779Sdimcontroller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
76344779Sdimcontroller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
77344779Sdim
78344779Sdimcontroller	scbus0
79344779Sdim
80344779Sdimdevice		sd0
81344779Sdim
82344779Sdimdevice		od0	#See LINT for possible `od' options.
83344779Sdim
84344779Sdimdevice		st0
85344779Sdim
86303231Sdimdevice		cd0	#Only need one of these, the code dynamically grows
87303231Sdim
88344779Sdimdevice		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
89344779Sdimdevice		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
90344779Sdim
91344779Sdimcontroller	matcd0	at isa? port 0x230 bio
92344779Sdim
93344779Sdimdevice		scd0	at isa? port 0x230 bio
94344779Sdim
95344779Sdim# syscons is the default console driver, resembling an SCO console
96344779Sdimdevice		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
97344779Sdim# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
98344779Sdim#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
99314564Sdim#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
100353358Sdim#options		XSERVER			# support for X server
101344779Sdim#options		FAT_CURSOR		# start with block cursor
102344779Sdim# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
103321369Sdim#options		PCVT_SCANSET=2		# IBM keyboards are non-std
104344779Sdim
105344779Sdimdevice		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
106344779Sdim
107344779Sdim#
108344779Sdim# Laptop support (see LINT for more options)
109344779Sdim#
110344779Sdimdevice		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
111344779Sdim
112321369Sdim# PCCARD (PCMCIA) support
113321369Sdim#controller	crd0
114344779Sdim#device		pcic0	at crd?
115344779Sdim#device		pcic1	at crd?
116344779Sdim
117344779Sdimdevice		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
118344779Sdimdevice		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
119344779Sdimdevice		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
120344779Sdimdevice		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
121344779Sdim
122344779Sdimdevice		lpt0	at isa? port? tty irq 7 vector lptintr
123353358Sdimdevice		lpt1	at isa? port? tty
124344779Sdimdevice		mse0	at isa? port 0x23c tty irq 5 vector mseintr
125360784Sdim
126344779Sdimdevice		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
127344779Sdim
128344779Sdim# Order is important here due to intrusive probes, do *not* alphabetize
129360784Sdim# this list of network interfaces until the probes have been fixed.
130353358Sdim# Right now it appears that the ie0 must be probed before ep0. See
131353358Sdim# revision 1.20 of this file.
132344779Sdimdevice de0
133344779Sdimdevice fxp0
134360784Sdimdevice vx0
135360784Sdim
136360784Sdimdevice ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
137360784Sdimdevice ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
138360784Sdimdevice ep0 at isa? port 0x300 net irq 10 vector epintr
139360784Sdimdevice ex0 at isa? port? net irq? vector exintr
140360784Sdimdevice fe0 at isa? port 0x300 net irq ? vector feintr
141344779Sdimdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
142344779Sdimdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
143344779Sdimdevice ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
144344779Sdimdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
145344779Sdim
146344779Sdimpseudo-device	loop
147344779Sdimpseudo-device	ether
148344779Sdimpseudo-device	log
149344779Sdimpseudo-device	sl	1
150344779Sdim# ijppp uses tun instead of ppp device
151344779Sdim#pseudo-device	ppp	1
152344779Sdimpseudo-device	tun	1
153360784Sdimpseudo-device	pty	16
154360784Sdimpseudo-device	gzip		# Exec gzipped a.out's
155360784Sdim
156344779Sdim# KTRACE enables the system-call tracing facility ktrace(2).
157327952Sdim# This adds 4 KB bloat to your kernel, and slightly increases
158327952Sdim# the costs of each syscall.
159344779Sdimoptions		KTRACE		#kernel tracing
160344779Sdim
161344779Sdim# This provides support for System V shared memory.
162360784Sdim#
163344779Sdimoptions		SYSVSHM
164344779Sdim