-
Notifications
You must be signed in to change notification settings - Fork 1
/
BASE
407 lines (355 loc) · 15.5 KB
/
BASE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
#
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD$
include GENERIC
#cpu HAMMER # Included in Generic
ident BASE
options KDB_UNATTENDED
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for devices.
# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# env "GENERIC.env"
nomakeoptions DEBUG # Build kernel with gdb(1) debug symbols
nomakeoptions WITH_CTF
#options SCHED_ULE # ULE scheduler
#options NUMA # Non-Uniform Memory Architecture support
#options PREEMPTION # Enable kernel thread preemption
nooptions VIMAGE # Subsystem virtualization, e.g. VNET
#options INET # InterNETworking
#options INET6 # IPv6 communications protocols
nooptions IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
nooptions ROUTE_MPATH # Multipath routing support
#options TCP_OFFLOAD # TCP offload
nooptions TCP_BLACKBOX # Enhanced TCP event logging
nooptions TCP_HHOOK # hhook(9) framework for TCP
#options TCP_RFC7413 # TCP Fast Open
nooptions SCTP_SUPPORT # Allow kldload of SCTP
nooptions KERN_TLS # TLS transmit & receive offload
#options FFS # Berkeley Fast Filesystem
#options SOFTUPDATES # Enable FFS soft updates support
nooptions UFS_ACL # Support for access control lists
#options UFS_DIRHASH # Improve performance on big directories
nooptions UFS_GJOURNAL # Enable gjournal-based UFS journaling
nooptions QUOTA # Enable disk quotas for UFS
nooptions MD_ROOT # MD is a potential root device
nooptions NFSCL # Network Filesystem Client
nooptions NFSD # Network Filesystem Server
nooptions NFSLOCKD # Network Lock Manager
nooptions NFS_ROOT # NFS usable as /, requires NFSCL
#options MSDOSFS # MSDOS Filesystem
#options CD9660 # ISO 9660 Filesystem
#options PROCFS # Process filesystem (requires PSEUDOFS)
#options PSEUDOFS # Pseudo-filesystem framework
#options TMPFS # Efficient memory filesystem
#options GEOM_RAID # Soft RAID functionality.
#options GEOM_LABEL # Provides labelization
nooptions EFIRT # EFI Runtime Services support
#options COMPAT_FREEBSD32 # Compatible with i386 binaries
nooptions COMPAT_FREEBSD4 # Compatible with FreeBSD4
nooptions COMPAT_FREEBSD5 # Compatible with FreeBSD5
nooptions COMPAT_FREEBSD6 # Compatible with FreeBSD6
nooptions COMPAT_FREEBSD7 # Compatible with FreeBSD7
nooptions COMPAT_FREEBSD9 # Compatible with FreeBSD9
nooptions COMPAT_FREEBSD10 # Compatible with FreeBSD10
nooptions COMPAT_FREEBSD11 # Compatible with FreeBSD11
#nooptions COMPAT_FREEBSD12 # Compatible with FreeBSD12
#nooptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#options KTRACE # ktrace(1) support
#options STACK # stack(9) support
#options SYSVSHM # SYSV-style shared memory
#options SYSVMSG # SYSV-style message queues
#options SYSVSEM # SYSV-style semaphores
#options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
#options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
#options KBD_INSTALL_CDEV # install a CDEV entry in /dev
#options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
nooptions AUDIT # Security event auditing
nooptions CAPABILITY_MODE # Capsicum capability mode
nooptions CAPABILITIES # Capsicum capabilities
nooptions MAC # TrustedBSD MAC Framework
#options KDTRACE_FRAME # Ensure frames are compiled in
#options KDTRACE_HOOKS # Kernel DTrace hooks
#options DDB_CTF # Kernel ELF linker loads CTF data
#options INCLUDE_CONFIG_FILE # Include this file in kernel
nooptions RACCT # Resource accounting framework
nooptions RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
nooptions RCTL # Resource limits
# Debugging support. Always need this:
nooptions KDB # Enable kernel debugger support.
nooptions KDB_TRACE # Print a stack trace for a panic.
# Kernel Sanitizers
#options COVERAGE # Generic kernel coverage. Used by KCOV
#options KCOV # Kernel Coverage Sanitizer
# Warning: KUBSAN can result in a kernel too large for loader to load
#options KUBSAN # Kernel Undefined Behavior Sanitizer
#options KCSAN # Kernel Concurrency Sanitizer
# Kernel dump features.
nooptions EKCD # Support for encrypted kernel dumps
options GZIO # gzip-compressed kernel and user dumps
options ZSTDIO # zstd-compressed kernel and user dumps
nooptions DEBUGNET # debugnet networking
options NETDUMP # netdump(4) client support
nooptions NETGDB # netgdb(4) client support
# Make an SMP-capable kernel by default
#options SMP # Symmetric MultiProcessor Kernel
#options EARLY_AP_STARTUP
# CPU frequency control
#device cpufreq
# Bus support.
#device acpi
nodevice smbios
nooptions IOMMU
#device pci
nooptions PCI_HP # PCI-Express native HotPlug
nooptions PCI_IOV # PCI SR-IOV support
nooptions COMPAT_LINUXKPI
# Enable support for the kernel PLL to use an external PPS signal,
# under supervision of [x]ntpd(8)
# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
nooptions PPS_SYNC
# Floppy drives
nodevice fdc
# ATA controllers
#device ahci # AHCI-compatible SATA controllers
#device ata # Legacy ATA/SATA controllers
nodevice mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
nodevice siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
# SCSI Controllers
nodevice ahc # AHA2940 and onboard AIC7xxx devices
nodevice ahd # AHA39320/29320 and onboard AIC79xx devices
nodevice esp # AMD Am53C974 (Tekram DC-390(T))
nodevice hptiop # Highpoint RocketRaid 3xxx series
nodevice isp # Qlogic family
nodevice ispfw # Firmware for QLogic HBAs- normally a module
nodevice mpt # LSI-Logic MPT-Fusion
nodevice mps # LSI-Logic MPT-Fusion 2
nodevice mpr # LSI-Logic MPT-Fusion 3
nodevice sym # NCR/Symbios Logic
nodevice isci # Intel C600 SAS controller
nodevice ocs_fc # Emulex FC adapters
nodevice pvscsi # VMware PVSCSI
# ATA/SCSI peripherals
#device scbus # SCSI bus (required for ATA/SCSI)
nodevice ch # SCSI media changers
#device da # Direct Access (disks)
nodevice sa # Sequential Access (tape etc)
nodevice cd # CD
#device pass # Passthrough device (direct ATA/SCSI access)
nodevice ses # Enclosure Services (SES and SAF-TE)
nodevice ctl # CAM Target Layer
# RAID controllers interfaced to the SCSI subsystem
nodevice amr # AMI MegaRAID
nodevice arcmsr # Areca SATA II RAID
nodevice ciss # Compaq Smart RAID 5*
nodevice iir # Intel Integrated RAID
nodevice ips # IBM (Adaptec) ServeRAID
nodevice mly # Mylex AcceleRAID/eXtremeRAID
nodevice twa # 3ware 9000 series PATA/SATA RAID
nodevice smartpqi # Microsemi smartpqi driver
nodevice tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
# RAID controllers
nodevice aac # Adaptec FSA RAID
nodevice aacp # SCSI passthrough for aac (requires CAM)
nodevice aacraid # Adaptec by PMC RAID
nodevice ida # Compaq Smart RAID
nodevice mfi # LSI MegaRAID SAS
nodevice mlx # Mylex DAC960 family
nodevice mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
nodevice pmspcv # PMC-Sierra SAS/SATA Controller driver
#XXX pointer/int warnings
#device pst # Promise Supertrak SX6000
nodevice twe # 3ware ATA RAID
# NVM Express (NVMe) support
nodevice nvme # base NVMe driver
nodevice nvd # expose NVMe namespaces as disks, depends on nvme
# Intel Volume Management Device (VMD) support
nodevice vmd
# atkbdc0 controls both the keyboard and the PS/2 mouse
#device atkbdc # AT keyboard controller
#device atkbd # AT keyboard
nodevice psm # PS/2 mouse
#device kbdmux # keyboard multiplexer
#device vga # VGA video card driver
nooptions VESA # Add support for VESA BIOS Extensions (VBE)
#device splash # Splash screen and screen saver support
# syscons is the legacy console driver, resembling an SCO console
#device sc
nooptions SC_PIXEL_MODE # add support for the raster text mode
# vt is the default video console driver
#device vt
#device vt_vga
nodevice vt_efifb
nodevice vt_vbefb
nodevice agp # support several AGP chipsets
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
nodevice cbb # cardbus (yenta) bridge
nodevice pccard # PC Card (16-bit) bus
nodevice cardbus # CardBus (32-bit) bus
# Serial (COM) ports
nodevice uart # Generic UART driver
# Parallel port
nodevice ppc
nodevice ppbus # Parallel port bus (required)
nodevice lpt # Printer
nodevice ppi # Parallel port interface device
#device vpo # Requires scbus and da
nodevice puc # Multi I/O cards and multi-channel UARTs
# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
#nodevice iflib
nodevice em # Intel PRO/1000 Gigabit Ethernet Family
nodevice igc # Intel I225 2.5G Ethernet
nodevice ix # Intel PRO/10GbE PCIE PF Ethernet
nodevice ixv # Intel PRO/10GbE PCIE VF Ethernet
nodevice ixl # Intel 700 Series Physical Function
nodevice iavf # Intel Adaptive Virtual Function
nodevice ice # Intel 800 Series Physical Function
nodevice vmx # VMware VMXNET3 Ethernet
nodevice axp # AMD EPYC integrated NIC
# PCI Ethernet NICs.
nodevice bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
nodevice le # AMD Am7900 LANCE and Am79C9xx PCnet
nodevice ti # Alteon Networks Tigon I/II gigabit Ethernet
# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
# mlx5ib requires ibcore infra and is not included by default
nodevice mlx5 # Base driver
nodevice mlxfw # Firmware update
nodevice mlx5en # Ethernet driver
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
nodevice miibus # MII bus support
nodevice ae # Attansic/Atheros L2 FastEthernet
nodevice age # Attansic/Atheros L1 Gigabit Ethernet
nodevice alc # Atheros AR8131/AR8132 Ethernet
nodevice ale # Atheros AR8121/AR8113/AR8114 Ethernet
nodevice bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
nodevice bfe # Broadcom BCM440x 10/100 Ethernet
nodevice bge # Broadcom BCM570xx Gigabit Ethernet
nodevice cas # Sun Cassini/Cassini+ and NS DP83065 Saturn
nodevice dc # DEC/Intel 21143 and various workalikes
nodevice et # Agere ET1310 10/100/Gigabit Ethernet
nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558)
nodevice gem # Sun GEM/Sun ERI/Apple GMAC
nodevice jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
nodevice lge # Level 1 LXT1001 gigabit Ethernet
nodevice msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
nodevice nfe # nVidia nForce MCP on-board Ethernet
nodevice nge # NatSemi DP83820 gigabit Ethernet
nodevice re # RealTek 8139C+/8169/8169S/8110S
nodevice rl # RealTek 8129/8139
nodevice sge # Silicon Integrated Systems SiS190/191
nodevice sis # Silicon Integrated Systems SiS 900/SiS 7016
nodevice sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
nodevice ste # Sundance ST201 (D-Link DFE-550TX)
nodevice stge # Sundance/Tamarack TC9021 gigabit Ethernet
nodevice vge # VIA VT612x gigabit Ethernet
nodevice vr # VIA Rhine, Rhine II
nodevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Wireless NIC cards
nodevice wlan # 802.11 support
nooptions IEEE80211_DEBUG # enable debug msgs
nooptions IEEE80211_SUPPORT_MESH # enable 802.11s draft support
nodevice wlan_wep # 802.11 WEP support
nodevice wlan_ccmp # 802.11 CCMP support
nodevice wlan_tkip # 802.11 TKIP support
nodevice wlan_amrr # AMRR transmit rate control algorithm
nodevice an # Aironet 4500/4800 802.11 wireless NICs.
nodevice ath # Atheros NICs
nodevice ath_pci # Atheros pci/cardbus glue
nodevice ath_hal # pci/cardbus chip support
nooptions AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
nooptions ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
nodevice ath_rate_sample # SampleRate tx rate control for ath
nodevice bwi # Broadcom BCM430x/BCM431x wireless NICs.
nodevice bwn # Broadcom BCM43xx wireless NICs.
nodevice ipw # Intel 2100 wireless NICs.
nodevice iwi # Intel 2200BG/2225BG/2915ABG wireless NICs.
nodevice iwn # Intel 4965/1000/5000/6000 wireless NICs.
nodevice malo # Marvell Libertas wireless NICs.
nodevice mwl # Marvell 88W8363 802.11n wireless NICs.
nodevice ral # Ralink Technology RT2500 wireless NICs.
nodevice wpi # Intel 3945ABG wireless NICs.
# Pseudo devices.
#device crypto # core crypto support
#device aesni # AES-NI OpenCrypto module
#device loop # Network loopback
nodevice padlock_rng # VIA Padlock RNG
nodevice rdrand_rng # Intel Bull Mountain RNG
#device ether # Ethernet support
nodevice vlan # 802.1Q VLAN support
nodevice tuntap # Packet tunnel.
nodevice md # Memory "disks"
nodevice gif # IPv6 and IPv4 tunneling
#device firmware # firmware assist module
nodevice xz # lzma decompression
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
#device bpf # Berkeley packet filter
# USB support
nooptions USB_DEBUG # enable debug msgs
#device uhci # UHCI PCI->USB interface
nodevice ohci # OHCI PCI->USB interface
#device ehci # EHCI PCI->USB interface (USB 2.0)
nodevice xhci # XHCI PCI->USB interface (USB 3.0)
#device usb # USB Bus (required)
#device ukbd # Keyboard
#device umass # Disks/Mass storage - Requires scbus and da
# Sound support
nodevice sound # Generic sound driver (required)
nodevice snd_cmi # CMedia CMI8338/CMI8738
nodevice snd_csa # Crystal Semiconductor CS461x/428x
nodevice snd_emu10kx # Creative SoundBlaster Live! and Audigy
nodevice snd_es137x # Ensoniq AudioPCI ES137x
nodevice snd_hda # Intel High Definition Audio
nodevice snd_ich # Intel, NVidia and other ICH AC'97 Audio
nodevice snd_via8233 # VIA VT8233x Audio
# MMC/SD
nodevice mmc # MMC/SD bus
nodevice mmcsd # MMC/SD memory card
nodevice sdhci # Generic PCI SD Host Controller
nodevice rtsx # Realtek SD card reader
# VirtIO support
nodevice virtio # Generic VirtIO bus (required)
nodevice virtio_pci # VirtIO PCI device
nodevice vtnet # VirtIO Ethernet device
nodevice virtio_blk # VirtIO Block device
nodevice virtio_scsi # VirtIO SCSI device
nodevice virtio_balloon # VirtIO Memory Balloon device
# Linux KVM paravirtualization support
device kvm_clock # KVM paravirtual clock driver
# HyperV drivers and enhancement support
nodevice hyperv # HyperV drivers
# Xen HVM Guest Optimizations
# NOTE: XENHVM depends on xenpci. They must be added or removed together.
nooptions XENHVM # Xen HVM kernel infrastructure
nodevice xenpci # Xen HVM Hypervisor services driver
# Netmap provides direct access to TX/RX rings on supported NICs
nodevice netmap # netmap(4) support
# evdev interface
nooptions EVDEV_SUPPORT # evdev support in legacy drivers
nodevice evdev # input event device support
nodevice uinput # install /dev/uinput cdev
# HID support
nooptions HID_DEBUG # enable debug msgs
device hid # Generic HID support
#options IICHID_SAMPLING # Workaround missing GPIO INTR support