2 # GENERIC -- Generic kernel configuration file for FreeBSD/arm64
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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
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
24 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
25 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
27 options SCHED_ULE # ULE scheduler
28 options PREEMPTION # Enable kernel thread preemption
29 options INET # InterNETworking
30 options INET6 # IPv6 communications protocols
31 options IPSEC # IP (v4/v6) security
32 options TCP_HHOOK # hhook(9) framework for TCP
33 options TCP_OFFLOAD # TCP offload
34 options SCTP # Stream Control Transmission Protocol
35 options FFS # Berkeley Fast Filesystem
36 options SOFTUPDATES # Enable FFS soft updates support
37 options UFS_ACL # Support for access control lists
38 options UFS_DIRHASH # Improve performance on big directories
39 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
40 options QUOTA # Enable disk quotas for UFS
41 options MD_ROOT # MD is a potential root device
42 options NFSCL # Network Filesystem Client
43 options NFSD # Network Filesystem Server
44 options NFSLOCKD # Network Lock Manager
45 options NFS_ROOT # NFS usable as /, requires NFSCL
46 options MSDOSFS # MSDOS Filesystem
47 options CD9660 # ISO 9660 Filesystem
48 options PROCFS # Process filesystem (requires PSEUDOFS)
49 options PSEUDOFS # Pseudo-filesystem framework
50 options GEOM_PART_GPT # GUID Partition Tables.
51 options GEOM_RAID # Soft RAID functionality.
52 options GEOM_LABEL # Provides labelization
53 options COMPAT_FREEBSD11 # Compatible with FreeBSD11
54 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
55 options KTRACE # ktrace(1) support
56 options STACK # stack(9) support
57 options SYSVSHM # SYSV-style shared memory
58 options SYSVMSG # SYSV-style message queues
59 options SYSVSEM # SYSV-style semaphores
60 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
62 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
63 options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
64 options AUDIT # Security event auditing
65 options CAPABILITY_MODE # Capsicum capability mode
66 options CAPABILITIES # Capsicum capabilities
67 options MAC # TrustedBSD MAC Framework
68 options KDTRACE_FRAME # Ensure frames are compiled in
69 options KDTRACE_HOOKS # Kernel DTrace hooks
70 options VFP # Floating-point support
71 options RACCT # Resource accounting framework
72 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
73 options RCTL # Resource limits
77 # Debugging support. Always need this:
78 options KDB # Enable kernel debugger support.
79 options KDB_TRACE # Print a stack trace for a panic.
80 # For full debugger support use (turn off in stable branch):
81 options DDB # Support DDB.
82 #options GDB # Support remote GDB.
83 options DEADLKRES # Enable the deadlock resolver
84 options INVARIANTS # Enable calls of extra sanity checking
85 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
86 options WITNESS # Enable checks to detect deadlocks and cycles
87 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
88 options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
91 options SOC_ALLWINNER_A64
92 options SOC_CAVM_THUNDERX
93 options SOC_HISI_HI6220
94 options SOC_BRCM_BCM2837
96 # Annapurna Alpine drivers
97 device al_ccu # Alpine Cache Coherency Unit
98 device al_nb_service # Alpine North Bridge Service
99 device al_iofic # I/O Fabric Interrupt Controller
100 device al_serdes # Serializer/Deserializer
101 device al_udma # Universal DMA
110 # CPU frequency control
115 device al_pci # Annapurna Alpine PCI-E
116 options PCI_HP # PCI-Express native HotPlug
117 options PCI_IOV # PCI SR-IOV support
121 device miibus # MII bus support
122 device awg # Allwinner EMAC Gigabit Ethernet
123 device axgbe # AMD Opteron A1100 integrated NIC
124 device em # Intel PRO/1000 Gigabit Ethernet Family
125 device ix # Intel 10Gb Ethernet Family
126 device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
127 device smc # SMSC LAN91C111
128 device vnic # Cavium ThunderX NIC
129 device al_eth # Annapurna Alpine Ethernet NIC
136 # ATA/SCSI peripherals
137 device pass # Passthrough device (direct ATA/SCSI access)
139 # MMC/SD/SDIO Card slot support
141 device aw_mmc # Allwinner SD/MMC controller
142 device mmc # mmc/sd bus
143 device mmcsd # mmc/sd flash cards
147 device uart # Generic UART driver
148 device uart_ns8250 # ns8250-type UART driver
153 options USB_DEBUG # enable debug msgs
154 device aw_ehci # Allwinner EHCI USB interface (USB 2.0)
155 device aw_usbphy # Allwinner USB PHY
156 device dwcotg # DWC OTG controller
157 device ohci # OHCI USB interface
158 device ehci # EHCI USB interface (USB 2.0)
159 device xhci # XHCI PCI->USB interface (USB 3.0)
160 device usb # USB Bus (required)
161 device ukbd # Keyboard
162 device umass # Disks/Mass storage - Requires scbus and da
164 # USB ethernet support
169 device aw_gpio # Allwinner GPIO controller
175 device aw_rsb # Allwinner Reduced Serial Bus
176 device bcm2835_bsc # Broadcom BCM283x I2C bus
179 device twsi # Allwinner I2C controller
181 # Clock and reset controllers
182 device aw_ccu # Allwinner clock controller
184 # Interrupt controllers
185 device aw_nmi # Allwinner NMI support
187 # Real-time clock support
188 device aw_rtc # Allwinner Real-time Clock
190 # Watchdog controllers
191 device aw_wdog # Allwinner Watchdog
193 # Power management controllers
194 device axp81x # X-Powers AXP81x PMIC
197 device aw_sid # Allwinner Secure ID EFUSE
200 device aw_thermal # Allwinner Thermal Sensor Controller
204 device bcm2835_spi # Broadcom BCM283x SPI bus
211 device loop # Network loopback
212 device random # Entropy device
213 device ether # Ethernet support
214 device vlan # 802.1Q VLAN support
215 device tun # Packet tunnel.
216 device md # Memory "disks"
217 device gif # IPv6 and IPv4 tunneling
218 device firmware # firmware assist module
219 device psci # Support for ARM PSCI
221 # EXT_RESOURCES pseudo devices
222 options EXT_RESOURCES
228 # The `bpf' device enables the Berkeley Packet Filter.
229 # Be aware of the administrative consequences of enabling this!
230 # Note that 'bpf' is required for DHCP.
231 device bpf # Berkeley packet filter
233 # Chip-specific errata
234 options THUNDERX_PASS_1_1_ERRATA
239 # The crypto framework is required by IPSEC
240 device crypto # Required by IPSEC