1e5acd89cSAndrew Turner# 2e5acd89cSAndrew Turner# GENERIC -- Generic kernel configuration file for FreeBSD/arm64 3e5acd89cSAndrew Turner# 4e5acd89cSAndrew Turner# For more information on this file, please read the config(5) manual page, 5e5acd89cSAndrew Turner# and/or the handbook section on Kernel Configuration Files: 6e5acd89cSAndrew Turner# 7e5acd89cSAndrew Turner# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8e5acd89cSAndrew Turner# 9e5acd89cSAndrew Turner# The handbook is also available locally in /usr/share/doc/handbook 10e5acd89cSAndrew Turner# if you've installed the doc distribution, otherwise always see the 11e5acd89cSAndrew Turner# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12e5acd89cSAndrew Turner# latest information. 13e5acd89cSAndrew Turner# 14e5acd89cSAndrew Turner# An exhaustive list of options and more detailed explanations of the 15e5acd89cSAndrew Turner# device lines is also present in the ../../conf/NOTES and NOTES files. 16e5acd89cSAndrew Turner# If you are in doubt as to the purpose or necessity of a line, check first 17e5acd89cSAndrew Turner# in NOTES. 18e5acd89cSAndrew Turner# 19e5acd89cSAndrew Turner# $FreeBSD$ 20e5acd89cSAndrew Turner 21e5acd89cSAndrew Turnercpu ARM64 22e5acd89cSAndrew Turnerident GENERIC 23e5acd89cSAndrew Turner 24e5acd89cSAndrew Turnermakeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 25598cd164SEd Mastemakeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 26e5acd89cSAndrew Turner 27e5acd89cSAndrew Turneroptions SCHED_ULE # ULE scheduler 28e5acd89cSAndrew Turneroptions PREEMPTION # Enable kernel thread preemption 29e5acd89cSAndrew Turneroptions INET # InterNETworking 30e5acd89cSAndrew Turneroptions INET6 # IPv6 communications protocols 313839369cSGeorge V. Neville-Neiloptions IPSEC # IP (v4/v6) security 32*9d0ec2a9SJosh Paetzeloptions IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 33bd79708dSJonathan T. Looneyoptions TCP_HHOOK # hhook(9) framework for TCP 34e5acd89cSAndrew Turneroptions TCP_OFFLOAD # TCP offload 35e5acd89cSAndrew Turneroptions SCTP # Stream Control Transmission Protocol 36e5acd89cSAndrew Turneroptions FFS # Berkeley Fast Filesystem 37e5acd89cSAndrew Turneroptions SOFTUPDATES # Enable FFS soft updates support 38e5acd89cSAndrew Turneroptions UFS_ACL # Support for access control lists 39e5acd89cSAndrew Turneroptions UFS_DIRHASH # Improve performance on big directories 40e5acd89cSAndrew Turneroptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 41e5acd89cSAndrew Turneroptions QUOTA # Enable disk quotas for UFS 42e5acd89cSAndrew Turneroptions MD_ROOT # MD is a potential root device 4322a00274SEd Masteoptions NFSCL # Network Filesystem Client 4422a00274SEd Masteoptions NFSD # Network Filesystem Server 45e5acd89cSAndrew Turneroptions NFSLOCKD # Network Lock Manager 46e5acd89cSAndrew Turneroptions NFS_ROOT # NFS usable as /, requires NFSCL 47e5acd89cSAndrew Turneroptions MSDOSFS # MSDOS Filesystem 48e5acd89cSAndrew Turneroptions CD9660 # ISO 9660 Filesystem 49e5acd89cSAndrew Turneroptions PROCFS # Process filesystem (requires PSEUDOFS) 50e5acd89cSAndrew Turneroptions PSEUDOFS # Pseudo-filesystem framework 51e5acd89cSAndrew Turneroptions GEOM_PART_GPT # GUID Partition Tables. 52e5acd89cSAndrew Turneroptions GEOM_RAID # Soft RAID functionality. 53e5acd89cSAndrew Turneroptions GEOM_LABEL # Provides labelization 5455b78354SKonstantin Belousovoptions COMPAT_FREEBSD11 # Compatible with FreeBSD11 55e5acd89cSAndrew Turneroptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 56e5acd89cSAndrew Turneroptions KTRACE # ktrace(1) support 57e5acd89cSAndrew Turneroptions STACK # stack(9) support 58e5acd89cSAndrew Turneroptions SYSVSHM # SYSV-style shared memory 59e5acd89cSAndrew Turneroptions SYSVMSG # SYSV-style message queues 60e5acd89cSAndrew Turneroptions SYSVSEM # SYSV-style semaphores 61e5acd89cSAndrew Turneroptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 62e5acd89cSAndrew Turneroptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 63e5acd89cSAndrew Turneroptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 64e5acd89cSAndrew Turneroptions HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 65e5acd89cSAndrew Turneroptions AUDIT # Security event auditing 66e5acd89cSAndrew Turneroptions CAPABILITY_MODE # Capsicum capability mode 67e5acd89cSAndrew Turneroptions CAPABILITIES # Capsicum capabilities 68e5acd89cSAndrew Turneroptions MAC # TrustedBSD MAC Framework 69e5acd89cSAndrew Turneroptions KDTRACE_FRAME # Ensure frames are compiled in 70e5acd89cSAndrew Turneroptions KDTRACE_HOOKS # Kernel DTrace hooks 71e5acd89cSAndrew Turneroptions VFP # Floating-point support 72ba8f0eb8SEdward Tomasz Napieralaoptions RACCT # Resource accounting framework 73ba8f0eb8SEdward Tomasz Napieralaoptions RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 74ba8f0eb8SEdward Tomasz Napieralaoptions RCTL # Resource limits 75b2b55077SAndrew Turneroptions SMP 7604ff877eSAndrew Turneroptions INTRNG 77e5acd89cSAndrew Turner 78a380ef6aSAndrew Turner# Debugging support. Always need this: 79a380ef6aSAndrew Turneroptions KDB # Enable kernel debugger support. 80a380ef6aSAndrew Turneroptions KDB_TRACE # Print a stack trace for a panic. 81a380ef6aSAndrew Turner# For full debugger support use (turn off in stable branch): 82a380ef6aSAndrew Turneroptions DDB # Support DDB. 83a380ef6aSAndrew Turner#options GDB # Support remote GDB. 84a380ef6aSAndrew Turneroptions DEADLKRES # Enable the deadlock resolver 85a380ef6aSAndrew Turneroptions INVARIANTS # Enable calls of extra sanity checking 86a380ef6aSAndrew Turneroptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 87a380ef6aSAndrew Turneroptions WITNESS # Enable checks to detect deadlocks and cycles 88a380ef6aSAndrew Turneroptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 89a380ef6aSAndrew Turneroptions MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 90a380ef6aSAndrew Turner 9175e0dfe3SAndrew Turner# SoC support 921567e084SJared McNeilloptions SOC_ALLWINNER_A64 9348ee5318SEmmanuel Vadotoptions SOC_ALLWINNER_H5 9475e0dfe3SAndrew Turneroptions SOC_CAVM_THUNDERX 95bbbde6d8SAndrew Turneroptions SOC_HISI_HI6220 969153cbffSOleksandr Tymoshenkooptions SOC_BRCM_BCM2837 9775e0dfe3SAndrew Turner 989d6cd3d8SWojciech Macek# Annapurna Alpine drivers 999d6cd3d8SWojciech Macekdevice al_ccu # Alpine Cache Coherency Unit 1009d6cd3d8SWojciech Macekdevice al_nb_service # Alpine North Bridge Service 1017902c8dcSWojciech Macekdevice al_iofic # I/O Fabric Interrupt Controller 1027902c8dcSWojciech Macekdevice al_serdes # Serializer/Deserializer 1037902c8dcSWojciech Macekdevice al_udma # Universal DMA 1049d6cd3d8SWojciech Macek 105ed33af42SAndrew Turner# VirtIO support 106e5acd89cSAndrew Turnerdevice virtio 107de5cef65SJayachandran C.device virtio_pci 108e5acd89cSAndrew Turnerdevice virtio_mmio 109e5acd89cSAndrew Turnerdevice virtio_blk 110e5acd89cSAndrew Turnerdevice vtnet 111e5acd89cSAndrew Turner 1120fbb0171SJared McNeill# CPU frequency control 1130fbb0171SJared McNeilldevice cpufreq 1140fbb0171SJared McNeill 115d943d79aSZbigniew Bodek# Bus drivers 116d943d79aSZbigniew Bodekdevice pci 117988d9b35SWojciech Macekdevice al_pci # Annapurna Alpine PCI-E 11882cb5c3bSJohn Baldwinoptions PCI_HP # PCI-Express native HotPlug 11922a00274SEd Masteoptions PCI_IOV # PCI SR-IOV support 120d943d79aSZbigniew Bodek 1216ff9127bSZbigniew Bodek# Ethernet NICs 1226ff9127bSZbigniew Bodekdevice mii 1236ff9127bSZbigniew Bodekdevice miibus # MII bus support 1241567e084SJared McNeilldevice awg # Allwinner EMAC Gigabit Ethernet 1259c6d6488SAndrew Turnerdevice axgbe # AMD Opteron A1100 integrated NIC 126a38fc8caSAndrew Turnerdevice em # Intel PRO/1000 Gigabit Ethernet Family 1270422bce8SWojciech Macekdevice ix # Intel 10Gb Ethernet Family 128a38fc8caSAndrew Turnerdevice msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 129b1895f72SAndrew Turnerdevice smc # SMSC LAN91C111 130a38fc8caSAndrew Turnerdevice vnic # Cavium ThunderX NIC 1317902c8dcSWojciech Macekdevice al_eth # Annapurna Alpine Ethernet NIC 1326ff9127bSZbigniew Bodek 1336ff9127bSZbigniew Bodek# Block devices 1346ff9127bSZbigniew Bodekdevice ahci 1356ff9127bSZbigniew Bodekdevice scbus 1366ff9127bSZbigniew Bodekdevice da 1376ff9127bSZbigniew Bodek 1382ed39a22SEd Maste# ATA/SCSI peripherals 1392ed39a22SEd Mastedevice pass # Passthrough device (direct ATA/SCSI access) 1402ed39a22SEd Maste 141c0e5e172SAndrew Turner# MMC/SD/SDIO Card slot support 142232de4a9SOleksandr Tymoshenkodevice sdhci 1431567e084SJared McNeilldevice aw_mmc # Allwinner SD/MMC controller 144c0e5e172SAndrew Turnerdevice mmc # mmc/sd bus 145c0e5e172SAndrew Turnerdevice mmcsd # mmc/sd flash cards 146c0e5e172SAndrew Turnerdevice dwmmc 147c0e5e172SAndrew Turner 148e5acd89cSAndrew Turner# Serial (COM) ports 149e5acd89cSAndrew Turnerdevice uart # Generic UART driver 15030d92874SWojciech Macekdevice uart_ns8250 # ns8250-type UART driver 1511567e084SJared McNeilldevice uart_snps 152e5acd89cSAndrew Turnerdevice pl011 153e5acd89cSAndrew Turner 154504a0067SAndrew Turner# USB support 155504a0067SAndrew Turneroptions USB_DEBUG # enable debug msgs 1561567e084SJared McNeilldevice aw_ehci # Allwinner EHCI USB interface (USB 2.0) 1571567e084SJared McNeilldevice aw_usbphy # Allwinner USB PHY 158504a0067SAndrew Turnerdevice dwcotg # DWC OTG controller 1591567e084SJared McNeilldevice ohci # OHCI USB interface 1601567e084SJared McNeilldevice ehci # EHCI USB interface (USB 2.0) 1619b76bf99SEd Mastedevice xhci # XHCI PCI->USB interface (USB 3.0) 162504a0067SAndrew Turnerdevice usb # USB Bus (required) 1639b76bf99SEd Mastedevice ukbd # Keyboard 1649b76bf99SEd Mastedevice umass # Disks/Mass storage - Requires scbus and da 165504a0067SAndrew Turner 166232de4a9SOleksandr Tymoshenko# USB ethernet support 167232de4a9SOleksandr Tymoshenkodevice smcphy 168232de4a9SOleksandr Tymoshenkodevice smsc 169232de4a9SOleksandr Tymoshenko 1701567e084SJared McNeill# GPIO 1711567e084SJared McNeilldevice aw_gpio # Allwinner GPIO controller 1721567e084SJared McNeilldevice gpio 173232de4a9SOleksandr Tymoshenkodevice gpioled 1741567e084SJared McNeilldevice fdt_pinctrl 1751567e084SJared McNeill 1761567e084SJared McNeill# I2C 1771567e084SJared McNeilldevice aw_rsb # Allwinner Reduced Serial Bus 178232de4a9SOleksandr Tymoshenkodevice bcm2835_bsc # Broadcom BCM283x I2C bus 1791567e084SJared McNeilldevice iicbus 180480c955cSWarner Loshdevice iic 1810166fb5dSEmmanuel Vadotdevice twsi # Allwinner I2C controller 1821567e084SJared McNeill 1831567e084SJared McNeill# Clock and reset controllers 1841567e084SJared McNeilldevice aw_ccu # Allwinner clock controller 1851567e084SJared McNeill 1861567e084SJared McNeill# Interrupt controllers 1871567e084SJared McNeilldevice aw_nmi # Allwinner NMI support 1881567e084SJared McNeill 1891567e084SJared McNeill# Real-time clock support 1901567e084SJared McNeilldevice aw_rtc # Allwinner Real-time Clock 1911567e084SJared McNeill 1921567e084SJared McNeill# Watchdog controllers 1931567e084SJared McNeilldevice aw_wdog # Allwinner Watchdog 1941567e084SJared McNeill 1951567e084SJared McNeill# Power management controllers 1961567e084SJared McNeilldevice axp81x # X-Powers AXP81x PMIC 1971567e084SJared McNeill 198d69d5ab0SJared McNeill# EFUSE 199d69d5ab0SJared McNeilldevice aw_sid # Allwinner Secure ID EFUSE 200d69d5ab0SJared McNeill 201d69d5ab0SJared McNeill# Thermal sensors 202d69d5ab0SJared McNeilldevice aw_thermal # Allwinner Thermal Sensor Controller 203d69d5ab0SJared McNeill 204232de4a9SOleksandr Tymoshenko# SPI 205232de4a9SOleksandr Tymoshenkodevice spibus 206232de4a9SOleksandr Tymoshenkodevice bcm2835_spi # Broadcom BCM283x SPI bus 207232de4a9SOleksandr Tymoshenko 208232de4a9SOleksandr Tymoshenko# Console 209232de4a9SOleksandr Tymoshenkodevice vt 210232de4a9SOleksandr Tymoshenkodevice kbdmux 211232de4a9SOleksandr Tymoshenko 212e5acd89cSAndrew Turner# Pseudo devices. 213e5acd89cSAndrew Turnerdevice loop # Network loopback 214e5acd89cSAndrew Turnerdevice random # Entropy device 215e5acd89cSAndrew Turnerdevice ether # Ethernet support 216e5acd89cSAndrew Turnerdevice vlan # 802.1Q VLAN support 217e5acd89cSAndrew Turnerdevice tun # Packet tunnel. 218e5acd89cSAndrew Turnerdevice md # Memory "disks" 219e5acd89cSAndrew Turnerdevice gif # IPv6 and IPv4 tunneling 220e5acd89cSAndrew Turnerdevice firmware # firmware assist module 2217d9cff3dSAndrew Turnerdevice psci # Support for ARM PSCI 222e5acd89cSAndrew Turner 2231567e084SJared McNeill# EXT_RESOURCES pseudo devices 2241567e084SJared McNeilloptions EXT_RESOURCES 2251567e084SJared McNeilldevice clk 2261567e084SJared McNeilldevice phy 2271567e084SJared McNeilldevice hwreset 2281567e084SJared McNeilldevice regulator 2291567e084SJared McNeill 230e5acd89cSAndrew Turner# The `bpf' device enables the Berkeley Packet Filter. 231e5acd89cSAndrew Turner# Be aware of the administrative consequences of enabling this! 232e5acd89cSAndrew Turner# Note that 'bpf' is required for DHCP. 233e5acd89cSAndrew Turnerdevice bpf # Berkeley packet filter 234e5acd89cSAndrew Turner 235a2b3dfadSZbigniew Bodek# Chip-specific errata 236a2b3dfadSZbigniew Bodekoptions THUNDERX_PASS_1_1_ERRATA 237a2b3dfadSZbigniew Bodek 238e5acd89cSAndrew Turneroptions FDT 239adca4ffcSAndrew Turnerdevice acpi 2403839369cSGeorge V. Neville-Neil 241f4c1eac7SChristian Brueffer# The crypto framework is required by IPSEC 2423839369cSGeorge V. Neville-Neildevice crypto # Required by IPSEC 243