xref: /freebsd/sys/i386/conf/GENERIC (revision c5954134e42fcf384afbd172364a0c4c2a3b0fef)
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#
18c3aac50fSPeter Wemm# $FreeBSD$
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
3570c3f049SMark Murrayoptions 	MD_ROOT			#MD is a potential root device
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
471f06573dSPeter Wemmoptions 	KTRACE			#ktrace(1) syscall trace support
481f06573dSPeter Wemmoptions 	SYSVSHM			#SYSV-style shared memory
491f06573dSPeter Wemmoptions 	SYSVMSG			#SYSV-style message queues
501f06573dSPeter Wemmoptions 	SYSVSEM			#SYSV-style semaphores
51c5954134SJordan K. Hubbardoptions 	P1003_1B		#Posix P1003_1B real-time extentions
52c5954134SJordan K. Hubbardoptions 	_KPOSIX_PRIORITY_SCHEDULING
53c5954134SJordan K. Hubbardoptions 	_KPOSIX_VERSION=199309L
54677060b4SPoul-Henning Kamp
558fab58d8SPoul-Henning Kamp# To make an SMP kernel, the next two are needed
568fab58d8SPoul-Henning Kamp#options 	SMP			# Symmetric MultiProcessor Kernel
578fab58d8SPoul-Henning Kamp#options 	APIC_IO			# Symmetric (APIC) I/O
588fab58d8SPoul-Henning Kamp# Optionally these may need tweaked, (defaults shown):
598fab58d8SPoul-Henning Kamp#options 	NCPU=2			# number of CPUs
608fab58d8SPoul-Henning Kamp#options 	NBUS=4			# number of busses
618fab58d8SPoul-Henning Kamp#options 	NAPIC=1			# number of IO APICs
628fab58d8SPoul-Henning Kamp#options 	NINTR=24		# number of INTs
638fab58d8SPoul-Henning Kamp
6462d128b8SPeter Wemmdevice		isa0
6562d128b8SPeter Wemmdevice		eisa0
6662d128b8SPeter Wemmdevice		pci0
67677060b4SPoul-Henning Kamp
681f06573dSPeter Wemm# Floppy drives
6962d128b8SPeter Wemmdevice		fdc0	at isa? port IO_FD1 irq 6 drq 2
7051124de7SPeter Wemmdevice		fd0	at fdc0 drive 0
7151124de7SPeter Wemmdevice		fd1	at fdc0 drive 1
72677060b4SPoul-Henning Kamp
73a3fb836cSSøren Schmidt# ATA and ATAPI devices
7462d128b8SPeter Wemmdevice		ata0	at isa? port IO_WD1 irq 14
7562d128b8SPeter Wemmdevice		ata1	at isa? port IO_WD2 irq 15
7662d128b8SPeter Wemmdevice		ata2
77a3fb836cSSøren Schmidtdevice		atadisk0	# ATA disk drives
78a3fb836cSSøren Schmidtdevice		atapicd0	# ATAPI CDROM drives
79a3fb836cSSøren Schmidtdevice		atapifd0	# ATAPI floppy drives
80a3fb836cSSøren Schmidtdevice		atapist0	# ATAPI tape drives
81a3fb836cSSøren Schmidtoptions 	ATA_STATIC_ID		#Static device numbering
8261677ebbSDavid E. O'Brien#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
8361677ebbSDavid E. O'Brien
841f06573dSPeter Wemm# SCSI Controllers
85521c57ebSDavid E. O'Brien# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
8656ecc382SStefan Eßer# sufficient for any number of installed devices.
8762d128b8SPeter Wemmdevice		ahb0		# EISA AHA1742 family
8862d128b8SPeter Wemmdevice		ahc0		# AHA2940 and onboard AIC7xxx devices
8962d128b8SPeter Wemmdevice		amd0		# AMD 53C974 (Teckram DC-390(T))
9062d128b8SPeter Wemmdevice		dpt0		# DPT Smartcache - See LINT for options!
9162d128b8SPeter Wemmdevice		isp0		# Qlogic family
9262d128b8SPeter Wemmdevice		ncr0		# NCR/Symbios Logic
9362d128b8SPeter Wemmdevice		sym0		# NCR/Symbios Logic (newer chipsets)
9410004708SJordan K. Hubbard
9562d128b8SPeter Wemmdevice		adv0	at isa? port ? irq ?
9662d128b8SPeter Wemmdevice		adw0
9762d128b8SPeter Wemmdevice		bt0	at isa? port ? irq ?
9862d128b8SPeter Wemmdevice		aha0	at isa? port ? irq ?
9962d128b8SPeter Wemmdevice		aic0	at isa? port ? irq ?
1000dd1eea1SJordan K. Hubbard
1011f06573dSPeter Wemm# SCSI peripherals
1021f06573dSPeter Wemm# Only one of each of these is needed, they are dynamically allocated.
10362d128b8SPeter Wemmdevice		scbus0		# SCSI bus (required)
1041f06573dSPeter Wemmdevice		da0		# Direct Access (disks)
1051f06573dSPeter Wemmdevice		sa0		# Sequential Access (tape etc)
1061f06573dSPeter Wemmdevice		cd0		# CD
1071f06573dSPeter Wemmdevice		pass0		# Passthrough device (direct SCSI access)
108677060b4SPoul-Henning Kamp
1098d0b9687SMike Smith# RAID controllers
1108d0b9687SMike Smithdevice		amr0		# AMI MegaRAID
1118d0b9687SMike Smithdevice		mlx0		# Mylex DAC960 family
1128d0b9687SMike Smith
11323f7bd17SBrian Somers# atkbdc0 controls both the keyboard and the PS/2 mouse
11462d128b8SPeter Wemmdevice		atkbdc0	at isa? port IO_KBD
11536d9945dSPeter Wemmdevice		atkbd0	at atkbdc? irq 1
11636d9945dSPeter Wemmdevice		psm0	at atkbdc? irq 12
1172ad872c5SKazutaka YOKOTA
1182ad872c5SKazutaka YOKOTAdevice		vga0	at isa? port ? conflicts
1192ad872c5SKazutaka YOKOTA
1202ad872c5SKazutaka YOKOTA# splash screen/screen saver
1212ad872c5SKazutaka YOKOTApseudo-device	splash
1222ad872c5SKazutaka YOKOTA
123c19da41eSPeter Wemm# syscons is the default console driver, resembling an SCO console
12436d9945dSPeter Wemmdevice		sc0	at isa?
1255895e3c8SPeter Wemm
126c19da41eSPeter Wemm# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
12736d9945dSPeter Wemm#device		vt0	at isa?
128c19da41eSPeter Wemm#options 	XSERVER			# support for X server
129c19da41eSPeter Wemm#options 	FAT_CURSOR		# start with block cursor
130c19da41eSPeter Wemm# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
131c19da41eSPeter Wemm#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
132c851c2f0SJoerg Wunsch
1331f06573dSPeter Wemm# Floating point support - do not disable.
1346182fdbdSPeter Wemmdevice		npx0	at nexus? port IO_NPX irq 13
135677060b4SPoul-Henning Kamp
1361f06573dSPeter Wemm# Power management support (see LINT for more options)
1372ba5960cSJonathan Lemondevice		apm0    at nexus? disable flags 0x20 # Advanced Power Management
1383d4d8fe9SPoul-Henning Kamp
13992d38a13SNate Williams# PCCARD (PCMCIA) support
14089ce66edSWarner Loshdevice		card0
14189ce66edSWarner Loshdevice		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
14289ce66edSWarner Loshdevice		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
143e597b497SNate Williams
1441f06573dSPeter Wemm# Serial (COM) ports
1455895e3c8SPeter Wemmdevice		sio0	at isa? port IO_COM1 flags 0x10 irq 4
1465895e3c8SPeter Wemmdevice		sio1	at isa? port IO_COM2 irq 3
1475895e3c8SPeter Wemmdevice		sio2	at isa? disable port IO_COM3 irq 5
1485895e3c8SPeter Wemmdevice		sio3	at isa? disable port IO_COM4 irq 9
149677060b4SPoul-Henning Kamp
15004e83575SJoseph Koshy# Parallel port
151a7c517ceSPeter Wemmdevice		ppc0	at isa? port? irq 7
15262d128b8SPeter Wemmdevice		ppbus0			# Parallel port bus (required)
153a7c517ceSPeter Wemmdevice		lpt0	at ppbus?	# Printer
154a7c517ceSPeter Wemmdevice		plip0	at ppbus?	# TCP/IP over parallel
155a7c517ceSPeter Wemmdevice		ppi0	at ppbus?	# Parallel port interface device
156a7c517ceSPeter Wemm#device		vpo0	at ppbus?	# Requires scbus and da0
157677060b4SPoul-Henning Kamp
15823e4757cSBill Paul
1591f06573dSPeter Wemm# PCI Ethernet NICs.
16029c6a10bSGarrett Wollmandevice		de0		# DEC/Intel DC21x4x (``Tulip'')
16129c6a10bSGarrett Wollmandevice		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
162c6a5d1a6SPeter Wemmdevice		tx0		# SMC 9432TX (83c170 ``EPIC'')
163c6a5d1a6SPeter Wemmdevice		vx0		# 3Com 3c590, 3c595 (``Vortex'')
164b6ca8f5aSMatt Jacobdevice		wx0		# Intel Gigabit Ethernet Card (``Wiseman'')
165c6a5d1a6SPeter Wemm
166c6a5d1a6SPeter Wemm# PCI Ethernet NICs that use the common MII bus controller code.
16762d128b8SPeter Wemmdevice		miibus0		# MII bus support
16896f2e892SBill Pauldevice		dc0		# DEC/Intel 21143 and various workalikes
16929c6a10bSGarrett Wollmandevice		rl0		# RealTek 8129/8139
170691c1528SBill Pauldevice		sf0		# Adaptec AIC-6915 (``Starfire'')
1719555e59aSBill Pauldevice		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
17223e4757cSBill Pauldevice		ste0		# Sundance ST201 (D-Link DFE-550TX)
17329c6a10bSGarrett Wollmandevice		tl0		# Texas Instruments ThunderLAN
174ae3b8c19SBill Pauldevice		vr0		# VIA Rhine, Rhine II
17529c6a10bSGarrett Wollmandevice		wb0		# Winbond W89C840F
17629c6a10bSGarrett Wollmandevice		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
17729c6a10bSGarrett Wollman
1781f06573dSPeter Wemm# ISA Ethernet NICs.
17936d9945dSPeter Wemmdevice		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
1801f3e0d3dSMatthew N. Dodddevice		ex0
181e72032e9SMatthew N. Dodddevice		ep0
182b6219c62SBill Paul# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
18370c3f049SMark Murray# exists only as a PCMCIA device, so there is no ISA attatement needed
18470c3f049SMark Murray# and resources will always be dynamically assigned by the pccard code.
18570c3f049SMark Murray#device		wi0
186261b9b30SBill Paul# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
187261b9b30SBill Paul# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
188261b9b30SBill Paul# mode (the factory default). If you set the switches on your ISA
189261b9b30SBill Paul# card for a manually chosen I/O address and IRQ, you must specify
190261b9b30SBill Paul# those paremeters here.
191261b9b30SBill Paul# device	an0
192e72032e9SMatthew N. Dodd# The probe order of these is presently determined by i386/isa/isa_compat.c.
193e72032e9SMatthew N. Dodddevice		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
19436d9945dSPeter Wemmdevice		fe0	at isa? port 0x300 irq ?
19536d9945dSPeter Wemmdevice		le0	at isa? port 0x300 irq 5 iomem 0xd0000
19636d9945dSPeter Wemmdevice		lnc0	at isa? port 0x280 irq 10 drq 0
1971f06573dSPeter Wemmdevice		cs0	at isa? port 0x300 irq ?
1984e820cbeSWarner Loshdevice		sn0	at isa? port 0x300 irq 10
199a6c6cfcdSDavid E. O'Brien# requires PCCARD (PCMCIA) support to be activated
200a6c6cfcdSDavid E. O'Brien#device		xe0	at isa? port? irq ?
2011f06573dSPeter Wemm
2021f06573dSPeter Wemm# Pseudo devices - the number indicates how many units to allocated.
2031f06573dSPeter Wemmpseudo-device	loop		# Network loopback
2041f06573dSPeter Wemmpseudo-device	ether		# Ethernet support
2051f06573dSPeter Wemmpseudo-device	sl	1	# Kernel SLIP
2061f06573dSPeter Wemmpseudo-device	ppp	1	# Kernel PPP
2073dd1fb66SJordan K. Hubbardpseudo-device	tun		# Packet tunnel.
208ef40c561SPoul-Henning Kamppseudo-device	pty		# Pseudo-ttys (telnet etc)
20971e4fff8SPoul-Henning Kamppseudo-device	md		# Memory "disks"
210c683ac7cSJoerg Wunsch
2116b5ca0d8SDag-Erling Smørgrav# The `bpf' pseudo-device enables the Berkeley Packet Filter.
2120a729622SJordan K. Hubbard# Be aware of the administrative consequences of enabling this!
213bd3a5320SPoul-Henning Kamppseudo-device	bpf		#Berkeley packet filter
2140cec007cSNick Hibma
2150cec007cSNick Hibma# USB support
21662d128b8SPeter Wemm#device		uhci0		# UHCI PCI->USB interface
21762d128b8SPeter Wemm#device		ohci0		# OHCI PCI->USB interface
21862d128b8SPeter Wemm#device		usb0		# USB Bus (required)
2191f06573dSPeter Wemm#device		ugen0		# Generic
2201f06573dSPeter Wemm#device		uhid0		# "Human Interface Devices"
2211f06573dSPeter Wemm#device		ukbd0		# Keyboard
2221f06573dSPeter Wemm#device		ulpt0		# Printer
22362d128b8SPeter Wemm#device		umass0		# Disks/Mass storage - Requires scbus and da0
2241f06573dSPeter Wemm#device		ums0		# Mouse
225c201f69bSDavid E. O'Brien# USB Ethernet
226ed63a7aaSBill Paul#device		aue0		# ADMtek USB ethernet
22701779872SBill Paul#device		cue0		# CATC USB ethernet
228dfd1e98eSBill Paul#device		kue0		# Kawasaki LSI USB ethernet
229