]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm64/conf/GENERIC
MFV r308392: file 5.29.
[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 #    http://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 (http://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         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         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
54 options         KTRACE                  # ktrace(1) support
55 options         STACK                   # stack(9) support
56 options         SYSVSHM                 # SYSV-style shared memory
57 options         SYSVMSG                 # SYSV-style message queues
58 options         SYSVSEM                 # SYSV-style semaphores
59 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
61 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
62 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
63 options         AUDIT                   # Security event auditing
64 options         CAPABILITY_MODE         # Capsicum capability mode
65 options         CAPABILITIES            # Capsicum capabilities
66 options         MAC                     # TrustedBSD MAC Framework
67 options         KDTRACE_FRAME           # Ensure frames are compiled in
68 options         KDTRACE_HOOKS           # Kernel DTrace hooks
69 options         VFP                     # Floating-point support
70 options         RACCT                   # Resource accounting framework
71 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
72 options         RCTL                    # Resource limits
73 options         SMP
74 options         INTRNG
75
76 # Debugging support.  Always need this:
77 options         KDB                     # Enable kernel debugger support.
78 options         KDB_TRACE               # Print a stack trace for a panic.
79 # For full debugger support use (turn off in stable branch):
80 options         DDB                     # Support DDB.
81 #options        GDB                     # Support remote GDB.
82 options         DEADLKRES               # Enable the deadlock resolver
83 options         INVARIANTS              # Enable calls of extra sanity checking
84 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
85 options         WITNESS                 # Enable checks to detect deadlocks and cycles
86 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
87 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
88
89 # SoC support
90 options         SOC_ALLWINNER_A64
91 options         SOC_CAVM_THUNDERX
92 options         SOC_HISI_HI6220
93
94 # Annapurna Alpine drivers
95 device          al_ccu                  # Alpine Cache Coherency Unit
96 device          al_nb_service           # Alpine North Bridge Service
97 device          al_iofic                # I/O Fabric Interrupt Controller
98 device          al_serdes               # Serializer/Deserializer
99 device          al_udma                 # Universal DMA
100
101 # VirtIO support
102 device          virtio
103 device          virtio_mmio
104 device          virtio_blk
105 device          vtnet
106
107 # CPU frequency control
108 device          cpufreq
109
110 # Bus drivers
111 device          pci
112 device          al_pci          # Annapurna Alpine PCI-E
113 options         PCI_HP                  # PCI-Express native HotPlug
114 options         PCI_IOV         # PCI SR-IOV support
115
116 # Ethernet NICs
117 device          mii
118 device          miibus          # MII bus support
119 device          awg             # Allwinner EMAC Gigabit Ethernet
120 device          em              # Intel PRO/1000 Gigabit Ethernet Family
121 device          igb             # Intel PRO/1000 PCIE Server Gigabit Family
122 device          ix              # Intel 10Gb Ethernet Family
123 device          msk             # Marvell/SysKonnect Yukon II Gigabit Ethernet
124 device          vnic            # Cavium ThunderX NIC
125 device          al_eth          # Annapurna Alpine Ethernet NIC
126
127 # Block devices
128 device          ahci
129 device          scbus
130 device          da
131
132 # ATA/SCSI peripherals
133 device          pass            # Passthrough device (direct ATA/SCSI access)
134
135 # MMC/SD/SDIO Card slot support
136 device          sdhci
137 device          aw_mmc                  # Allwinner SD/MMC controller
138 device          mmc                     # mmc/sd bus
139 device          mmcsd                   # mmc/sd flash cards
140 device          dwmmc
141
142 # Serial (COM) ports
143 device          uart            # Generic UART driver
144 device          uart_ns8250     # ns8250-type UART driver
145 device          uart_snps
146 device          pl011
147
148 # USB support
149 options         USB_DEBUG               # enable debug msgs
150 device          aw_ehci                 # Allwinner EHCI USB interface (USB 2.0)
151 device          aw_usbphy               # Allwinner USB PHY
152 device          dwcotg                  # DWC OTG controller
153 device          ohci                    # OHCI USB interface
154 device          ehci                    # EHCI USB interface (USB 2.0)
155 device          xhci                    # XHCI PCI->USB interface (USB 3.0)
156 device          usb                     # USB Bus (required)
157 device          ukbd                    # Keyboard
158 device          umass                   # Disks/Mass storage - Requires scbus and da
159
160 # USB ethernet support
161 device          smcphy
162 device          smsc
163
164 # GPIO
165 device          aw_gpio         # Allwinner GPIO controller
166 device          gpio
167 device          gpioled
168 device          fdt_pinctrl
169
170 # I2C
171 device          aw_rsb          # Allwinner Reduced Serial Bus
172 device          bcm2835_bsc     # Broadcom BCM283x I2C bus
173 device          iicbus
174
175 # Clock and reset controllers
176 device          aw_ccu          # Allwinner clock controller
177
178 # Interrupt controllers
179 device          aw_nmi          # Allwinner NMI support
180
181 # Real-time clock support
182 device          aw_rtc          # Allwinner Real-time Clock
183
184 # Watchdog controllers
185 device          aw_wdog         # Allwinner Watchdog
186
187 # Power management controllers
188 device          axp81x          # X-Powers AXP81x PMIC
189
190 # EFUSE
191 device          aw_sid          # Allwinner Secure ID EFUSE
192
193 # Thermal sensors
194 device          aw_thermal      # Allwinner Thermal Sensor Controller
195
196 # SPI
197 device          spibus
198 device          bcm2835_spi     # Broadcom BCM283x SPI bus
199
200 # Console
201 device          vt
202 device          kbdmux
203
204 # Pseudo devices.
205 device          loop            # Network loopback
206 device          random          # Entropy device
207 device          ether           # Ethernet support
208 device          vlan            # 802.1Q VLAN support
209 device          tun             # Packet tunnel.
210 device          md              # Memory "disks"
211 device          gif             # IPv6 and IPv4 tunneling
212 device          firmware        # firmware assist module
213 device          psci            # Support for ARM PSCI
214
215 # EXT_RESOURCES pseudo devices
216 options         EXT_RESOURCES
217 device          clk
218 device          phy
219 device          hwreset
220 device          regulator
221
222 # The `bpf' device enables the Berkeley Packet Filter.
223 # Be aware of the administrative consequences of enabling this!
224 # Note that 'bpf' is required for DHCP.
225 device          bpf             # Berkeley packet filter
226
227 # Chip-specific errata
228 options         THUNDERX_PASS_1_1_ERRATA
229
230 options         FDT
231 #device         acpi
232
233 # The crypto framework is required by IPSEC
234 device          crypto                  # Required by IPSEC