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