xref: /freebsd/sys/amd64/conf/GENERIC (revision d571daa0)
1677060b4SPoul-Henning Kamp#
297555463SGary Palmer# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3677060b4SPoul-Henning Kamp#
4d571daa0SJordan K. Hubbard# For more information on this file, please read the handbook section on
5d571daa0SJordan K. Hubbard# Kernel Configuration Files:
6d571daa0SJordan K. Hubbard#
7d571daa0SJordan K. Hubbard#    http://www.freebsd.org/handbook/kernelconfig-config.html
8d571daa0SJordan K. Hubbard#
9d571daa0SJordan K. Hubbard# The handbook is also available locally in /usr/share/doc/handbook
10d571daa0SJordan K. Hubbard# if you've installed the doc distribution, otherwise always see the
11d571daa0SJordan K. Hubbard# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
12d571daa0SJordan K. Hubbard# latest information.
13677060b4SPoul-Henning Kamp#
148830dd31SWolfram Schneider# An exhaustive list of options and more detailed explanations of the
15d571daa0SJordan K. Hubbard# device lines is also present in the ./LINT configuration file. If you are
168830dd31SWolfram Schneider# in doubt as to the purpose or necessity of a line, check first in LINT.
178830dd31SWolfram Schneider#
18d571daa0SJordan K. Hubbard#	$Id: GENERIC,v 1.173 1999/06/15 13:14:39 des Exp $
19677060b4SPoul-Henning Kamp
205895e3c8SPeter Wemmmachine		i386
215895e3c8SPeter Wemmcpu		I386_CPU
225895e3c8SPeter Wemmcpu		I486_CPU
235895e3c8SPeter Wemmcpu		I586_CPU
245895e3c8SPeter Wemmcpu		I686_CPU
25677060b4SPoul-Henning Kampident		GENERIC
2614b1f190SMike Smithmaxusers	32
27677060b4SPoul-Henning Kamp
285895e3c8SPeter Wemm#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
2911290483SPeter Wemm
30cec9e91fSJustin T. Gibbsoptions		MATH_EMULATE		#Support for x87 emulation
31677060b4SPoul-Henning Kampoptions		INET			#InterNETworking
324525c93eSJordan K. Hubbardoptions		FFS			#Berkeley Fast Filesystem
337b778b5eSEivind Eklundoptions		FFS_ROOT		#FFS usable as root device [keep this!]
34cbe7e088SJordan K. Hubbardoptions		MFS			#Memory Filesystem
35cbe7e088SJordan K. Hubbardoptions		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
36a788bdc4SDavid E. O'Brienoptions		NFS			#Network Filesystem
37a788bdc4SDavid E. O'Brienoptions		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
38a788bdc4SDavid E. O'Brienoptions		MSDOSFS			#MSDOS Filesystem
395895e3c8SPeter Wemmoptions		CD9660			#ISO 9660 Filesystem
405895e3c8SPeter Wemmoptions		CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
41677060b4SPoul-Henning Kampoptions		PROCFS			#Process filesystem
425895e3c8SPeter Wemmoptions		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
43700daf5eSJustin T. Gibbsoptions		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
440dd1eea1SJordan K. Hubbardoptions		UCONSOLE		#Allow users to grab the console
4596fc6efbSPoul-Henning Kampoptions		USERCONFIG		#boot -c editor
4696fc6efbSPoul-Henning Kampoptions		VISUAL_USERCONFIG	#visual boot -c editor
47677060b4SPoul-Henning Kamp
488fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
498fab58d8SPoul-Henning Kamp#options	SMP			# Symmetric MultiProcessor Kernel
508fab58d8SPoul-Henning Kamp#options	APIC_IO			# Symmetric (APIC) I/O
518fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown):
528fab58d8SPoul-Henning Kamp#options	NCPU=2			# number of CPUs
538fab58d8SPoul-Henning Kamp#options	NBUS=4			# number of busses
548fab58d8SPoul-Henning Kamp#options	NAPIC=1			# number of IO APICs
558fab58d8SPoul-Henning Kamp#options	NINTR=24		# number of INTs
568fab58d8SPoul-Henning Kamp
57f71c851cSPeter Wemmcontroller	isa0
58f71c851cSPeter Wemmcontroller	pnp0			# PnP support for ISA
59f71c851cSPeter Wemmcontroller	eisa0
60f71c851cSPeter Wemmcontroller	pci0
61677060b4SPoul-Henning Kamp
625895e3c8SPeter Wemmcontroller	fdc0	at isa? port IO_FD1 irq 6 drq 2
63677060b4SPoul-Henning Kampdisk		fd0	at fdc0 drive 0
64677060b4SPoul-Henning Kampdisk		fd1	at fdc0 drive 1
65677060b4SPoul-Henning Kamp
665895e3c8SPeter Wemmcontroller	wdc0	at isa? port IO_WD1 irq 14
67677060b4SPoul-Henning Kampdisk		wd0	at wdc0 drive 0
68677060b4SPoul-Henning Kampdisk		wd1	at wdc0 drive 1
69677060b4SPoul-Henning Kamp
705895e3c8SPeter Wemmcontroller	wdc1	at isa? port IO_WD2 irq 15
71677060b4SPoul-Henning Kampdisk		wd2	at wdc1 drive 0
72677060b4SPoul-Henning Kampdisk		wd3	at wdc1 drive 1
73677060b4SPoul-Henning Kamp
745895e3c8SPeter Wemm# ATAPI devices on wdc?
75d99434fbSSøren Schmidtdevice		wcd0		#IDE CD-ROM
76aaf86206SPaul Trainadevice		wfd0		#IDE Floppy (e.g. LS-120)
775895e3c8SPeter Wemmdevice		wst0		#IDE Tape (e.g. Travan)
786788ce49SJordan K. Hubbard
7958371a7eSDavid E. O'Brien# A single entry for any of these controllers (ncr, ahb, ahc) is
8056ecc382SStefan Eßer# sufficient for any number of installed devices.
81677060b4SPoul-Henning Kampcontroller	ncr0
82e56e7036SJustin T. Gibbscontroller	ahb0
83451ab98fSJustin T. Gibbscontroller	ahc0
848bafc245SMatt Jacobcontroller	isp0
85677060b4SPoul-Henning Kamp
8610004708SJordan K. Hubbard# This controller offers a number of configuration options, too many to
8710004708SJordan K. Hubbard# document here  - see the LINT file in this directory and look up the
886335d18eSJordan K. Hubbard# dpt0 entry there for much fuller documentation on this.
896335d18eSJordan K. Hubbardcontroller      dpt0
9010004708SJordan K. Hubbard
9136d9945dSPeter Wemmcontroller	adv0	at isa? port ? irq ?
92859244a6SJustin T. Gibbscontroller	adw0
9336d9945dSPeter Wemmcontroller	bt0	at isa? port ? irq ?
9436d9945dSPeter Wemmcontroller	aha0	at isa? port ? irq ?
950dd1eea1SJordan K. Hubbard
96677060b4SPoul-Henning Kampcontroller	scbus0
97677060b4SPoul-Henning Kamp
985895e3c8SPeter Wemmdevice		da0	#Only need one of these, the code dynamically grows
99700daf5eSJustin T. Gibbsdevice		sa0
100700daf5eSJustin T. Gibbsdevice		pass0
1015895e3c8SPeter Wemmdevice		cd0
102677060b4SPoul-Henning Kamp
10336d9945dSPeter Wemmdevice		wt0	at isa? port 0x300 irq 5 drq 1
10436d9945dSPeter Wemmdevice		mcd0	at isa? port 0x300 irq 10
105677060b4SPoul-Henning Kamp
10636d9945dSPeter Wemmcontroller	matcd0	at isa? port 0x230
10705e1d9d4SJordan K. Hubbard
10836d9945dSPeter Wemmdevice		scd0	at isa? port 0x230
109f1780a6cSJordan K. Hubbard
11023f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
1116182fdbdSPeter Wemmcontroller	atkbdc0	at isa? port IO_KBD
11236d9945dSPeter Wemmdevice		atkbd0	at atkbdc? irq 1
11336d9945dSPeter Wemmdevice		psm0	at atkbdc? irq 12
1142ad872c5SKazutaka YOKOTA
1152ad872c5SKazutaka YOKOTAdevice		vga0	at isa? port ? conflicts
1162ad872c5SKazutaka YOKOTA
1172ad872c5SKazutaka YOKOTA# splash screen/screen saver
1182ad872c5SKazutaka YOKOTApseudo-device	splash
1192ad872c5SKazutaka YOKOTA
120c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
12136d9945dSPeter Wemmdevice		sc0	at isa?
1225895e3c8SPeter Wemm
123c19da41eSPeter Wemm# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
12436d9945dSPeter Wemm#device		vt0	at isa?
125c19da41eSPeter Wemm#options		XSERVER			# support for X server
126c19da41eSPeter Wemm#options		FAT_CURSOR		# start with block cursor
127c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
128c19da41eSPeter Wemm#options		PCVT_SCANSET=2		# IBM keyboards are non-std
129c851c2f0SJoerg Wunsch
1306182fdbdSPeter Wemmdevice		npx0	at nexus? port IO_NPX irq 13
131677060b4SPoul-Henning Kamp
132e597b497SNate Williams#
133e597b497SNate Williams# Laptop support (see LINT for more options)
134e597b497SNate Williams#
1356182fdbdSPeter Wemmdevice		apm0    at nexus? disable flags 0x31 # Advanced Power Management
1363d4d8fe9SPoul-Henning Kamp
13792d38a13SNate Williams# PCCARD (PCMCIA) support
138e7e437dbSNate Williams#controller	card0
139e7e437dbSNate Williams#device		pcic0	at card?
140e7e437dbSNate Williams#device		pcic1	at card?
141e597b497SNate Williams
1425895e3c8SPeter Wemmdevice		sio0	at isa? port IO_COM1 flags 0x10 irq 4
1435895e3c8SPeter Wemmdevice		sio1	at isa? port IO_COM2 irq 3
1445895e3c8SPeter Wemmdevice		sio2	at isa? disable port IO_COM3 irq 5
1455895e3c8SPeter Wemmdevice		sio3	at isa? disable port IO_COM4 irq 9
146677060b4SPoul-Henning Kamp
14704e83575SJoseph Koshy# Parallel port
1483574d12dSMike Smithdevice		ppc0	at isa? port? flags 0x40 irq 7
14904e83575SJoseph Koshycontroller	ppbus0
1502402b9a1SDavid E. O'Briendevice		lpt0	at ppbus?
151de7462baSDag-Erling Smørgravdevice		plip0	at ppbus?
152de7462baSDag-Erling Smørgravdevice		ppi0	at ppbus?
153de7462baSDag-Erling Smørgrav#controller	vpo0	at ppbus?
154677060b4SPoul-Henning Kamp
15529c6a10bSGarrett Wollman#
15629c6a10bSGarrett Wollman# The following Ethernet NICs are all PCI devices.
15729c6a10bSGarrett Wollman#
158ab431312SBill Pauldevice al0		# ADMtek AL981 (``Comet'')
15929c6a10bSGarrett Wollmandevice ax0		# ASIX AX88140A
16029c6a10bSGarrett Wollmandevice de0		# DEC/Intel DC21x4x (``Tulip'')
16129c6a10bSGarrett Wollmandevice fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
16229c6a10bSGarrett Wollmandevice mx0		# Macronix 98713/98715/98725 (``PMAC'')
16329c6a10bSGarrett Wollmandevice pn0		# Lite-On 82c168/82c169 (``PNIC'')
16429c6a10bSGarrett Wollmandevice rl0		# RealTek 8129/8139
16529c6a10bSGarrett Wollmandevice tl0		# Texas Instruments ThunderLAN
16629c6a10bSGarrett Wollmandevice tx0		# SMC 9432TX (83c170 ``EPIC'')
16729c6a10bSGarrett Wollmandevice vr0		# VIA Rhine, Rhine II
16829c6a10bSGarrett Wollmandevice vx0		# 3Com 3c590, 3c595 (``Vortex'')
16929c6a10bSGarrett Wollmandevice wb0		# Winbond W89C840F
17029c6a10bSGarrett Wollmandevice xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
17129c6a10bSGarrett Wollman
172d3628763SRodney W. Grimes# Order is important here due to intrusive probes, do *not* alphabetize
173d3628763SRodney W. Grimes# this list of network interfaces until the probes have been fixed.
174d3628763SRodney W. Grimes# Right now it appears that the ie0 must be probed before ep0. See
175d3628763SRodney W. Grimes# revision 1.20 of this file.
17636d9945dSPeter Wemmdevice ed0 at isa? port 0x280 irq 10 iomem 0xd8000
17736d9945dSPeter Wemmdevice ie0 at isa? port 0x300 irq 10 iomem 0xd0000
17836d9945dSPeter Wemmdevice ep0 at isa? port 0x300 irq 10
17936d9945dSPeter Wemmdevice ex0 at isa? port? irq?
18036d9945dSPeter Wemmdevice fe0 at isa? port 0x300 irq ?
18136d9945dSPeter Wemmdevice le0 at isa? port 0x300 irq 5 iomem 0xd0000
18236d9945dSPeter Wemmdevice lnc0 at isa? port 0x280 irq 10 drq 0
183282462f9SDavid E. O'Brien#device xe0 at isa? port? irq ?
18436d9945dSPeter Wemm#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000
18536d9945dSPeter Wemm#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000
18636d9945dSPeter Wemmdevice cs0 at isa? port 0x300 irq ?
187677060b4SPoul-Henning Kamp
188677060b4SPoul-Henning Kamppseudo-device	loop
189677060b4SPoul-Henning Kamppseudo-device	ether
19011af8962SJordan K. Hubbardpseudo-device	sl	1
191efae35abSJordan K. Hubbardpseudo-device	ppp	1
1929cfb8f7eSAtsushi Muraipseudo-device	tun	1
193d3628763SRodney W. Grimespseudo-device	pty	16
194d3628763SRodney W. Grimespseudo-device	gzip		# Exec gzipped a.out's
195c683ac7cSJoerg Wunsch
196c683ac7cSJoerg Wunsch# KTRACE enables the system-call tracing facility ktrace(2).
197c683ac7cSJoerg Wunsch# This adds 4 KB bloat to your kernel, and slightly increases
198c683ac7cSJoerg Wunsch# the costs of each syscall.
199c683ac7cSJoerg Wunschoptions		KTRACE		#kernel tracing
200c683ac7cSJoerg Wunsch
2017d0d5e18SJordan K. Hubbard# This provides support for System V shared memory and message queues.
20250c6520bSJordan K. Hubbard#
20350c6520bSJordan K. Hubbardoptions         SYSVSHM
2047d0d5e18SJordan K. Hubbardoptions         SYSVMSG
20524c38be4SJordan K. Hubbardoptions         SYSVSEM
2067d0d5e18SJordan K. Hubbard
207fb46af4fSDag-Erling Smørgrav#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
208d1436a88SDavid E. O'Brien#  aware of the legal and administrative consequences of enabling this
209d1436a88SDavid E. O'Brien#  option.  The number of devices determines the maximum number of
210d1436a88SDavid E. O'Brien#  simultaneous BPF clients programs runnable.
211fb46af4fSDag-Erling Smørgrav#pseudo-device	bpfilter 4	#Berkeley packet filter
2120cec007cSNick Hibma
2130cec007cSNick Hibma# USB support
2140cec007cSNick Hibma#controller	uhci0
215a48e33e0SNick Hibma#controller	ohci0
2160cec007cSNick Hibma#controller	usb0
2170cec007cSNick Hibma#
218f26c33d2SNick Hibma#device		ugen0
219f26c33d2SNick Hibma#device		uhid0
2200cec007cSNick Hibma#device		ukbd0
2210cec007cSNick Hibma#device		ulpt0
222f26c33d2SNick Hibma#controller	umass0
223f26c33d2SNick Hibma#device		ums0
224