]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/i386/conf/GENERIC
Merge once more from ^/vendor/llvm-project/release-10.x, to get the
[FreeBSD/FreeBSD.git] / sys / i386 / conf / GENERIC
1 #
2 # GENERIC -- Generic kernel configuration file for FreeBSD/i386
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             I486_CPU
22 cpu             I586_CPU
23 cpu             I686_CPU
24 ident           GENERIC
25
26 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
27 makeoptions     WITH_CTF=1              # Run ctfconvert(1) for DTrace support
28
29 options         SCHED_ULE               # ULE scheduler
30 options         PREEMPTION              # Enable kernel thread preemption
31 options         VIMAGE                  # Subsystem virtualization, e.g. VNET
32 options         INET                    # InterNETworking
33 options         INET6                   # IPv6 communications protocols
34 options         IPSEC_SUPPORT           # Allow kldload of ipsec and tcpmd5
35 options         TCP_HHOOK               # hhook(9) framework for TCP
36 options         TCP_OFFLOAD             # TCP offload
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_RAID               # Soft RAID functionality.
54 options         GEOM_LABEL              # Provides labelization
55 options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
56 options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
57 options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
58 options         COMPAT_FREEBSD7         # Compatible with FreeBSD7
59 options         COMPAT_FREEBSD9         # Compatible with FreeBSD9
60 options         COMPAT_FREEBSD10        # Compatible with FreeBSD10
61 options         COMPAT_FREEBSD11        # Compatible with FreeBSD11
62 options         COMPAT_FREEBSD12        # Compatible with FreeBSD12
63 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
64 options         KTRACE                  # ktrace(1) support
65 options         STACK                   # stack(9) support
66 options         SYSVSHM                 # SYSV-style shared memory
67 options         SYSVMSG                 # SYSV-style message queues
68 options         SYSVSEM                 # SYSV-style semaphores
69 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
70 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
71 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
72 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
73 options         AUDIT                   # Security event auditing
74 options         CAPABILITY_MODE         # Capsicum capability mode
75 options         CAPABILITIES            # Capsicum capabilities
76 options         MAC                     # TrustedBSD MAC Framework
77 options         KDTRACE_HOOKS           # Kernel DTrace hooks
78 options         DDB_CTF                 # Kernel ELF linker loads CTF data
79 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
80 options         RACCT                   # Resource accounting framework
81 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
82 options         RCTL                    # Resource limits
83
84 # Debugging support.  Always need this:
85 options         KDB                     # Enable kernel debugger support.
86 options         KDB_TRACE               # Print a stack trace for a panic.
87 # For full debugger support use (turn off in stable branch):
88 options         DDB                     # Support DDB.
89 options         GDB                     # Support remote GDB.
90 options         DEADLKRES               # Enable the deadlock resolver
91 options         INVARIANTS              # Enable calls of extra sanity checking
92 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
93 options         WITNESS                 # Enable checks to detect deadlocks and cycles
94 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
95 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
96 options         VERBOSE_SYSINIT=0       # Support debug.verbose_sysinit, off by default
97
98 # Kernel dump features.
99 options         EKCD                    # Support for encrypted kernel dumps
100 options         GZIO                    # gzip-compressed kernel and user dumps
101 options         ZSTDIO                  # zstd-compressed kernel and user dumps
102 options         DEBUGNET                # debugnet networking
103 options         NETDUMP                 # netdump(4) client support
104 options         NETGDB                  # netgdb(4) client support
105
106 # To make an SMP kernel, the next two lines are needed
107 options         SMP                     # Symmetric MultiProcessor Kernel
108 device          apic                    # I/O APIC
109 options         EARLY_AP_STARTUP
110
111 # CPU frequency control
112 device          cpufreq
113
114 # Bus support.
115 device          acpi
116 device          pci
117 options         PCI_HP                  # PCI-Express native HotPlug
118 options         PCI_IOV                 # PCI SR-IOV support
119
120 # Floppy drives
121 device          fdc
122
123 # ATA controllers
124 device          ahci                    # AHCI-compatible SATA controllers
125 device          ata                     # Legacy ATA/SATA controllers
126 device          mvs                     # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
127 device          siis                    # SiliconImage SiI3124/SiI3132/SiI3531 SATA
128
129 # SCSI Controllers
130 device          ahc                     # AHA2940 and onboard AIC7xxx devices
131 device          esp                     # AMD Am53C974 (Tekram DC-390(T))
132 device          hptiop                  # Highpoint RocketRaid 3xxx series
133 device          isp                     # Qlogic family
134 #device         ispfw                   # Firmware for QLogic HBAs- normally a module
135 device          mpt                     # LSI-Logic MPT-Fusion
136 device          mps                     # LSI-Logic MPT-Fusion 2
137 device          mpr                     # LSI-Logic MPT-Fusion 3
138 device          sym                     # NCR/Symbios Logic
139 device          isci                    # Intel C600 SAS controller
140 device          pvscsi                  # VMware PVSCSI
141
142 # ATA/SCSI peripherals
143 device          scbus                   # SCSI bus (required for ATA/SCSI)
144 device          ch                      # SCSI media changers
145 device          da                      # Direct Access (disks)
146 device          sa                      # Sequential Access (tape etc)
147 device          cd                      # CD
148 device          pass                    # Passthrough device (direct ATA/SCSI access)
149 device          ses                     # Enclosure Services (SES and SAF-TE)
150 #device         ctl                     # CAM Target Layer
151
152 # RAID controllers interfaced to the SCSI subsystem
153 device          amr                     # AMI MegaRAID
154 device          arcmsr                  # Areca SATA II RAID
155 device          ciss                    # Compaq Smart RAID 5*
156 device          iir                     # Intel Integrated RAID
157 device          ips                     # IBM (Adaptec) ServeRAID
158 device          mly                     # Mylex AcceleRAID/eXtremeRAID
159 device          twa                     # 3ware 9000 series PATA/SATA RAID
160 device          tws                     # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
161
162 # RAID controllers
163 device          aac                     # Adaptec FSA RAID
164 device          aacp                    # SCSI passthrough for aac (requires CAM)
165 device          aacraid                 # Adaptec by PMC RAID
166 device          ida                     # Compaq Smart RAID
167 device          mfi                     # LSI MegaRAID SAS
168 device          mlx                     # Mylex DAC960 family
169 device          mrsas                   # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
170 device          pmspcv                  # PMC-Sierra SAS/SATA Controller driver
171 device          pst                     # Promise Supertrak SX6000
172 device          twe                     # 3ware ATA RAID
173
174 # NVM Express (NVMe) support
175 device          nvme                    # base NVMe driver
176 device          nvd                     # expose NVMe namespace as disks, depends on nvme
177
178 # atkbdc0 controls both the keyboard and the PS/2 mouse
179 device          atkbdc                  # AT keyboard controller
180 device          atkbd                   # AT keyboard
181 device          psm                     # PS/2 mouse
182
183 device          kbdmux                  # keyboard multiplexer
184
185 device          vga                     # VGA video card driver
186 options         VESA                    # Add support for VESA BIOS Extensions (VBE)
187
188 device          splash                  # Splash screen and screen saver support
189
190 # syscons is the default console driver, resembling an SCO console
191 device          sc
192 options         SC_PIXEL_MODE           # add support for the raster text mode
193
194 # vt is the new video console driver
195 device          vt
196 device          vt_vga
197
198 device          agp                     # support several AGP chipsets
199
200 # Power management support (see NOTES for more options)
201 #device         apm
202
203 # PCCARD (PCMCIA) support
204 # PCMCIA and cardbus bridge support
205 device          cbb                     # cardbus (yenta) bridge
206 device          pccard                  # PC Card (16-bit) bus
207 device          cardbus                 # CardBus (32-bit) bus
208
209 # Serial (COM) ports
210 device          uart                    # Generic UART driver
211
212 # Parallel port
213 device          ppc
214 device          ppbus                   # Parallel port bus (required)
215 device          lpt                     # Printer
216 device          ppi                     # Parallel port interface device
217 #device         vpo                     # Requires scbus and da
218
219 device          puc                     # Multi I/O cards and multi-channel UARTs
220
221 # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
222 device          iflib
223 device          em                      # Intel PRO/1000 Gigabit Ethernet Family
224 device          vmx                     # VMware VMXNET3 Ethernet
225
226 # PCI Ethernet NICs.
227 device          bxe                     # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
228 device          le                      # AMD Am7900 LANCE and Am79C9xx PCnet
229 device          ti                      # Alteon Networks Tigon I/II gigabit Ethernet
230
231 # PCI Ethernet NICs that use the common MII bus controller code.
232 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
233 device          miibus                  # MII bus support
234 device          ae                      # Attansic/Atheros L2 FastEthernet
235 device          age                     # Attansic/Atheros L1 Gigabit Ethernet
236 device          alc                     # Atheros AR8131/AR8132 Ethernet
237 device          ale                     # Atheros AR8121/AR8113/AR8114 Ethernet
238 device          bce                     # Broadcom BCM5706/BCM5708 Gigabit Ethernet
239 device          bfe                     # Broadcom BCM440x 10/100 Ethernet
240 device          bge                     # Broadcom BCM570xx Gigabit Ethernet
241 device          cas                     # Sun Cassini/Cassini+ and NS DP83065 Saturn
242 device          dc                      # DEC/Intel 21143 and various workalikes
243 device          et                      # Agere ET1310 10/100/Gigabit Ethernet
244 device          fxp                     # Intel EtherExpress PRO/100B (82557, 82558)
245 device          gem                     # Sun GEM/Sun ERI/Apple GMAC
246 device          hme                     # Sun HME (Happy Meal Ethernet)
247 device          jme                     # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
248 device          lge                     # Level 1 LXT1001 gigabit Ethernet
249 device          msk                     # Marvell/SysKonnect Yukon II Gigabit Ethernet
250 device          nfe                     # nVidia nForce MCP on-board Ethernet
251 device          nge                     # NatSemi DP83820 gigabit Ethernet
252 device          re                      # RealTek 8139C+/8169/8169S/8110S
253 device          rl                      # RealTek 8129/8139
254 device          sge                     # Silicon Integrated Systems SiS190/191
255 device          sis                     # Silicon Integrated Systems SiS 900/SiS 7016
256 device          sk                      # SysKonnect SK-984x & SK-982x gigabit Ethernet
257 device          ste                     # Sundance ST201 (D-Link DFE-550TX)
258 device          stge                    # Sundance/Tamarack TC9021 gigabit Ethernet
259 device          vge                     # VIA VT612x gigabit Ethernet
260 device          vr                      # VIA Rhine, Rhine II
261 device          vte                     # DM&P Vortex86 RDC R6040 Fast Ethernet
262 device          xl                      # 3Com 3c90x (``Boomerang'', ``Cyclone'')
263
264 # Wireless NIC cards
265 device          wlan                    # 802.11 support
266 options         IEEE80211_DEBUG         # enable debug msgs
267 options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
268 device          wlan_wep                # 802.11 WEP support
269 device          wlan_ccmp               # 802.11 CCMP support
270 device          wlan_tkip               # 802.11 TKIP support
271 device          wlan_amrr               # AMRR transmit rate control algorithm
272 device          an                      # Aironet 4500/4800 802.11 wireless NICs.
273 device          ath                     # Atheros NICs
274 device          ath_pci                 # Atheros pci/cardbus glue
275 device          ath_hal                 # pci/cardbus chip support
276 options         AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
277 options         ATH_ENABLE_11N          # Enable 802.11n support for AR5416 and later
278 device          ath_rate_sample         # SampleRate tx rate control for ath
279 #device         bwi                     # Broadcom BCM430x/BCM431x wireless NICs.
280 #device         bwn                     # Broadcom BCM43xx wireless NICs.
281 device          ipw                     # Intel 2100 wireless NICs.
282 device          iwi                     # Intel 2200BG/2225BG/2915ABG wireless NICs.
283 device          iwn                     # Intel 4965/1000/5000/6000 wireless NICs.
284 device          malo                    # Marvell Libertas wireless NICs.
285 device          mwl                     # Marvell 88W8363 802.11n wireless NICs.
286 device          ral                     # Ralink Technology RT2500 wireless NICs.
287 device          wi                      # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
288 device          wpi                     # Intel 3945ABG wireless NICs.
289
290 # Pseudo devices.
291 device          crypto                  # core crypto support
292 device          loop                    # Network loopback
293 device          padlock_rng             # VIA Padlock RNG
294 device          rdrand_rng              # Intel Bull Mountain RNG
295 device          ether                   # Ethernet support
296 device          vlan                    # 802.1Q VLAN support
297 device          tuntap                  # Packet tunnel.
298 device          md                      # Memory "disks"
299 device          gif                     # IPv6 and IPv4 tunneling
300 device          firmware                # firmware assist module
301
302 # The `bpf' device enables the Berkeley Packet Filter.
303 # Be aware of the administrative consequences of enabling this!
304 # Note that 'bpf' is required for DHCP.
305 device          bpf                     # Berkeley packet filter
306
307 # USB support
308 options         USB_DEBUG               # enable debug msgs
309 device          uhci                    # UHCI PCI->USB interface
310 device          ohci                    # OHCI PCI->USB interface
311 device          ehci                    # EHCI PCI->USB interface (USB 2.0)
312 device          xhci                    # XHCI PCI->USB interface (USB 3.0)
313 device          usb                     # USB Bus (required)
314 device          ukbd                    # Keyboard
315 device          umass                   # Disks/Mass storage - Requires scbus and da
316
317 # Sound support
318 device          sound                   # Generic sound driver (required)
319 device          snd_cmi                 # CMedia CMI8338/CMI8738
320 device          snd_csa                 # Crystal Semiconductor CS461x/428x
321 device          snd_emu10kx             # Creative SoundBlaster Live! and Audigy
322 device          snd_es137x              # Ensoniq AudioPCI ES137x
323 device          snd_hda                 # Intel High Definition Audio
324 device          snd_ich                 # Intel, NVidia and other ICH AC'97 Audio
325 device          snd_via8233             # VIA VT8233x Audio
326
327 # MMC/SD
328 device          mmc                     # MMC/SD bus
329 device          mmcsd                   # MMC/SD memory card
330 device          sdhci                   # Generic PCI SD Host Controller
331
332 # VirtIO support
333 device          virtio                  # Generic VirtIO bus (required)
334 device          virtio_pci              # VirtIO PCI device
335 device          vtnet                   # VirtIO Ethernet device
336 device          virtio_blk              # VirtIO Block device
337 device          virtio_scsi             # VirtIO SCSI device
338 device          virtio_balloon          # VirtIO Memory Balloon device
339
340 # HyperV drivers and enchancement support
341 device          hyperv                  # HyperV drivers 
342
343 # Xen HVM Guest Optimizations
344 # NOTE: XENHVM depends on xenpci.  They must be added or removed together.
345 options         XENHVM                  # Xen HVM kernel infrastructure
346 device          xenpci                  # Xen HVM Hypervisor services driver
347
348 # evdev interface
349 options         EVDEV_SUPPORT           # evdev support in legacy drivers
350 device          evdev                   # input event device support
351 device          uinput                  # install /dev/uinput cdev