xref: /freebsd/sys/i386/conf/GENERIC (revision a92a5c234ecf2281d29b32b2fb8b6d4b9f9178f1)
1677060b4SPoul-Henning Kamp#
297555463SGary Palmer# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3677060b4SPoul-Henning Kamp#
48830dd31SWolfram Schneider# For more information read the handbook part System Administration ->
58830dd31SWolfram Schneider# Configuring the FreeBSD Kernel -> The Configuration File.
68830dd31SWolfram Schneider# The handbook is available in /usr/share/doc/handbook or online as
78830dd31SWolfram Schneider# latest version from the FreeBSD World Wide Web server
88830dd31SWolfram Schneider# <URL:http://www.FreeBSD.ORG/>
9677060b4SPoul-Henning Kamp#
108830dd31SWolfram Schneider# An exhaustive list of options and more detailed explanations of the
118830dd31SWolfram Schneider# device lines is present in the ./LINT configuration file. If you are
128830dd31SWolfram Schneider# in doubt as to the purpose or necessity of a line, check first in LINT.
138830dd31SWolfram Schneider#
14a92a5c23SBruce Evans#	$Id: GENERIC,v 1.87 1997/03/12 19:59:58 se Exp $
15677060b4SPoul-Henning Kamp
16677060b4SPoul-Henning Kampmachine		"i386"
17677060b4SPoul-Henning Kampcpu		"I386_CPU"
18677060b4SPoul-Henning Kampcpu		"I486_CPU"
19677060b4SPoul-Henning Kampcpu		"I586_CPU"
207059cdf2SDavid Greenmancpu		"I686_CPU"
21677060b4SPoul-Henning Kampident		GENERIC
22677060b4SPoul-Henning Kampmaxusers	10
23677060b4SPoul-Henning Kamp
24677060b4SPoul-Henning Kampoptions		MATH_EMULATE		#Support for x87 emulation
25677060b4SPoul-Henning Kampoptions		INET			#InterNETworking
264525c93eSJordan K. Hubbardoptions		FFS			#Berkeley Fast Filesystem
27b4e5146fSPoul-Henning Kampoptions		NFS			#Network Filesystem
284525c93eSJordan K. Hubbardoptions		MSDOSFS			#MSDOS Filesystem
292405ced3SJordan K. Hubbardoptions		"CD9660"		#ISO 9660 Filesystem
30677060b4SPoul-Henning Kampoptions		PROCFS			#Process filesystem
3156c7a48cSJordan K. Hubbardoptions		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
32b1529bdaSPeter Wemmoptions		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
33677060b4SPoul-Henning Kampoptions		BOUNCE_BUFFERS		#include support for DMA bounce buffers
340dd1eea1SJordan K. Hubbardoptions		UCONSOLE		#Allow users to grab the console
3525cf9d99SJordan K. Hubbardoptions		FAILSAFE		#Be conservative
3696fc6efbSPoul-Henning Kampoptions		USERCONFIG		#boot -c editor
3796fc6efbSPoul-Henning Kampoptions		VISUAL_USERCONFIG	#visual boot -c editor
38677060b4SPoul-Henning Kamp
39a401ebbeSDavid Greenmanconfig		kernel	root on wd0
40677060b4SPoul-Henning Kamp
41677060b4SPoul-Henning Kampcontroller	isa0
42eeb706c0SJustin T. Gibbscontroller	eisa0
43677060b4SPoul-Henning Kampcontroller	pci0
44677060b4SPoul-Henning Kamp
45677060b4SPoul-Henning Kampcontroller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
46677060b4SPoul-Henning Kampdisk		fd0	at fdc0 drive 0
47677060b4SPoul-Henning Kampdisk		fd1	at fdc0 drive 1
4849445644SJordan K. Hubbardtape		ft0	at fdc0 drive 2
49677060b4SPoul-Henning Kamp
50a92a5c23SBruce Evansoptions		"CMD640"	# work around CMD640 chip deficiency
51677060b4SPoul-Henning Kampcontroller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
52677060b4SPoul-Henning Kampdisk		wd0	at wdc0 drive 0
53677060b4SPoul-Henning Kampdisk		wd1	at wdc0 drive 1
54677060b4SPoul-Henning Kamp
55677060b4SPoul-Henning Kampcontroller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
56677060b4SPoul-Henning Kampdisk		wd2	at wdc1 drive 0
57677060b4SPoul-Henning Kampdisk		wd3	at wdc1 drive 1
58677060b4SPoul-Henning Kamp
596788ce49SJordan K. Hubbardoptions		ATAPI		#Enable ATAPI support for IDE bus
609773398dSJordan K. Hubbardoptions		ATAPI_STATIC	#Don't do it as an LKM
616788ce49SJordan K. Hubbarddevice		wcd0	#IDE CD-ROM
626788ce49SJordan K. Hubbard
6356ecc382SStefan Eßer# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
6456ecc382SStefan Eßer# sufficient for any number of installed devices.
65677060b4SPoul-Henning Kampcontroller	ncr0
6656ecc382SStefan Eßercontroller	amd0
67e56e7036SJustin T. Gibbscontroller	ahb0
68451ab98fSJustin T. Gibbscontroller	ahc0
69677060b4SPoul-Henning Kamp
70a1d01dafSJustin T. Gibbscontroller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
71cbb8b164SJustin T. Gibbscontroller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
72c47b6376SPoul-Henning Kampcontroller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
73677060b4SPoul-Henning Kampcontroller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
74e05407d8SPoul-Henning Kampcontroller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
75e05407d8SPoul-Henning Kampcontroller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
763c43212aSSøren Schmidtcontroller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
770dd1eea1SJordan K. Hubbard
78677060b4SPoul-Henning Kampcontroller	scbus0
79677060b4SPoul-Henning Kamp
80677060b4SPoul-Henning Kampdevice		sd0
81677060b4SPoul-Henning Kamp
8293063432SJoerg Wunschdevice		od0	#See LINT for possible `od' options.
8349bdb5b8SJoerg Wunsch
84677060b4SPoul-Henning Kampdevice		st0
85677060b4SPoul-Henning Kamp
86677060b4SPoul-Henning Kampdevice		cd0	#Only need one of these, the code dynamically grows
87677060b4SPoul-Henning Kamp
88677060b4SPoul-Henning Kampdevice		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
89677060b4SPoul-Henning Kampdevice		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
90677060b4SPoul-Henning Kamp
919720b084SJordan K. Hubbardcontroller	matcd0	at isa? port 0x230 bio
9205e1d9d4SJordan K. Hubbard
93f1780a6cSJordan K. Hubbarddevice		scd0	at isa? port 0x230 bio
94f1780a6cSJordan K. Hubbard
95c851c2f0SJoerg Wunsch# syscons is the default console driver, resembling an SCO console
96677060b4SPoul-Henning Kampdevice		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
97c851c2f0SJoerg Wunsch# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
98c851c2f0SJoerg Wunsch#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
99b1529bdaSPeter Wemm#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
10068cfe626SJoerg Wunsch#options		XSERVER			# include code for XFree86
101174f8afaSBruce Evans#options		FAT_CURSOR		# start with block cursor
102e9aaac99SNate Williams# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
103b1529bdaSPeter Wemm#options		PCVT_SCANSET=2		# IBM keyboards are non-std
104c851c2f0SJoerg Wunsch
105677060b4SPoul-Henning Kampdevice		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
106677060b4SPoul-Henning Kamp
107e597b497SNate Williams#
108e597b497SNate Williams# Laptop support (see LINT for more options)
109e597b497SNate Williams#
110e597b497SNate Williamsdevice		apm0    at isa?	disable	# Advanced Power Management
111e597b497SNate Williamsoptions		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
11292d38a13SNate Williams# PCCARD (PCMCIA) support
11392d38a13SNate Williams#controller	crd0
11492d38a13SNate Williams#device		pcic0	at crd?
11592d38a13SNate Williams#device		pcic1	at crd?
116e597b497SNate Williams
117677060b4SPoul-Henning Kampdevice		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
118677060b4SPoul-Henning Kampdevice		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
1190375cce8SJordan K. Hubbarddevice		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
1200375cce8SJordan K. Hubbarddevice		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
121677060b4SPoul-Henning Kamp
122677060b4SPoul-Henning Kampdevice		lpt0	at isa? port? tty irq 7 vector lptintr
123677060b4SPoul-Henning Kampdevice		lpt1	at isa? port? tty
124dbb315cbSJordan K. Hubbarddevice		mse0	at isa? port 0x23c tty irq 5 vector mseintr
125677060b4SPoul-Henning Kamp
1266bb76283SNate Williamsdevice		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
1276bb76283SNate Williams
128d3628763SRodney W. Grimes# Order is important here due to intrusive probes, do *not* alphabetize
129d3628763SRodney W. Grimes# this list of network interfaces until the probes have been fixed.
130d3628763SRodney W. Grimes# Right now it appears that the ie0 must be probed before ep0. See
131d3628763SRodney W. Grimes# revision 1.20 of this file.
132e50e132aSDavid Greenmandevice de0
13317acc2b2SDavid Greenmandevice fxp0
13451fa90c5SJordan K. Hubbarddevice vx0
13551fa90c5SJordan K. Hubbard
136677060b4SPoul-Henning Kampdevice ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
137677060b4SPoul-Henning Kampdevice ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
138677060b4SPoul-Henning Kampdevice ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
139d3628763SRodney W. Grimesdevice ep0 at isa? port 0x300 net irq 10 vector epintr
1400942673fSJordan K. Hubbarddevice ex0 at isa? port? net irq? vector exintr
141a732b754SJordan K. Hubbarddevice fe0 at isa? port 0x300 net irq ? vector feintr
142ad0c439aSRodney W. Grimesdevice ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
1438d89e37cSPoul-Henning Kampdevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
1441f9e6f19SPoul-Henning Kampdevice lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
145ada9d061SJordan K. Hubbarddevice ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
14612cfa436SPoul-Henning Kampdevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
147677060b4SPoul-Henning Kamp
148677060b4SPoul-Henning Kamppseudo-device	loop
149677060b4SPoul-Henning Kamppseudo-device	ether
150677060b4SPoul-Henning Kamppseudo-device	log
15111af8962SJordan K. Hubbardpseudo-device	sl	1
152d3628763SRodney W. Grimes# ijppp uses tun instead of ppp device
153d3628763SRodney W. Grimes#pseudo-device	ppp	1
1549cfb8f7eSAtsushi Muraipseudo-device	tun	1
155d3628763SRodney W. Grimespseudo-device	pty	16
156d3628763SRodney W. Grimespseudo-device	gzip		# Exec gzipped a.out's
157c683ac7cSJoerg Wunsch
158c683ac7cSJoerg Wunsch# KTRACE enables the system-call tracing facility ktrace(2).
159c683ac7cSJoerg Wunsch# This adds 4 KB bloat to your kernel, and slightly increases
160c683ac7cSJoerg Wunsch# the costs of each syscall.
161c683ac7cSJoerg Wunschoptions		KTRACE		#kernel tracing
162c683ac7cSJoerg Wunsch
163