]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm64/conf/GENERIC
Add muge(4) to the arm64 GENERIC kernel
[FreeBSD/FreeBSD.git] / sys / arm64 / conf / GENERIC
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 #    https://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 (https://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
21 cpu             ARM64
22 ident           GENERIC
23
24 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
25 makeoptions     WITH_CTF=1              # Run ctfconvert(1) for DTrace support
26
27 options         SCHED_ULE               # ULE scheduler
28 options         PREEMPTION              # Enable kernel thread preemption
29 options         VIMAGE                  # Subsystem virtualization, e.g. VNET
30 options         INET                    # InterNETworking
31 options         INET6                   # IPv6 communications protocols
32 options         IPSEC                   # IP (v4/v6) security
33 options         IPSEC_SUPPORT           # Allow kldload of ipsec and tcpmd5
34 options         TCP_HHOOK               # hhook(9) framework for TCP
35 options         TCP_OFFLOAD             # TCP offload
36 options         TCP_RFC7413             # TCP Fast Open
37 options         SCTP                    # Stream Control Transmission Protocol
38 options         FFS                     # Berkeley Fast Filesystem
39 options         SOFTUPDATES             # Enable FFS soft updates support
40 options         UFS_ACL                 # Support for access control lists
41 options         UFS_DIRHASH             # Improve performance on big directories
42 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
43 options         QUOTA                   # Enable disk quotas for UFS
44 options         MD_ROOT                 # MD is a potential root device
45 options         NFSCL                   # Network Filesystem Client
46 options         NFSD                    # Network Filesystem Server
47 options         NFSLOCKD                # Network Lock Manager
48 options         NFS_ROOT                # NFS usable as /, requires NFSCL
49 options         MSDOSFS                 # MSDOS Filesystem
50 options         CD9660                  # ISO 9660 Filesystem
51 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
52 options         PSEUDOFS                # Pseudo-filesystem framework
53 options         GEOM_PART_GPT           # GUID Partition Tables.
54 options         GEOM_RAID               # Soft RAID functionality.
55 options         GEOM_LABEL              # Provides labelization
56 options         COMPAT_FREEBSD32        # Incomplete, but used by cloudabi32.ko.
57 options         COMPAT_FREEBSD11        # Compatible with FreeBSD11
58 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
59 options         KTRACE                  # ktrace(1) support
60 options         STACK                   # stack(9) support
61 options         SYSVSHM                 # SYSV-style shared memory
62 options         SYSVMSG                 # SYSV-style message queues
63 options         SYSVSEM                 # SYSV-style semaphores
64 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
66 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
67 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
68 options         AUDIT                   # Security event auditing
69 options         CAPABILITY_MODE         # Capsicum capability mode
70 options         CAPABILITIES            # Capsicum capabilities
71 options         MAC                     # TrustedBSD MAC Framework
72 options         KDTRACE_FRAME           # Ensure frames are compiled in
73 options         KDTRACE_HOOKS           # Kernel DTrace hooks
74 options         VFP                     # Floating-point support
75 options         RACCT                   # Resource accounting framework
76 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
77 options         RCTL                    # Resource limits
78 options         SMP
79 options         INTRNG
80
81 # Debugging support.  Always need this:
82 options         KDB                     # Enable kernel debugger support.
83 options         KDB_TRACE               # Print a stack trace for a panic.
84 # For full debugger support use (turn off in stable branch):
85 options         DDB                     # Support DDB.
86 #options        GDB                     # Support remote GDB.
87 options         DEADLKRES               # Enable the deadlock resolver
88 options         INVARIANTS              # Enable calls of extra sanity checking
89 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
90 options         WITNESS                 # Enable checks to detect deadlocks and cycles
91 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
92 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
93 options         ALT_BREAK_TO_DEBUGGER   # Enter debugger on keyboard escape sequence
94 options         USB_DEBUG               # enable debug msgs
95
96 # Kernel dump features.
97 options         EKCD                    # Support for encrypted kernel dumps
98 options         GZIO                    # gzip-compressed kernel and user dumps
99 options         ZSTDIO                  # zstd-compressed kernel and user dumps
100 options         NETDUMP                 # netdump(4) client support
101
102 # SoC support
103 options         SOC_ALLWINNER_A64
104 options         SOC_ALLWINNER_H5
105 options         SOC_CAVM_THUNDERX
106 options         SOC_HISI_HI6220
107 options         SOC_BRCM_BCM2837
108 options         SOC_ROCKCHIP_RK3328
109 options         SOC_XILINX_ZYNQ
110
111 # Annapurna Alpine drivers
112 device          al_ccu                  # Alpine Cache Coherency Unit
113 device          al_nb_service           # Alpine North Bridge Service
114 device          al_iofic                # I/O Fabric Interrupt Controller
115 device          al_serdes               # Serializer/Deserializer
116 device          al_udma                 # Universal DMA
117
118 # Qualcomm Snapdragon drivers
119 device          qcom_gcc                # Global Clock Controller
120
121 # VirtIO support
122 device          virtio
123 device          virtio_pci
124 device          virtio_mmio
125 device          virtio_blk
126 device          vtnet
127
128 # CPU frequency control
129 device          cpufreq
130
131 # Bus drivers
132 device          pci
133 device          al_pci          # Annapurna Alpine PCI-E
134 options         PCI_HP                  # PCI-Express native HotPlug
135 options         PCI_IOV         # PCI SR-IOV support
136
137 # Ethernet NICs
138 device          mdio
139 device          mii
140 device          miibus          # MII bus support
141 device          awg             # Allwinner EMAC Gigabit Ethernet
142 device          axgbe           # AMD Opteron A1100 integrated NIC
143 device          em              # Intel PRO/1000 Gigabit Ethernet Family
144 device          ix              # Intel 10Gb Ethernet Family
145 device          msk             # Marvell/SysKonnect Yukon II Gigabit Ethernet
146 device          neta            # Marvell Armada 370/38x/XP/3700 NIC
147 device          smc             # SMSC LAN91C111
148 device          vnic            # Cavium ThunderX NIC
149 device          al_eth          # Annapurna Alpine Ethernet NIC
150 device          dwc_rk          # Rockchip Designware
151
152 # Block devices
153 device          ahci
154 device          scbus
155 device          da
156
157 # ATA/SCSI peripherals
158 device          pass            # Passthrough device (direct ATA/SCSI access)
159
160 # MMC/SD/SDIO Card slot support
161 device          sdhci
162 device          sdhci_xenon             # Marvell Xenon SD/MMC controller
163 device          aw_mmc                  # Allwinner SD/MMC controller
164 device          mmc                     # mmc/sd bus
165 device          mmcsd                   # mmc/sd flash cards
166 device          dwmmc
167
168 # Serial (COM) ports
169 device          uart            # Generic UART driver
170 device          uart_msm        # Qualcomm MSM UART driver
171 device          uart_mu         # RPI3 aux port
172 device          uart_mvebu      # Armada 3700 UART driver
173 device          uart_ns8250     # ns8250-type UART driver
174 device          uart_snps
175 device          pl011
176
177 # USB support
178 device          aw_ehci                 # Allwinner EHCI USB interface (USB 2.0)
179 device          aw_usbphy               # Allwinner USB PHY
180 device          dwcotg                  # DWC OTG controller
181 device          ohci                    # OHCI USB interface
182 device          ehci                    # EHCI USB interface (USB 2.0)
183 device          ehci_mv                 # Marvell EHCI USB interface
184 device          xhci                    # XHCI PCI->USB interface (USB 3.0)
185 device          xhci_mv                 # Marvell XHCI USB interface
186 device          usb                     # USB Bus (required)
187 device          ukbd                    # Keyboard
188 device          umass                   # Disks/Mass storage - Requires scbus and da
189
190 # USB ethernet support
191 device          muge
192 device          smcphy
193 device          smsc
194
195 # GPIO
196 device          aw_gpio         # Allwinner GPIO controller
197 device          gpio
198 device          gpioled
199 device          fdt_pinctrl
200
201 # I2C
202 device          aw_rsb          # Allwinner Reduced Serial Bus
203 device          bcm2835_bsc     # Broadcom BCM283x I2C bus
204 device          iicbus
205 device          iic
206 device          twsi            # Allwinner I2C controller
207
208 # Clock and reset controllers
209 device          aw_ccu          # Allwinner clock controller
210
211 # Interrupt controllers
212 device          aw_nmi          # Allwinner NMI support
213
214 # Real-time clock support
215 device          aw_rtc          # Allwinner Real-time Clock
216 device          mv_rtc          # Marvell Real-time Clock
217
218 # Watchdog controllers
219 device          aw_wdog         # Allwinner Watchdog
220
221 # Power management controllers
222 device          axp81x          # X-Powers AXP81x PMIC
223
224 # EFUSE
225 device          aw_sid          # Allwinner Secure ID EFUSE
226
227 # Thermal sensors
228 device          aw_thermal      # Allwinner Thermal Sensor Controller
229
230 # SPI
231 device          spibus
232 device          bcm2835_spi     # Broadcom BCM283x SPI bus
233
234 # Console
235 device          vt
236 device          kbdmux
237
238 device          vt_efifb
239
240 # Pseudo devices.
241 device          crypto          # core crypto support
242 device          loop            # Network loopback
243 device          random          # Entropy device
244 device          ether           # Ethernet support
245 device          vlan            # 802.1Q VLAN support
246 device          tun             # Packet tunnel.
247 device          md              # Memory "disks"
248 device          gif             # IPv6 and IPv4 tunneling
249 device          firmware        # firmware assist module
250 options         EFIRT           # EFI Runtime Services
251
252 # EXT_RESOURCES pseudo devices
253 options         EXT_RESOURCES
254 device          clk
255 device          phy
256 device          hwreset
257 device          nvmem
258 device          regulator
259 device          syscon
260 device          aw_syscon
261
262 # The `bpf' device enables the Berkeley Packet Filter.
263 # Be aware of the administrative consequences of enabling this!
264 # Note that 'bpf' is required for DHCP.
265 device          bpf             # Berkeley packet filter
266
267 # Chip-specific errata
268 options         THUNDERX_PASS_1_1_ERRATA
269
270 options         FDT
271 device          acpi