GENERIC revision 55992
12061Sjkh#
228329Sandreas# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
32061Sjkh#
42061Sjkh# For more information on this file, please read the handbook section on
515603Smarkm# Kernel Configuration Files:
63197Scsgr#
720710Sasami#    http://www.freebsd.org/handbook/kernelconfig-config.html
820710Sasami#
93197Scsgr# The handbook is also available locally in /usr/share/doc/handbook
102061Sjkh# if you've installed the doc distribution, otherwise always see the
1112483Speter# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
122160Scsgr# latest information.
132834Swollman#
142061Sjkh# An exhaustive list of options and more detailed explanations of the
152061Sjkh# device lines is also present in the ./LINT configuration file. If you are
162160Scsgr# in doubt as to the purpose or necessity of a line, check first in LINT.
1717308Speter#
1819320Sadam# $FreeBSD: head/sys/amd64/conf/GENERIC 55992 2000-01-14 20:41:03Z wpaul $
1927788Sasami
2027788Sasamimachine		i386
2125980Sasamicpu		I386_CPU
221594Srgrimescpu		I486_CPU
2317308Spetercpu		I586_CPU
2417308Spetercpu		I686_CPU
2527910Sasamiident		GENERIC
2627910Sasamimaxusers	32
2727910Sasami
2817308Speter#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
2917308Speter
3017308Speteroptions 	MATH_EMULATE		#Support for x87 emulation
3119175Sbdeoptions 	INET			#InterNETworking
3219175Sbdeoptions 	FFS			#Berkeley Fast Filesystem
3319175Sbdeoptions 	FFS_ROOT		#FFS usable as root device [keep this!]
3419175Sbdeoptions 	MFS			#Memory Filesystem
3517308Speteroptions 	MD_ROOT			#MD is a potential root device
3627910Sasamioptions 	NFS			#Network Filesystem
3725647Sbdeoptions 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
3827910Sasamioptions 	MSDOSFS			#MSDOS Filesystem
3917308Speteroptions 	CD9660			#ISO 9660 Filesystem
402061Sjkhoptions 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
412061Sjkhoptions 	PROCFS			#Process filesystem
421594Srgrimesoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
4327910Sasamioptions 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
447407Srgrimesoptions 	UCONSOLE		#Allow users to grab the console
457108Sphkoptions 	USERCONFIG		#boot -c editor
467108Sphkoptions 	VISUAL_USERCONFIG	#visual boot -c editor
477108Sphkoptions 	KTRACE			#ktrace(1) syscall trace support
487407Srgrimesoptions 	SYSVSHM			#SYSV-style shared memory
497407Srgrimesoptions 	SYSVMSG			#SYSV-style message queues
507407Srgrimesoptions 	SYSVSEM			#SYSV-style semaphores
517108Sphk
522061Sjkh# To make an SMP kernel, the next two are needed
532061Sjkh#options 	SMP			# Symmetric MultiProcessor Kernel
542061Sjkh#options 	APIC_IO			# Symmetric (APIC) I/O
5517308Speter# Optionally these may need tweaked, (defaults shown):
562061Sjkh#options 	NCPU=2			# number of CPUs
572061Sjkh#options 	NBUS=4			# number of busses
582061Sjkh#options 	NAPIC=1			# number of IO APICs
592061Sjkh#options 	NINTR=24		# number of INTs
602061Sjkh
613197Scsgrdevice		isa0
622626Scsgrdevice		eisa0
632626Scsgrdevice		pci0
642061Sjkh
652061Sjkh# Floppy drives
662061Sjkhdevice		fdc0	at isa? port IO_FD1 irq 6 drq 2
672061Sjkhdevice		fd0	at fdc0 drive 0
682061Sjkhdevice		fd1	at fdc0 drive 1
692061Sjkh
7019320Sadam# ATA and ATAPI devices
712061Sjkhdevice		ata0	at isa? port IO_WD1 irq 14
722061Sjkhdevice		ata1	at isa? port IO_WD2 irq 15
732061Sjkhdevice		ata2
742061Sjkhdevice		atadisk0	# ATA disk drives
752061Sjkhdevice		atapicd0	# ATAPI CDROM drives
762061Sjkhdevice		atapifd0	# ATAPI floppy drives
772061Sjkhdevice		atapist0	# ATAPI tape drives
782061Sjkhoptions 	ATA_STATIC_ID		#Static device numbering
792061Sjkh#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
802061Sjkh
812061Sjkh# SCSI Controllers
822834Swollman# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
832834Swollman# sufficient for any number of installed devices.
842834Swollmandevice		ahb0		# EISA AHA1742 family
852834Swollmandevice		ahc0		# AHA2940 and onboard AIC7xxx devices
862834Swollmandevice		amd0		# AMD 53C974 (Teckram DC-390(T))
872834Swollmandevice		dpt0		# DPT Smartcache - See LINT for options!
881594Srgrimesdevice		isp0		# Qlogic family
894486Sphkdevice		ncr0		# NCR/Symbios Logic
904486Sphkdevice		sym0		# NCR/Symbios Logic (newer chipsets)
914486Sphk
924486Sphkdevice		adv0	at isa? port ? irq ?
934486Sphkdevice		adw0
942061Sjkhdevice		bt0	at isa? port ? irq ?
952061Sjkhdevice		aha0	at isa? port ? irq ?
9625979Sjkhdevice		aic0	at isa? port ? irq ?
9725979Sjkh
9825979Sjkh# SCSI peripherals
9925979Sjkh# Only one of each of these is needed, they are dynamically allocated.
1002061Sjkhdevice		scbus0		# SCSI bus (required)
10125979Sjkhdevice		da0		# Direct Access (disks)
1022061Sjkhdevice		sa0		# Sequential Access (tape etc)
1032061Sjkhdevice		cd0		# CD
10417308Speterdevice		pass0		# Passthrough device (direct SCSI access)
1052061Sjkh
1062061Sjkh# RAID controllers
1072061Sjkhdevice		amr0		# AMI MegaRAID
1082061Sjkhdevice		mlx0		# Mylex DAC960 family
1092061Sjkh
11012483Speter# atkbdc0 controls both the keyboard and the PS/2 mouse
11112483Speterdevice		atkbdc0	at isa? port IO_KBD
11212483Speterdevice		atkbd0	at atkbdc? irq 1
11312483Speterdevice		psm0	at atkbdc? irq 12
1142061Sjkh
1152061Sjkhdevice		vga0	at isa? port ? conflicts
1168854Srgrimes
1172061Sjkh# splash screen/screen saver
1182061Sjkhpseudo-device	splash
11912483Speter
1202061Sjkh# syscons is the default console driver, resembling an SCO console
12127910Sasamidevice		sc0	at isa?
12227910Sasami
12318714Sache# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
12417308Speter#device		vt0	at isa?
12517308Speter#options 	XSERVER			# support for X server
12617308Speter#options 	FAT_CURSOR		# start with block cursor
12717308Speter# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
12821536Sjmacd#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
12915603Smarkm
13017308Speter# Floating point support - do not disable.
13117308Speterdevice		npx0	at nexus? port IO_NPX irq 13
13217308Speter
13317308Speter# Power management support (see LINT for more options)
13417308Speterdevice		apm0    at nexus? disable flags 0x20 # Advanced Power Management
13517308Speter
13617308Speter# PCCARD (PCMCIA) support
13717308Speterdevice		card0
13817308Speterdevice		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
13918362Sjkhdevice		pcic1	at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
14019966Sache
14118362Sjkh# Serial (COM) ports
14217308Speterdevice		sio0	at isa? port IO_COM1 flags 0x10 irq 4
14327910Sasamidevice		sio1	at isa? port IO_COM2 irq 3
14417308Speterdevice		sio2	at isa? disable port IO_COM3 irq 5
14517308Speterdevice		sio3	at isa? disable port IO_COM4 irq 9
14617308Speter
14717308Speter# Parallel port
14827910Sasamidevice		ppc0	at isa? port? irq 7
14927910Sasamidevice		ppbus0			# Parallel port bus (required)
15027910Sasamidevice		lpt0	at ppbus?	# Printer
15127910Sasamidevice		plip0	at ppbus?	# TCP/IP over parallel
15217308Speterdevice		ppi0	at ppbus?	# Parallel port interface device
1532061Sjkh#device		vpo0	at ppbus?	# Requires scbus and da0
15427910Sasami
1552061Sjkh
15627910Sasami# PCI Ethernet NICs.
15727910Sasamidevice		de0		# DEC/Intel DC21x4x (``Tulip'')
1582061Sjkhdevice		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
15917308Speterdevice		tx0		# SMC 9432TX (83c170 ``EPIC'')
16027910Sasamidevice		vx0		# 3Com 3c590, 3c595 (``Vortex'')
16117308Speterdevice		wx0		# Intel Gigabit Ethernet Card (``Wiseman'')
16227910Sasami
16327910Sasami# PCI Ethernet NICs that use the common MII bus controller code.
16427910Sasamidevice		miibus0		# MII bus support
16517308Speterdevice		dc0		# DEC/Intel 21143 and various workalikes
16627910Sasamidevice		rl0		# RealTek 8129/8139
16717308Speterdevice		sf0		# Adaptec AIC-6915 (``Starfire'')
16827910Sasamidevice		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
16927910Sasamidevice		ste0		# Sundance ST201 (D-Link DFE-550TX)
17027910Sasamidevice		tl0		# Texas Instruments ThunderLAN
17127910Sasamidevice		vr0		# VIA Rhine, Rhine II
17227910Sasamidevice		wb0		# Winbond W89C840F
17327910Sasamidevice		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
17427910Sasami
17527910Sasami# ISA Ethernet NICs.
17627910Sasamidevice		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
17727910Sasamidevice		ex0
17827910Sasamidevice		ep0
17927910Sasami# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
18027910Sasami# exists only as a PCMCIA device, so there is no ISA attatement needed
18127910Sasami# and resources will always be dynamically assigned by the pccard code.
18227910Sasami#device		wi0
18327910Sasami# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
18427910Sasami# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
18527910Sasami# mode (the factory default). If you set the switches on your ISA
18627910Sasami# card for a manually chosen I/O address and IRQ, you must specify
18727910Sasami# those paremeters here.
18827910Sasami# device	an0
18927910Sasami# The probe order of these is presently determined by i386/isa/isa_compat.c.
19027910Sasamidevice		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
19127910Sasamidevice		fe0	at isa? port 0x300 irq ?
19227910Sasamidevice		le0	at isa? port 0x300 irq 5 iomem 0xd0000
19327910Sasamidevice		lnc0	at isa? port 0x280 irq 10 drq 0
19427910Sasamidevice		cs0	at isa? port 0x300 irq ?
19527910Sasamidevice		sn0	at isa? port 0x300 irq 10
19627910Sasami# requires PCCARD (PCMCIA) support to be activated
19727910Sasami#device		xe0	at isa? port? irq ?
19827910Sasami
19927910Sasami# Pseudo devices - the number indicates how many units to allocated.
20027910Sasamipseudo-device	loop		# Network loopback
20127910Sasamipseudo-device	ether		# Ethernet support
20227910Sasamipseudo-device	sl	1	# Kernel SLIP
20327910Sasamipseudo-device	ppp	1	# Kernel PPP
20427910Sasamipseudo-device	tun		# Packet tunnel.
20517308Speterpseudo-device	pty		# Pseudo-ttys (telnet etc)
20617308Speterpseudo-device	md		# Memory "disks"
20727910Sasami
20817308Speter# The `bpf' pseudo-device enables the Berkeley Packet Filter.
20927910Sasami# Be aware of the administrative consequences of enabling this!
21027910Sasamipseudo-device	bpf		#Berkeley packet filter
21127910Sasami
21227910Sasami# USB support
21317466Speter#device		uhci0		# UHCI PCI->USB interface
21417308Speter#device		ohci0		# OHCI PCI->USB interface
21527910Sasami#device		usb0		# USB Bus (required)
21617308Speter#device		ugen0		# Generic
21727910Sasami#device		uhid0		# "Human Interface Devices"
21827910Sasami#device		ukbd0		# Keyboard
21927910Sasami#device		ulpt0		# Printer
22027910Sasami#device		umass0		# Disks/Mass storage - Requires scbus and da0
22117308Speter#device		ums0		# Mouse
22217308Speter# USB Ethernet
22327910Sasami#device		aue0		# ADMtek USB ethernet
22417308Speter#device		cue0		# CATC USB ethernet
22527910Sasami#device		kue0		# Kawasaki LSI USB ethernet
22627910Sasami