xref: /freebsd/sys/arm64/conf/GENERIC (revision 669f9224ec5398fbc825dd031415126af032cf42)
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/arm64
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21cpu		ARM64
22ident		GENERIC
23
24makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
26
27options 	SCHED_ULE		# ULE scheduler
28options 	PREEMPTION		# Enable kernel thread preemption
29options 	INET			# InterNETworking
30options 	INET6			# IPv6 communications protocols
31options 	IPSEC			# IP (v4/v6) security
32options 	TCP_OFFLOAD		# TCP offload
33options 	SCTP			# Stream Control Transmission Protocol
34options 	FFS			# Berkeley Fast Filesystem
35options 	SOFTUPDATES		# Enable FFS soft updates support
36options 	UFS_ACL			# Support for access control lists
37options 	UFS_DIRHASH		# Improve performance on big directories
38options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39options 	QUOTA			# Enable disk quotas for UFS
40options 	MD_ROOT			# MD is a potential root device
41options 	NFSCL			# Network Filesystem Client
42options 	NFSD			# Network Filesystem Server
43options 	NFSLOCKD		# Network Lock Manager
44options 	NFS_ROOT		# NFS usable as /, requires NFSCL
45options 	MSDOSFS			# MSDOS Filesystem
46options 	CD9660			# ISO 9660 Filesystem
47options 	PROCFS			# Process filesystem (requires PSEUDOFS)
48options 	PSEUDOFS		# Pseudo-filesystem framework
49options 	GEOM_PART_GPT		# GUID Partition Tables.
50options 	GEOM_RAID		# Soft RAID functionality.
51options 	GEOM_LABEL		# Provides labelization
52options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
53options 	KTRACE			# ktrace(1) support
54options 	STACK			# stack(9) support
55options 	SYSVSHM			# SYSV-style shared memory
56options 	SYSVMSG			# SYSV-style message queues
57options 	SYSVSEM			# SYSV-style semaphores
58options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
59options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
60options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
61options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62options 	AUDIT			# Security event auditing
63options 	CAPABILITY_MODE		# Capsicum capability mode
64options 	CAPABILITIES		# Capsicum capabilities
65options 	MAC			# TrustedBSD MAC Framework
66options 	KDTRACE_FRAME		# Ensure frames are compiled in
67options 	KDTRACE_HOOKS		# Kernel DTrace hooks
68options 	VFP			# Floating-point support
69options 	RACCT			# Resource accounting framework
70options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
71options 	RCTL			# Resource limits
72options 	SMP
73
74# Debugging support.  Always need this:
75options 	KDB			# Enable kernel debugger support.
76options 	KDB_TRACE		# Print a stack trace for a panic.
77# For full debugger support use (turn off in stable branch):
78options 	DDB			# Support DDB.
79#options 	GDB			# Support remote GDB.
80options 	DEADLKRES		# Enable the deadlock resolver
81options 	INVARIANTS		# Enable calls of extra sanity checking
82options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
83options 	WITNESS			# Enable checks to detect deadlocks and cycles
84options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
85options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
86
87# SoC support
88options 	SOC_CAVM_THUNDERX
89options 	SOC_HISI_HI6220
90
91# VirtIO support
92device		virtio
93device		virtio_mmio
94device		virtio_blk
95device		vtnet
96
97# Bus drivers
98device		pci
99options 	PCI_IOV		# PCI SR-IOV support
100
101# Ethernet NICs
102device		vnic		# Cavium ThunderX NIC
103device		em		# Intel PRO/1000 Gigabit Ethernet Family
104device		igb		# Intel PRO/1000 PCIE Server Gigabit Family
105device		mii
106device		miibus		# MII bus support
107
108# Block devices
109device		ahci
110device		scbus
111device		da
112
113# ATA/SCSI peripherals
114device		pass		# Passthrough device (direct ATA/SCSI access)
115
116# MMC/SD/SDIO Card slot support
117device		mmc			# mmc/sd bus
118device		mmcsd			# mmc/sd flash cards
119device		dwmmc
120
121# Serial (COM) ports
122device		uart		# Generic UART driver
123device		pl011
124
125# USB support
126options 	USB_DEBUG		# enable debug msgs
127device		dwcotg			# DWC OTG controller
128device		xhci			# XHCI PCI->USB interface (USB 3.0)
129device		usb			# USB Bus (required)
130device		ukbd			# Keyboard
131device		umass			# Disks/Mass storage - Requires scbus and da
132
133# Pseudo devices.
134device		loop		# Network loopback
135device		random		# Entropy device
136device		ether		# Ethernet support
137device		vlan		# 802.1Q VLAN support
138device		tun		# Packet tunnel.
139device		md		# Memory "disks"
140device		gif		# IPv6 and IPv4 tunneling
141device		firmware	# firmware assist module
142device		psci		# Support for ARM PSCI
143
144# The `bpf' device enables the Berkeley Packet Filter.
145# Be aware of the administrative consequences of enabling this!
146# Note that 'bpf' is required for DHCP.
147device		bpf		# Berkeley packet filter
148
149# Chip-specific errata
150options 	THUNDERX_PASS_1_1_ERRATA
151
152options 	FDT
153device		acpi
154
155# The crypto framework is required by IPSEC
156device		crypto			# Required by IPSEC
157