xref: /freebsd/sys/powerpc/conf/GENERIC (revision d1d9feac7c9f515c815367bc0934231fd1db9e8c)
1c585bae1SBenno Rice#
2c585bae1SBenno Rice# GENERIC -- Generic kernel configuration file for FreeBSD/powerpc
3c585bae1SBenno Rice#
4c585bae1SBenno Rice# For more information on this file, please read the handbook section on
5c585bae1SBenno Rice# Kernel Configuration Files:
6c585bae1SBenno Rice#
7c0727dcbSMarc Fonvieille#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8c585bae1SBenno Rice#
9c585bae1SBenno Rice# The handbook is also available locally in /usr/share/doc/handbook
10c585bae1SBenno Rice# if you've installed the doc distribution, otherwise always see the
11c585bae1SBenno Rice# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12c585bae1SBenno Rice# latest information.
13c585bae1SBenno Rice#
14c585bae1SBenno Rice# An exhaustive list of options and more detailed explanations of the
15dde04295SJohn Baldwin# device lines is also present in the ../../conf/NOTES and NOTES files.
16dde04295SJohn Baldwin# If you are in doubt as to the purpose or necessity of a line, check first
17dde04295SJohn Baldwin# in NOTES.
18c585bae1SBenno Rice#
19c585bae1SBenno Rice# $FreeBSD$
20c585bae1SBenno Rice
21c585bae1SBenno Ricemachine		powerpc
22c31c2645SBenno Ricecpu		OEA
23c585bae1SBenno Riceident		GENERIC
24c585bae1SBenno Rice
25c585bae1SBenno Rice#To statically compile in device wiring instead of /boot/device.hints
26c585bae1SBenno Rice#hints		"GENERIC.hints"
27c585bae1SBenno Rice
28a5bd7d29SPeter Grehanmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
29d50f790fSPeter Wemmmakeoptions	WERROR=-Wno-error	#XXX: We don't want -Werror just now
30c585bae1SBenno Rice
3126eed6e9SPeter Grehan# Platform support
3226eed6e9SPeter Grehanoptions 	POWERMAC		#NewWorld Apple PowerMacs
3326eed6e9SPeter Grehanoptions 	PSIM			#GDB PSIM ppc simulator
3459307865SMark Peek
35048ac395SJeff Robersonoptions 	SCHED_ULE		#ULE scheduler
3626eed6e9SPeter Grehanoptions 	INET			#InterNETworking
3726eed6e9SPeter Grehanoptions 	INET6			#IPv6 communications protocols
3826eed6e9SPeter Grehanoptions 	FFS			#Berkeley Fast Filesystem
3926eed6e9SPeter Grehanoptions 	SOFTUPDATES		#Enable FFS soft updates support
40c7063e59SRobert Watsonoptions 	UFS_ACL			#Support for access control lists
4126eed6e9SPeter Grehanoptions 	UFS_DIRHASH		#Improve performance on big directories
4226eed6e9SPeter Grehanoptions 	MD_ROOT			#MD is a potential root device
4326eed6e9SPeter Grehanoptions 	NFSCLIENT		#Network Filesystem Client
4426eed6e9SPeter Grehanoptions 	NFSSERVER		#Network Filesystem Server
45a5bd7d29SPeter Grehanoptions 	NFS_ROOT		#NFS usable as root device
4626eed6e9SPeter Grehan#options 	MSDOSFS			#MSDOS Filesystem
4726eed6e9SPeter Grehanoptions 	CD9660			#ISO 9660 Filesystem
4826eed6e9SPeter Grehanoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
4926eed6e9SPeter Grehanoptions 	PSEUDOFS		#Pseudo-filesystem framework
50d1d9feacSMarcel Moolenaaroptions 	GEOM_GPT		#GUID Partition Tables.
5126eed6e9SPeter Grehanoptions 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
52a5bd7d29SPeter Grehanoptions 	COMPAT_FREEBSD4		#Keep this for a while
5326eed6e9SPeter Grehanoptions 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
5426eed6e9SPeter Grehanoptions 	KTRACE			#ktrace(1) syscall trace support
5526eed6e9SPeter Grehanoptions 	SYSVSHM			#SYSV-style shared memory
5626eed6e9SPeter Grehanoptions 	SYSVMSG			#SYSV-style message queues
5726eed6e9SPeter Grehanoptions 	SYSVSEM			#SYSV-style semaphores
584275e0d9SMike Barcroft#options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
595864cda7SJacques Vidrineoptions 	PFIL_HOOKS		# pfil(9) framework
60c5f0b00cSBenno Rice
6126eed6e9SPeter Grehan# Debugging for use in -current
62d13782efSPeter Grehanoptions 	DDB			#Enable the kernel debugger
6326eed6e9SPeter Grehanoptions 	INVARIANTS		#Enable calls of extra sanity checking
6426eed6e9SPeter Grehanoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
6526eed6e9SPeter Grehanoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
6626eed6e9SPeter Grehan
6726eed6e9SPeter Grehan# To make an SMP kernel, the next line is needed
6826eed6e9SPeter Grehan#options 	SMP			# Symmetric MultiProcessor Kernel
6926eed6e9SPeter Grehan
7026eed6e9SPeter Grehan# Standard busses
71b618108fSPeter Wemmdevice		pci
7226eed6e9SPeter Grehan
7326eed6e9SPeter Grehan# ATA and ATAPI devices
7426eed6e9SPeter Grehandevice		ata
7526eed6e9SPeter Grehandevice		atadisk		# ATA disk drives
7626eed6e9SPeter Grehandevice		atapicd		# ATAPI CDROM drives
7726eed6e9SPeter Grehan#device		atapifd		# ATAPI floppy drives
7826eed6e9SPeter Grehan#device		atapist		# ATAPI tape drives
7926eed6e9SPeter Grehan
80f73a5a7fSHidetoshi Shimokawa# SCSI peripherals
81d196a108SJuli Mallettdevice		scbus		# SCSI bus (required for SCSI)
82f73a5a7fSHidetoshi Shimokawadevice		da		# Direct Access (disks)
83f73a5a7fSHidetoshi Shimokawadevice		sa		# Sequential Access (tape etc)
84f73a5a7fSHidetoshi Shimokawadevice		cd		# CD
85f73a5a7fSHidetoshi Shimokawadevice		pass		# Passthrough device (direct SCSI access)
86f73a5a7fSHidetoshi Shimokawa
87e878e008SPeter Grehan# syscons is the default console driver, resembling an SCO console
88e878e008SPeter Grehandevice		sc
89e878e008SPeter Grehanoptions		SC_OFWFB	# OFW frame buffer
90e878e008SPeter Grehanoptions		SC_DFLT_FONT	# compile font in
91e878e008SPeter Grehanmakeoptions	SC_DFLT_FONT=cp437
92e878e008SPeter Grehan
9326eed6e9SPeter Grehan# Serial (COM) ports
9426eed6e9SPeter Grehan#device		sio		# 8250, 16[45]50 based serial ports
9585139b2aSBenno Ricedevice		zs		# Zilog 8350 based serial ports
9626eed6e9SPeter Grehan
9726eed6e9SPeter Grehan# PCI Ethernet NICs that use the common MII bus controller code.
9826eed6e9SPeter Grehandevice		miibus		# MII bus support
99be0e6bfcSBenno Ricedevice		gem		# Sun GEM/Sun ERI/Apple GMAC
10026eed6e9SPeter Grehan
10126eed6e9SPeter Grehan# Pseudo devices - the number indicates how many units to allocated.
10226eed6e9SPeter Grehandevice		random		# Entropy device
10326eed6e9SPeter Grehandevice		loop		# Network loopback
10426eed6e9SPeter Grehandevice		ether		# Ethernet support
10526eed6e9SPeter Grehandevice		sl		# Kernel SLIP
10626eed6e9SPeter Grehandevice		ppp		# Kernel PPP
10726eed6e9SPeter Grehandevice		tun		# Packet tunnel.
10826eed6e9SPeter Grehandevice		pty		# Pseudo-ttys (telnet etc)
10926eed6e9SPeter Grehandevice		md		# Memory "disks"
11026eed6e9SPeter Grehandevice		ofwd		# OpenFirmware disks
11126eed6e9SPeter Grehandevice		gif		# IPv6 and IPv4 tunneling
11226eed6e9SPeter Grehandevice		faith		# IPv6-to-IPv4 relaying/(translation)
11326eed6e9SPeter Grehan
11426eed6e9SPeter Grehan# The `bpf' device enables the Berkeley Packet Filter.
11526eed6e9SPeter Grehan# Be aware of the administrative consequences of enabling this!
11626eed6e9SPeter Grehandevice		bpf		#Berkeley packet filter
11726eed6e9SPeter Grehan
11826eed6e9SPeter Grehan# USB support
119e878e008SPeter Grehandevice		uhci		# UHCI PCI->USB interface
120e878e008SPeter Grehandevice		ohci		# OHCI PCI->USB interface
121e878e008SPeter Grehandevice		usb		# USB Bus (required)
122e878e008SPeter Grehandevice		ugen		# Generic
123e878e008SPeter Grehandevice		uhid		# "Human Interface Devices"
124e878e008SPeter Grehandevice		ukbd		# Keyboard
125e878e008SPeter Grehandevice		ulpt		# Printer
126e878e008SPeter Grehandevice		umass		# Disks/Mass storage - Requires scbus and da0
127e878e008SPeter Grehandevice		ums		# Mouse
128e878e008SPeter Grehandevice		urio		# Diamond Rio 500 MP3 player
129e878e008SPeter Grehandevice		uscanner	# Scanners
13026eed6e9SPeter Grehan# USB Ethernet
1314e744b5eSDavid E. O'Briendevice		aue		# ADMtek USB Ethernet
1324e744b5eSDavid E. O'Briendevice		axe		# ASIX Electronics USB Ethernet
1334e744b5eSDavid E. O'Briendevice		cue		# CATC USB Ethernet
1344e744b5eSDavid E. O'Briendevice		kue		# Kawasaki LSI USB Ethernet
13526eed6e9SPeter Grehan
136092cd06fSHidetoshi Shimokawa# FireWire support
137092cd06fSHidetoshi Shimokawadevice		firewire	# FireWire bus code
138092cd06fSHidetoshi Shimokawadevice		sbp		# SCSI over FireWire (Requires scbus and da)
139092cd06fSHidetoshi Shimokawadevice		fwe		# Ethernet over FireWire (non-standard!)
140092cd06fSHidetoshi Shimokawa
14126eed6e9SPeter Grehan# Temporary defs until things are farther along.
14226eed6e9SPeter Grehanmakeoptions	NO_MODULES=true
14326eed6e9SPeter Grehan
14426eed6e9SPeter Grehanoptions 	KTR
14526eed6e9SPeter Grehanoptions 	KTR_COMPILE=0xffffffff
14626eed6e9SPeter Grehan#options 	KTR_MASK=KTR_SIG
14726eed6e9SPeter Grehanoptions 	KTR_VERBOSE
148