2015-04-13 14:43:10 +00:00
|
|
|
#
|
|
|
|
# GENERIC -- Generic kernel configuration file for FreeBSD/arm64
|
|
|
|
#
|
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2015-04-13 14:43:10 +00:00
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2017-10-29 08:17:03 +00:00
|
|
|
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
|
2015-04-13 14:43:10 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
cpu ARM64
|
|
|
|
ident GENERIC
|
|
|
|
|
|
|
|
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
2015-10-21 19:08:16 +00:00
|
|
|
makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
|
2015-04-13 14:43:10 +00:00
|
|
|
|
|
|
|
options SCHED_ULE # ULE scheduler
|
2019-10-23 19:35:26 +00:00
|
|
|
options NUMA # Non-Uniform Memory Architecture support
|
2015-04-13 14:43:10 +00:00
|
|
|
options PREEMPTION # Enable kernel thread preemption
|
2018-07-30 15:57:58 +00:00
|
|
|
options VIMAGE # Subsystem virtualization, e.g. VNET
|
2015-04-13 14:43:10 +00:00
|
|
|
options INET # InterNETworking
|
|
|
|
options INET6 # IPv6 communications protocols
|
2017-09-19 20:40:05 +00:00
|
|
|
options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
|
In the TCP stack, the hhook(9) framework provides hooks for kernel modules
to add actions that run when a TCP frame is sent or received on a TCP
session in the ESTABLISHED state. In the base tree, this functionality is
only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd,
and cc_vegas congestion control modules.
Presently, we incur overhead to check for hooks each time a TCP frame is
sent or received on an ESTABLISHED TCP session.
This change adds a new compile-time option (TCP_HHOOK) to determine whether
to include the hhook(9) framework for TCP. To retain backwards
compatibility, I added the TCP_HHOOK option to every configuration file that
already defined "options INET". (Therefore, this patch introduces no
functional change. In order to see a functional difference, you need to
compile a custom kernel without the TCP_HHOOK option.) This change will
allow users to easily exclude this functionality from their kernel, should
they wish to do so.
Note that any users who use a custom kernel configuration and use one of the
congestion control modules listed above will need to add the TCP_HHOOK
option to their kernel configuration.
Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D8185
2016-10-12 02:16:42 +00:00
|
|
|
options TCP_HHOOK # hhook(9) framework for TCP
|
2015-04-13 14:43:10 +00:00
|
|
|
options TCP_OFFLOAD # TCP offload
|
2018-02-26 03:03:41 +00:00
|
|
|
options TCP_RFC7413 # TCP Fast Open
|
2020-07-16 15:09:04 +00:00
|
|
|
options SCTP_SUPPORT # Allow kldload of SCTP
|
2015-04-13 14:43:10 +00:00
|
|
|
options FFS # Berkeley Fast Filesystem
|
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
|
|
|
options UFS_ACL # Support for access control lists
|
|
|
|
options UFS_DIRHASH # Improve performance on big directories
|
|
|
|
options UFS_GJOURNAL # Enable gjournal-based UFS journaling
|
|
|
|
options QUOTA # Enable disk quotas for UFS
|
|
|
|
options MD_ROOT # MD is a potential root device
|
2015-11-08 21:08:31 +00:00
|
|
|
options NFSCL # Network Filesystem Client
|
|
|
|
options NFSD # Network Filesystem Server
|
2015-04-13 14:43:10 +00:00
|
|
|
options NFSLOCKD # Network Lock Manager
|
|
|
|
options NFS_ROOT # NFS usable as /, requires NFSCL
|
|
|
|
options MSDOSFS # MSDOS Filesystem
|
|
|
|
options CD9660 # ISO 9660 Filesystem
|
|
|
|
options PROCFS # Process filesystem (requires PSEUDOFS)
|
|
|
|
options PSEUDOFS # Pseudo-filesystem framework
|
|
|
|
options GEOM_RAID # Soft RAID functionality.
|
|
|
|
options GEOM_LABEL # Provides labelization
|
2019-01-13 19:49:46 +00:00
|
|
|
options COMPAT_FREEBSD32 # Compatible with FreeBSD/arm
|
2017-05-23 13:57:55 +00:00
|
|
|
options COMPAT_FREEBSD11 # Compatible with FreeBSD11
|
2019-05-02 18:10:23 +00:00
|
|
|
options COMPAT_FREEBSD12 # Compatible with FreeBSD12
|
2015-04-13 14:43:10 +00:00
|
|
|
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
|
|
|
|
options KTRACE # ktrace(1) support
|
|
|
|
options STACK # stack(9) support
|
|
|
|
options SYSVSHM # SYSV-style shared memory
|
|
|
|
options SYSVMSG # SYSV-style message queues
|
|
|
|
options SYSVSEM # SYSV-style semaphores
|
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
|
|
|
options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
|
|
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
|
|
|
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
|
|
|
|
options AUDIT # Security event auditing
|
|
|
|
options CAPABILITY_MODE # Capsicum capability mode
|
|
|
|
options CAPABILITIES # Capsicum capabilities
|
|
|
|
options MAC # TrustedBSD MAC Framework
|
|
|
|
options KDTRACE_FRAME # Ensure frames are compiled in
|
|
|
|
options KDTRACE_HOOKS # Kernel DTrace hooks
|
|
|
|
options VFP # Floating-point support
|
2015-05-14 14:03:55 +00:00
|
|
|
options RACCT # Resource accounting framework
|
|
|
|
options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
|
|
|
|
options RCTL # Resource limits
|
2015-07-09 13:23:29 +00:00
|
|
|
options SMP
|
2016-06-07 20:14:08 +00:00
|
|
|
options INTRNG
|
2015-04-13 14:43:10 +00:00
|
|
|
|
2015-07-02 14:35:30 +00:00
|
|
|
# Debugging support. Always need this:
|
|
|
|
options KDB # Enable kernel debugger support.
|
|
|
|
options KDB_TRACE # Print a stack trace for a panic.
|
|
|
|
# For full debugger support use (turn off in stable branch):
|
|
|
|
options DDB # Support DDB.
|
|
|
|
#options GDB # Support remote GDB.
|
|
|
|
options DEADLKRES # Enable the deadlock resolver
|
|
|
|
options INVARIANTS # Enable calls of extra sanity checking
|
|
|
|
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
|
|
|
|
options WITNESS # Enable checks to detect deadlocks and cycles
|
|
|
|
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
|
|
|
|
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
|
2018-05-10 09:37:50 +00:00
|
|
|
options ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence
|
|
|
|
options USB_DEBUG # enable debug msgs
|
2018-10-31 22:38:19 +00:00
|
|
|
options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default
|
2019-01-29 11:04:17 +00:00
|
|
|
|
|
|
|
# Kernel Sanitizers
|
2019-02-10 07:54:46 +00:00
|
|
|
#options COVERAGE # Generic kernel coverage. Used by KCOV
|
|
|
|
#options KCOV # Kernel Coverage Sanitizer
|
2018-11-06 17:47:58 +00:00
|
|
|
# Warning: KUBSAN can result in a kernel too large for loader to load
|
|
|
|
#options KUBSAN # Kernel Undefined Behavior Sanitizer
|
2019-11-21 11:22:08 +00:00
|
|
|
#options KCSAN # Kernel Concurrency Sanitizer
|
2015-07-02 14:35:30 +00:00
|
|
|
|
2018-05-19 19:53:23 +00:00
|
|
|
# Kernel dump features.
|
|
|
|
options EKCD # Support for encrypted kernel dumps
|
|
|
|
options GZIO # gzip-compressed kernel and user dumps
|
|
|
|
options ZSTDIO # zstd-compressed kernel and user dumps
|
2019-10-17 16:23:03 +00:00
|
|
|
options DEBUGNET # debugnet networking
|
2018-05-19 19:53:23 +00:00
|
|
|
options NETDUMP # netdump(4) client support
|
|
|
|
|
2015-08-26 11:36:23 +00:00
|
|
|
# SoC support
|
2016-08-25 13:59:19 +00:00
|
|
|
options SOC_ALLWINNER_A64
|
2017-08-02 20:19:19 +00:00
|
|
|
options SOC_ALLWINNER_H5
|
2019-10-14 21:53:53 +00:00
|
|
|
options SOC_ALLWINNER_H6
|
2015-08-26 11:36:23 +00:00
|
|
|
options SOC_CAVM_THUNDERX
|
2020-07-01 00:33:16 +00:00
|
|
|
options SOC_FREESCALE_IMX8
|
2015-08-26 18:09:17 +00:00
|
|
|
options SOC_HISI_HI6220
|
2019-09-13 16:50:57 +00:00
|
|
|
options SOC_INTEL_STRATIX10
|
2016-11-24 00:45:52 +00:00
|
|
|
options SOC_BRCM_BCM2837
|
2019-11-10 01:43:51 +00:00
|
|
|
options SOC_BRCM_BCM2838
|
2018-12-12 21:58:30 +00:00
|
|
|
options SOC_MARVELL_8K
|
2020-05-25 14:45:18 +00:00
|
|
|
options SOC_NXP_LS
|
2018-02-26 21:25:50 +00:00
|
|
|
options SOC_ROCKCHIP_RK3328
|
2018-12-01 20:28:16 +00:00
|
|
|
options SOC_ROCKCHIP_RK3399
|
2018-07-13 19:54:22 +00:00
|
|
|
options SOC_XILINX_ZYNQ
|
2015-08-26 11:36:23 +00:00
|
|
|
|
2018-08-23 18:46:05 +00:00
|
|
|
# Timer drivers
|
|
|
|
device a10_timer
|
|
|
|
|
2016-09-07 05:34:41 +00:00
|
|
|
# Annapurna Alpine drivers
|
|
|
|
device al_ccu # Alpine Cache Coherency Unit
|
|
|
|
device al_nb_service # Alpine North Bridge Service
|
2016-10-20 11:31:11 +00:00
|
|
|
device al_iofic # I/O Fabric Interrupt Controller
|
|
|
|
device al_serdes # Serializer/Deserializer
|
|
|
|
device al_udma # Universal DMA
|
2016-09-07 05:34:41 +00:00
|
|
|
|
2018-04-10 12:53:48 +00:00
|
|
|
# Qualcomm Snapdragon drivers
|
|
|
|
device qcom_gcc # Global Clock Controller
|
|
|
|
|
2015-08-26 10:32:23 +00:00
|
|
|
# VirtIO support
|
2015-04-13 14:43:10 +00:00
|
|
|
device virtio
|
2016-12-18 11:15:31 +00:00
|
|
|
device virtio_pci
|
2015-04-13 14:43:10 +00:00
|
|
|
device virtio_mmio
|
|
|
|
device virtio_blk
|
|
|
|
device vtnet
|
|
|
|
|
2016-09-06 21:18:14 +00:00
|
|
|
# CPU frequency control
|
|
|
|
device cpufreq
|
|
|
|
|
2015-08-08 20:34:55 +00:00
|
|
|
# Bus drivers
|
|
|
|
device pci
|
2020-02-11 15:12:09 +00:00
|
|
|
device pci_n1sdp # ARM Neoverse N1 SDP PCI
|
2016-09-20 11:11:06 +00:00
|
|
|
device al_pci # Annapurna Alpine PCI-E
|
Native PCI-express HotPlug support.
PCI-express HotPlug support is implemented via bits in the slot
registers of the PCI-express capability of the downstream port along
with an interrupt that triggers when bits in the slot status register
change.
This is implemented for FreeBSD by adding HotPlug support to the
PCI-PCI bridge driver which attaches to the virtual PCI-PCI bridges
representing downstream ports on HotPlug slots. The PCI-PCI bridge
driver registers an interrupt handler to receive HotPlug events. It
also uses the slot registers to determine the current HotPlug state
and drive an internal HotPlug state machine. For simplicty of
implementation, the PCI-PCI bridge device detaches and deletes the
child PCI device when a card is removed from a slot and creates and
attaches a PCI child device when a card is inserted into the slot.
The PCI-PCI bridge driver provides a bus_child_present which claims
that child devices are present on HotPlug-capable slots only when a
card is inserted. Rather than requiring a timeout in the RC for
config accesses to not-present children, the pcib_read/write_config
methods fail all requests when a card is not present (or not yet
ready).
These changes include support for various optional HotPlug
capabilities such as a power controller, mechanical latch,
electro-mechanical interlock, indicators, and an attention button.
It also includes support for devices which require waiting for
command completion events before initiating a subsequent HotPlug
command. However, it has only been tested on ExpressCard systems
which support surprise removal and have none of these optional
capabilities.
PCI-express HotPlug support is conditional on the PCI_HP option
which is enabled by default on arm64, x86, and powerpc.
Reviewed by: adrian, imp, vangyzen (older versions)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D6136
2016-05-05 22:26:23 +00:00
|
|
|
options PCI_HP # PCI-Express native HotPlug
|
2015-11-08 21:08:31 +00:00
|
|
|
options PCI_IOV # PCI SR-IOV support
|
2015-08-08 20:34:55 +00:00
|
|
|
|
2019-01-31 19:05:56 +00:00
|
|
|
# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
|
|
|
|
device iflib
|
|
|
|
device em # Intel PRO/1000 Gigabit Ethernet Family
|
|
|
|
device ix # Intel 10Gb Ethernet Family
|
|
|
|
|
2015-08-08 20:56:30 +00:00
|
|
|
# Ethernet NICs
|
2017-09-09 11:56:48 +00:00
|
|
|
device mdio
|
2015-08-08 20:56:30 +00:00
|
|
|
device mii
|
|
|
|
device miibus # MII bus support
|
2016-08-25 13:59:19 +00:00
|
|
|
device awg # Allwinner EMAC Gigabit Ethernet
|
2017-02-15 13:56:04 +00:00
|
|
|
device axgbe # AMD Opteron A1100 integrated NIC
|
2015-12-11 15:25:47 +00:00
|
|
|
device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
|
2017-09-11 19:00:53 +00:00
|
|
|
device neta # Marvell Armada 370/38x/XP/3700 NIC
|
2016-11-16 11:37:43 +00:00
|
|
|
device smc # SMSC LAN91C111
|
2015-12-11 15:25:47 +00:00
|
|
|
device vnic # Cavium ThunderX NIC
|
2016-10-20 11:31:11 +00:00
|
|
|
device al_eth # Annapurna Alpine Ethernet NIC
|
2018-06-14 06:28:09 +00:00
|
|
|
device dwc_rk # Rockchip Designware
|
2019-07-29 16:32:23 +00:00
|
|
|
device dwc_socfpga # Altera SOCFPGA Ethernet MAC
|
2020-04-22 00:42:10 +00:00
|
|
|
device genet # Broadcom on RPi4
|
2020-07-01 00:33:16 +00:00
|
|
|
device ffec # iMX FFEC
|
2015-08-08 20:56:30 +00:00
|
|
|
|
2019-03-23 02:53:47 +00:00
|
|
|
# Etherswitch devices
|
|
|
|
device etherswitch # Enable etherswitch support
|
|
|
|
device miiproxy # Required for etherswitch
|
|
|
|
device e6000sw # Marvell mv88e6085 based switches
|
|
|
|
|
2015-08-08 20:56:30 +00:00
|
|
|
# Block devices
|
|
|
|
device ahci
|
|
|
|
device scbus
|
|
|
|
device da
|
|
|
|
|
2015-09-22 21:43:08 +00:00
|
|
|
# ATA/SCSI peripherals
|
|
|
|
device pass # Passthrough device (direct ATA/SCSI access)
|
|
|
|
|
2019-03-22 06:36:40 +00:00
|
|
|
# NVM Express (NVMe) support
|
|
|
|
device nvme # base NVMe driver
|
|
|
|
options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
|
|
|
|
device nvd # expose NVMe namespaces as disks, depends on nvme
|
|
|
|
|
2015-09-01 16:25:12 +00:00
|
|
|
# MMC/SD/SDIO Card slot support
|
2016-10-18 23:48:47 +00:00
|
|
|
device sdhci
|
2018-08-14 16:33:30 +00:00
|
|
|
device sdhci_xenon # Marvell Xenon SD/MMC controller
|
2016-08-25 13:59:19 +00:00
|
|
|
device aw_mmc # Allwinner SD/MMC controller
|
2015-09-01 16:25:12 +00:00
|
|
|
device mmc # mmc/sd bus
|
|
|
|
device mmcsd # mmc/sd flash cards
|
|
|
|
device dwmmc
|
2019-07-30 12:51:14 +00:00
|
|
|
device dwmmc_altera
|
2019-12-11 18:36:07 +00:00
|
|
|
device dwmmc_hisi
|
|
|
|
device rk_dwmmc
|
2019-07-20 02:03:31 +00:00
|
|
|
device rk_emmcphy
|
2015-09-01 16:25:12 +00:00
|
|
|
|
2015-04-13 14:43:10 +00:00
|
|
|
# Serial (COM) ports
|
|
|
|
device uart # Generic UART driver
|
2020-07-01 00:33:16 +00:00
|
|
|
device uart_imx # iMX8 UART
|
2018-05-18 11:32:48 +00:00
|
|
|
device uart_msm # Qualcomm MSM UART driver
|
2018-06-12 13:26:31 +00:00
|
|
|
device uart_mu # RPI3 aux port
|
2017-09-09 11:46:34 +00:00
|
|
|
device uart_mvebu # Armada 3700 UART driver
|
2016-03-01 07:06:36 +00:00
|
|
|
device uart_ns8250 # ns8250-type UART driver
|
2016-08-25 13:59:19 +00:00
|
|
|
device uart_snps
|
2015-04-13 14:43:10 +00:00
|
|
|
device pl011
|
|
|
|
|
2015-09-01 17:13:04 +00:00
|
|
|
# USB support
|
2016-08-25 13:59:19 +00:00
|
|
|
device aw_usbphy # Allwinner USB PHY
|
2019-09-28 22:25:21 +00:00
|
|
|
device rk_usb2phy # Rockchip USB2PHY
|
2019-10-25 18:10:02 +00:00
|
|
|
device rk_typec_phy # Rockchip TypeC PHY
|
2015-09-01 17:13:04 +00:00
|
|
|
device dwcotg # DWC OTG controller
|
2016-08-25 13:59:19 +00:00
|
|
|
device ohci # OHCI USB interface
|
|
|
|
device ehci # EHCI USB interface (USB 2.0)
|
2017-09-09 11:16:10 +00:00
|
|
|
device ehci_mv # Marvell EHCI USB interface
|
2019-05-08 15:42:39 +00:00
|
|
|
device xhci # XHCI USB interface (USB 3.0)
|
2019-10-14 22:27:33 +00:00
|
|
|
device dwc3 # Synopsys DWC controller
|
2019-10-14 22:22:19 +00:00
|
|
|
device aw_dwc3 # Allwinner DWC3 controller
|
2019-10-25 18:08:59 +00:00
|
|
|
device rk_dwc3 # Rockchip DWC3 controller
|
2015-09-01 17:13:04 +00:00
|
|
|
device usb # USB Bus (required)
|
2015-09-15 19:59:35 +00:00
|
|
|
device ukbd # Keyboard
|
|
|
|
device umass # Disks/Mass storage - Requires scbus and da
|
2015-09-01 17:13:04 +00:00
|
|
|
|
2016-10-18 23:48:47 +00:00
|
|
|
# USB ethernet support
|
2018-08-21 21:30:19 +00:00
|
|
|
device muge
|
2016-10-18 23:48:47 +00:00
|
|
|
device smcphy
|
|
|
|
device smsc
|
|
|
|
|
2019-05-02 12:56:13 +00:00
|
|
|
# Sound support
|
|
|
|
device sound
|
|
|
|
device a10_codec
|
|
|
|
|
|
|
|
# DMA controller
|
|
|
|
device a31_dmac
|
|
|
|
|
2018-12-12 22:00:05 +00:00
|
|
|
# GPIO / PINCTRL
|
2019-06-10 21:27:21 +00:00
|
|
|
device a37x0_gpio # Marvell Armada 37x0 GPIO controller
|
2016-08-25 13:59:19 +00:00
|
|
|
device aw_gpio # Allwinner GPIO controller
|
2019-09-04 15:55:44 +00:00
|
|
|
device dwgpio # Synopsys DesignWare APB GPIO Controller
|
2016-08-25 13:59:19 +00:00
|
|
|
device gpio
|
2016-10-18 23:48:47 +00:00
|
|
|
device gpioled
|
2016-08-25 13:59:19 +00:00
|
|
|
device fdt_pinctrl
|
2019-05-02 12:56:13 +00:00
|
|
|
device gpioregulator
|
2020-05-25 14:55:37 +00:00
|
|
|
device ls1046_gpio # LS1046A GPIO controller
|
2018-12-12 22:02:57 +00:00
|
|
|
device mv_gpio # Marvell GPIO controller
|
2018-12-12 22:00:05 +00:00
|
|
|
device mvebu_pinctrl # Marvell Pinmux Controller
|
2019-02-10 08:14:06 +00:00
|
|
|
device rk_gpio # RockChip GPIO Controller
|
|
|
|
device rk_pinctrl # RockChip Pinmux Controller
|
2016-08-25 13:59:19 +00:00
|
|
|
|
|
|
|
# I2C
|
2019-12-05 00:56:03 +00:00
|
|
|
device a37x0_iic # Armada 37x0 I2C controller
|
2016-08-25 13:59:19 +00:00
|
|
|
device aw_rsb # Allwinner Reduced Serial Bus
|
2016-10-18 23:48:47 +00:00
|
|
|
device bcm2835_bsc # Broadcom BCM283x I2C bus
|
2016-08-25 13:59:19 +00:00
|
|
|
device iicbus
|
2017-03-24 22:33:03 +00:00
|
|
|
device iic
|
2017-07-09 12:53:02 +00:00
|
|
|
device twsi # Allwinner I2C controller
|
2018-11-28 13:54:39 +00:00
|
|
|
device rk_i2c # RockChip I2C controller
|
2018-12-01 20:31:49 +00:00
|
|
|
device syr827 # Silergy SYR827 PMIC
|
2019-04-20 03:21:47 +00:00
|
|
|
device sy8106a # SY8106A Buck Regulator
|
2020-05-25 15:21:38 +00:00
|
|
|
device vf_i2c # Freescale Vybrid I2C controller
|
2020-07-01 00:33:16 +00:00
|
|
|
device fsliic # Freescale iMX I2C controller
|
2016-08-25 13:59:19 +00:00
|
|
|
|
|
|
|
# Clock and reset controllers
|
|
|
|
device aw_ccu # Allwinner clock controller
|
|
|
|
|
|
|
|
# Interrupt controllers
|
|
|
|
device aw_nmi # Allwinner NMI support
|
2018-12-12 22:08:43 +00:00
|
|
|
device mv_cp110_icu # Marvell CP110 ICU
|
|
|
|
device mv_ap806_gicp # Marvell AP806 GICP
|
2019-10-20 10:48:27 +00:00
|
|
|
device mv_ap806_sei # Marvell AP806 SEI
|
2016-08-25 13:59:19 +00:00
|
|
|
|
|
|
|
# Real-time clock support
|
|
|
|
device aw_rtc # Allwinner Real-time Clock
|
2017-09-05 05:50:01 +00:00
|
|
|
device mv_rtc # Marvell Real-time Clock
|
2016-08-25 13:59:19 +00:00
|
|
|
|
2020-07-14 14:09:29 +00:00
|
|
|
# Crypto accelerators
|
|
|
|
device safexcel # Inside Secure EIP-97
|
|
|
|
|
2016-08-25 13:59:19 +00:00
|
|
|
# Watchdog controllers
|
|
|
|
device aw_wdog # Allwinner Watchdog
|
|
|
|
|
|
|
|
# Power management controllers
|
|
|
|
device axp81x # X-Powers AXP81x PMIC
|
2018-11-28 13:54:39 +00:00
|
|
|
device rk805 # RockChip RK805 PMIC
|
2016-08-25 13:59:19 +00:00
|
|
|
|
2016-09-03 15:26:00 +00:00
|
|
|
# EFUSE
|
|
|
|
device aw_sid # Allwinner Secure ID EFUSE
|
|
|
|
|
|
|
|
# Thermal sensors
|
|
|
|
device aw_thermal # Allwinner Thermal Sensor Controller
|
2018-12-12 22:33:05 +00:00
|
|
|
device mv_thermal # Marvell Thermal Sensor Controller
|
2016-09-03 15:26:00 +00:00
|
|
|
|
2016-10-18 23:48:47 +00:00
|
|
|
# SPI
|
|
|
|
device spibus
|
2019-12-06 12:55:39 +00:00
|
|
|
device a37x0_spi # Marvell Armada 37x0 SPI Controller
|
2016-10-18 23:48:47 +00:00
|
|
|
device bcm2835_spi # Broadcom BCM283x SPI bus
|
2019-10-25 21:38:38 +00:00
|
|
|
device rk_spi # RockChip SPI controller
|
2016-10-18 23:48:47 +00:00
|
|
|
|
2018-12-12 20:58:43 +00:00
|
|
|
# PWM
|
|
|
|
device pwm
|
|
|
|
device aw_pwm
|
2020-01-16 21:25:13 +00:00
|
|
|
device rk_pwm
|
2018-12-12 20:58:43 +00:00
|
|
|
|
2016-10-18 23:48:47 +00:00
|
|
|
# Console
|
|
|
|
device vt
|
|
|
|
device kbdmux
|
|
|
|
|
2018-07-19 21:59:52 +00:00
|
|
|
device vt_efifb
|
|
|
|
|
2018-11-26 17:59:25 +00:00
|
|
|
# EVDEV support
|
|
|
|
device evdev # input event device support
|
|
|
|
options EVDEV_SUPPORT # evdev support in legacy drivers
|
|
|
|
device uinput # install /dev/uinput cdev
|
2019-04-20 03:21:47 +00:00
|
|
|
device aw_cir
|
2018-11-26 17:59:25 +00:00
|
|
|
|
2015-04-13 14:43:10 +00:00
|
|
|
# Pseudo devices.
|
2018-08-18 20:32:08 +00:00
|
|
|
device crypto # core crypto support
|
2015-04-13 14:43:10 +00:00
|
|
|
device loop # Network loopback
|
|
|
|
device ether # Ethernet support
|
|
|
|
device vlan # 802.1Q VLAN support
|
tun/tap: merge and rename to `tuntap`
tun(4) and tap(4) share the same general management interface and have a lot
in common. Bugs exist in tap(4) that have been fixed in tun(4), and
vice-versa. Let's reduce the maintenance requirements by merging them
together and using flags to differentiate between the three interface types
(tun, tap, vmnet).
This fixes a couple of tap(4)/vmnet(4) issues right out of the gate:
- tap devices may no longer be destroyed while they're open [0]
- VIMAGE issues already addressed in tun by kp
[0] emaste had removed an easy-panic-button in r240938 due to devdrn
blocking. A naive glance over this leads me to believe that this isn't quite
complete -- destroy_devl will only block while executing d_* functions, but
doesn't block the device from being destroyed while a process has it open.
The latter is the intent of the condvar in tun, so this is "fixed" (for
certain definitions of the word -- it wasn't really broken in tap, it just
wasn't quite ideal).
ifconfig(8) also grew the ability to map an interface name to a kld, so
that `ifconfig {tun,tap}0` can continue to autoload the correct module, and
`ifconfig vmnet0 create` will now autoload the correct module. This is a
low overhead addition.
(MFC commentary)
This may get MFC'd if many bugs in tun(4)/tap(4) are discovered after this,
and how critical they are. Changes after this are likely easily MFC'd
without taking this merge, but the merge will be easier.
I have no plans to do this MFC as of now.
Reviewed by: bcr (manpages), tuexen (testing, syzkaller/packetdrill)
Input also from: melifaro
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D20044
2019-05-08 02:32:11 +00:00
|
|
|
device tuntap # Packet tunnel.
|
2015-04-13 14:43:10 +00:00
|
|
|
device md # Memory "disks"
|
|
|
|
device gif # IPv6 and IPv4 tunneling
|
|
|
|
device firmware # firmware assist module
|
2017-11-21 17:23:16 +00:00
|
|
|
options EFIRT # EFI Runtime Services
|
2015-04-13 14:43:10 +00:00
|
|
|
|
2016-08-25 13:59:19 +00:00
|
|
|
# EXT_RESOURCES pseudo devices
|
|
|
|
options EXT_RESOURCES
|
|
|
|
device clk
|
|
|
|
device phy
|
|
|
|
device hwreset
|
2018-07-31 19:08:24 +00:00
|
|
|
device nvmem
|
2016-08-25 13:59:19 +00:00
|
|
|
device regulator
|
2018-01-04 22:37:15 +00:00
|
|
|
device syscon
|
2018-08-19 18:55:33 +00:00
|
|
|
device aw_syscon
|
2016-08-25 13:59:19 +00:00
|
|
|
|
2019-12-28 15:30:50 +00:00
|
|
|
# IO Domains
|
|
|
|
device rk_iodomain
|
|
|
|
|
2015-04-13 14:43:10 +00:00
|
|
|
# The `bpf' device enables the Berkeley Packet Filter.
|
|
|
|
# Be aware of the administrative consequences of enabling this!
|
|
|
|
# Note that 'bpf' is required for DHCP.
|
|
|
|
device bpf # Berkeley packet filter
|
|
|
|
|
2015-07-31 10:00:45 +00:00
|
|
|
# Chip-specific errata
|
|
|
|
options THUNDERX_PASS_1_1_ERRATA
|
|
|
|
|
2015-04-13 14:43:10 +00:00
|
|
|
options FDT
|
2016-12-12 18:13:03 +00:00
|
|
|
device acpi
|
2018-08-23 13:25:32 +00:00
|
|
|
|
|
|
|
# DTBs
|
2020-07-01 00:33:16 +00:00
|
|
|
makeoptions MODULES_EXTRA="dtb/allwinner dtb/imx8 dtb/mv dtb/rockchip dtb/rpi"
|