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_OFFLOAD # TCP offload
33 options SCTP # Stream Control Transmission Protocol
34 options FFS # Berkeley Fast Filesystem
35 options SOFTUPDATES # Enable FFS soft updates support
36 options UFS_ACL # Support for access control lists
37 options UFS_DIRHASH # Improve performance on big directories
38 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
39 options QUOTA # Enable disk quotas for UFS
40 options MD_ROOT # MD is a potential root device
41 options NFSCL # Network Filesystem Client
42 options NFSD # Network Filesystem Server
43 options NFSLOCKD # Network Lock Manager
44 options NFS_ROOT # NFS usable as /, requires NFSCL
45 options MSDOSFS # MSDOS Filesystem
46 options CD9660 # ISO 9660 Filesystem
47 options PROCFS # Process filesystem (requires PSEUDOFS)
48 options PSEUDOFS # Pseudo-filesystem framework
49 options GEOM_PART_GPT # GUID Partition Tables.
50 options GEOM_RAID # Soft RAID functionality.
51 options GEOM_LABEL # Provides labelization
52 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
53 options KTRACE # ktrace(1) support
54 options STACK # stack(9) support
55 options SYSVSHM # SYSV-style shared memory
56 options SYSVMSG # SYSV-style message queues
57 options SYSVSEM # SYSV-style semaphores
58 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
59 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
60 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
61 options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
62 options AUDIT # Security event auditing
63 options CAPABILITY_MODE # Capsicum capability mode
64 options CAPABILITIES # Capsicum capabilities
65 options MAC # TrustedBSD MAC Framework
66 options KDTRACE_FRAME # Ensure frames are compiled in
67 options KDTRACE_HOOKS # Kernel DTrace hooks
68 options VFP # Floating-point support
69 options RACCT # Resource accounting framework
70 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
71 options RCTL # Resource limits
75 # Debugging support. Always need this:
76 options KDB # Enable kernel debugger support.
77 options KDB_TRACE # Print a stack trace for a panic.
78 # For full debugger support use (turn off in stable branch):
79 options DDB # Support DDB.
80 #options GDB # Support remote GDB.
81 options DEADLKRES # Enable the deadlock resolver
82 options INVARIANTS # Enable calls of extra sanity checking
83 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
84 options WITNESS # Enable checks to detect deadlocks and cycles
85 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
86 options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
89 options SOC_ALLWINNER_A64
90 options SOC_CAVM_THUNDERX
91 options SOC_HISI_HI6220
93 # Annapurna Alpine drivers
94 device al_ccu # Alpine Cache Coherency Unit
95 device al_nb_service # Alpine North Bridge Service
103 # CPU frequency control
108 options PCI_HP # PCI-Express native HotPlug
109 options PCI_IOV # PCI SR-IOV support
113 device miibus # MII bus support
114 device awg # Allwinner EMAC Gigabit Ethernet
115 device em # Intel PRO/1000 Gigabit Ethernet Family
116 device igb # Intel PRO/1000 PCIE Server Gigabit Family
117 device ix # Intel 10Gb Ethernet Family
118 device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
119 device vnic # Cavium ThunderX NIC
126 # ATA/SCSI peripherals
127 device pass # Passthrough device (direct ATA/SCSI access)
129 # MMC/SD/SDIO Card slot support
130 device aw_mmc # Allwinner SD/MMC controller
131 device mmc # mmc/sd bus
132 device mmcsd # mmc/sd flash cards
136 device uart # Generic UART driver
137 device uart_ns8250 # ns8250-type UART driver
142 options USB_DEBUG # enable debug msgs
143 device aw_ehci # Allwinner EHCI USB interface (USB 2.0)
144 device aw_usbphy # Allwinner USB PHY
145 device dwcotg # DWC OTG controller
146 device ohci # OHCI USB interface
147 device ehci # EHCI USB interface (USB 2.0)
148 device xhci # XHCI PCI->USB interface (USB 3.0)
149 device usb # USB Bus (required)
150 device ukbd # Keyboard
151 device umass # Disks/Mass storage - Requires scbus and da
154 device aw_gpio # Allwinner GPIO controller
159 device aw_rsb # Allwinner Reduced Serial Bus
162 # Clock and reset controllers
163 device aw_ccu # Allwinner clock controller
165 # Interrupt controllers
166 device aw_nmi # Allwinner NMI support
168 # Real-time clock support
169 device aw_rtc # Allwinner Real-time Clock
171 # Watchdog controllers
172 device aw_wdog # Allwinner Watchdog
174 # Power management controllers
175 device axp81x # X-Powers AXP81x PMIC
178 device aw_sid # Allwinner Secure ID EFUSE
181 device aw_thermal # Allwinner Thermal Sensor Controller
184 device loop # Network loopback
185 device random # Entropy device
186 device ether # Ethernet support
187 device vlan # 802.1Q VLAN support
188 device tun # Packet tunnel.
189 device md # Memory "disks"
190 device gif # IPv6 and IPv4 tunneling
191 device firmware # firmware assist module
192 device psci # Support for ARM PSCI
194 # EXT_RESOURCES pseudo devices
195 options EXT_RESOURCES
201 # The `bpf' device enables the Berkeley Packet Filter.
202 # Be aware of the administrative consequences of enabling this!
203 # Note that 'bpf' is required for DHCP.
204 device bpf # Berkeley packet filter
206 # Chip-specific errata
207 options THUNDERX_PASS_1_1_ERRATA
212 # The crypto framework is required by IPSEC
213 device crypto # Required by IPSEC