]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/powerpc/conf/GENERIC64LE
powerpc: enable wlan and ath modules in GENERIC64*
[FreeBSD/FreeBSD.git] / sys / powerpc / conf / GENERIC64LE
1 #
2 # GENERIC64LE -- Generic kernel configuration file for FreeBSD/powerpc64le
3 #
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
6 #
7 #    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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             AIM
22 ident           GENERIC
23
24 machine         powerpc powerpc64le
25
26 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
27 makeoptions     WITH_CTF=1
28
29 # Platform support
30 options         MAMBO                   # IBM Mambo Full System Simulator
31 options         QEMU                    # QEMU processor emulator
32 options         PSERIES                 # PAPR-compliant systems (e.g. IBM p)
33 options         POWERNV                 # Non-virtualized OpenPOWER systems
34 options         ISA_206_ATOMICS         # PowerISA v2.06 optimized subword atomics
35
36 options         FDT                     # Flattened Device Tree
37 options         SCHED_ULE               # ULE scheduler
38 options         NUMA                    # Non-Uniform Memory Architecture support
39 options         PREEMPTION              # Enable kernel thread preemption
40 options         VIMAGE                  # Subsystem virtualization, e.g. VNET
41 options         INET                    # InterNETworking
42 options         INET6                   # IPv6 communications protocols
43 options         IPSEC_SUPPORT           # Allow kldload of ipsec and tcpmd5
44 options         TCP_OFFLOAD             # TCP offload
45 options         TCP_BLACKBOX            # Enhanced TCP event logging
46 options         TCP_HHOOK               # hhook(9) framework for TCP
47 options         TCP_RFC7413             # TCP Fast Open
48 options         SCTP_SUPPORT            # Allow kldload of SCTP
49 options         FFS                     # Berkeley Fast Filesystem
50 options         SOFTUPDATES             # Enable FFS soft updates support
51 options         UFS_ACL                 # Support for access control lists
52 options         UFS_DIRHASH             # Improve performance on big directories
53 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
54 options         QUOTA                   # Enable disk quotas for UFS
55 options         MD_ROOT                 # MD is a potential root device
56 options         MD_ROOT_MEM             # Enable use of initrd as MD root
57 options         NFSCL                   # Network Filesystem Client
58 options         NFSD                    # Network Filesystem Server
59 options         NFSLOCKD                # Network Lock Manager
60 options         NFS_ROOT                # NFS usable as root device
61 options         MSDOSFS                 # MSDOS Filesystem
62 options         CD9660                  # ISO 9660 Filesystem
63 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
64 options         PSEUDOFS                # Pseudo-filesystem framework
65 options         TMPFS                   # Efficient memory filesystem
66 options         GEOM_PART_APM           # Apple Partition Maps.
67 options         GEOM_PART_GPT           # GUID Partition Tables.
68 options         GEOM_LABEL              # Provides labelization
69
70 # ports lang/rust (1.57.0) and lang/go (1.17.5) depends on older kernel interfaces
71 options         COMPAT_FREEBSD11        # Compatible with FreeBSD11 (required by ports)
72 options         COMPAT_FREEBSD12        # Compatible with FreeBSD12 (required by ports)
73 options         COMPAT_FREEBSD13        # Compatible with FreeBSD13
74
75 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI 
76 options         KTRACE                  # ktrace(1) syscall trace support
77 options         STACK                   # stack(9) support
78 options         SYSVSHM                 # SYSV-style shared memory
79 options         SYSVMSG                 # SYSV-style message queues
80 options         SYSVSEM                 # SYSV-style semaphores
81 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
82 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
83 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
84 options         AUDIT                   # Security event auditing
85 options         CAPABILITY_MODE         # Capsicum capability mode
86 options         CAPABILITIES            # Capsicum capabilities
87 options         MAC                     # TrustedBSD MAC Framework
88 options         KDTRACE_HOOKS           # Kernel DTrace hooks
89 options         DDB_CTF                 # Kernel ELF linker loads CTF data
90 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
91 options         RACCT                   # Resource accounting framework
92 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
93 options         RCTL                    # Resource limits
94
95 # Debugging support.  Always need this:
96 options         KDB                     # Enable kernel debugger support.
97 options         KDB_TRACE               # Print a stack trace for a panic.
98 # For full debugger support use (turn off in stable branch):
99 options         DDB                     # Support DDB
100 #options        DEADLKRES               # Enable the deadlock resolver
101 options         INVARIANTS              # Enable calls of extra sanity checking
102 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
103 options         WITNESS                 # Enable checks to detect deadlocks and cycles
104 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
105 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
106 options         VERBOSE_SYSINIT=0       # Support debug.verbose_sysinit, off by default
107
108 # Kernel dump features.
109 options         EKCD                    # Support for encrypted kernel dumps
110 options         GZIO                    # gzip-compressed kernel and user dumps
111 options         ZSTDIO                  # zstd-compressed kernel and user dumps
112 options         DEBUGNET                # debugnet networking
113 options         NETDUMP                 # netdump(4) client support
114
115 # Make an SMP-capable kernel by default
116 options         SMP                     # Symmetric MultiProcessor Kernel
117
118 # CPU frequency control
119 device          cpufreq
120
121 # Standard busses
122 device          pci
123 options         PCI_HP                  # PCI-Express native HotPlug
124 device          agp
125
126 # ATA controllers
127 device          ahci            # AHCI-compatible SATA controllers
128 device          ata             # Legacy ATA/SATA controllers
129 device          mvs             # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
130 device          siis            # SiliconImage SiI3124/SiI3132/SiI3531 SATA
131
132 # NVM Express (NVMe) support
133 device          nvme            # base NVMe driver
134 options         NVME_USE_NVD=0  # prefer the cam(4) based nda(4) driver
135 device          nvd             # expose NVMe namespaces as disks, depends on nvme
136
137 # SCSI Controllers
138 device          aacraid         # Adaptec by PMC RAID
139 device          ahc             # AHA2940 and onboard AIC7xxx devices
140 options         AHC_ALLOW_MEMIO # Attempt to use memory mapped I/O
141 device          isp             # Qlogic family
142 device          ispfw           # Firmware module for Qlogic host adapters
143 device          mrsas           # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
144 device          mpt             # LSI-Logic MPT-Fusion
145 device          mps             # LSI-Logic MPT-Fusion 2
146 device          mpr             # LSI SAS3008 MPT-Fusion SAS-3
147 device          sym             # NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
148
149 # ATA/SCSI peripherals
150 device          scbus           # SCSI bus (required for ATA/SCSI)
151 device          ch              # SCSI media changers
152 device          da              # Direct Access (disks)
153 device          sa              # Sequential Access (tape etc)
154 device          cd              # CD
155 device          pass            # Passthrough device (direct ATA/SCSI access)
156 device          ses             # Enclosure Service (SES and SAF-TE)
157
158 # vt is the default console driver, resembling an SCO console
159 device          vt              # Core console driver
160 device          kbdmux
161
162 # Serial (COM) ports
163 device          scc
164 device          uart
165 device          uart_z8530
166
167 device          iflib
168
169 # Ethernet hardware
170 device          em              # Intel PRO/1000 Gigabit Ethernet Family
171 device          ix              # Intel PRO/10GbE PCIE PF Ethernet Family
172 device          ixl             # Intel 700 Series Physical Function
173 device          ixv             # Intel PRO/10GbE PCIE VF Ethernet Family
174 device          ice             # Intel 800 Series Physical Function
175 device          llan            # IBM pSeries Virtual Ethernet
176 device          cxgbe           # Chelsio 10/25G NIC
177
178 # PCI Ethernet NICs that use the common MII bus controller code.
179 device          miibus          # MII bus support
180 device          bge             # Broadcom BCM570xx Gigabit Ethernet
181 device          gem             # Sun GEM/Sun ERI/Apple GMAC
182 device          dc              # DEC/Intel 21143 and various workalikes
183 device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
184 device          re              # RealTek 8139C+/8169/8169S/8110S
185 device          rl              # RealTek 8129/8139
186
187 # Pseudo devices.
188 device          crypto          # core crypto support
189 device          loop            # Network loopback
190 device          ether           # Ethernet support
191 device          vlan            # 802.1Q VLAN support
192 device          tuntap          # Packet tunnel.
193 device          md              # Memory "disks"
194 device          ofwd            # Open Firmware disks
195 device          gif             # IPv6 and IPv4 tunneling
196 device          firmware        # firmware assist module
197
198 # The `bpf' device enables the Berkeley Packet Filter.
199 # Be aware of the administrative consequences of enabling this!
200 # Note that 'bpf' is required for DHCP.
201 device          bpf             # Berkeley packet filter
202
203 # USB support
204 options         USB_DEBUG       # enable debug msgs
205 device          uhci            # UHCI PCI->USB interface
206 device          ohci            # OHCI PCI->USB interface
207 device          ehci            # EHCI PCI->USB interface
208 device          xhci            # XHCI PCI->USB interface
209 device          usb             # USB Bus (required)
210 device          uhid            # "Human Interface Devices"
211 device          ukbd            # Keyboard
212 options         KBD_INSTALL_CDEV # install a CDEV entry in /dev
213 device          umass           # Disks/Mass storage - Requires scbus and da0
214 device          ums             # Mouse
215 # USB Ethernet
216 device          aue             # ADMtek USB Ethernet
217 device          axe             # ASIX Electronics USB Ethernet
218 device          cdce            # Generic USB over Ethernet
219 device          cue             # CATC USB Ethernet
220 device          kue             # Kawasaki LSI USB Ethernet
221
222 # Wireless NIC cards
223 device          wlan            # 802.11 support
224 options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
225 options         IEEE80211_DEBUG # enable debug msgs
226 device          wlan_wep        # 802.11 WEP support
227 device          wlan_ccmp       # 802.11 CCMP support
228 device          wlan_tkip       # 802.11 TKIP support
229 device          wlan_amrr       # AMRR transmit rate control algorithm
230 device          ath             # Atheros NICs
231 device          ath_pci         # Atheros pci/cardbus glue
232 device          ath_hal         # pci/cardbus chip support
233 options         AH_AR5416_INTERRUPT_MITIGATION  # AR5416 interrupt mitigation
234 options         ATH_ENABLE_11N  # Enable 802.11n support for AR5416 and later
235 device          ath_rate_sample # SampleRate tx rate control for ath
236
237 # FireWire support
238 device          firewire        # FireWire bus code
239 device          sbp             # SCSI over FireWire (Requires scbus and da)
240 device          fwe             # Ethernet over FireWire (non-standard!)
241
242 # Misc
243 device          iicbus          # I2C bus code
244 device          iic
245 device          opalflash       # PowerNV embedded flash memory
246
247 # Sound support
248 device          sound           # Generic sound driver (required)
249 device          snd_hda         # Intel High Definition Audio
250 device          snd_uaudio      # USB Audio
251
252 # Netmap provides direct access to TX/RX rings on supported NICs
253 device          netmap          # netmap(4) support
254
255 # evdev interface
256 options         EVDEV_SUPPORT           # evdev support in legacy drivers
257 device          evdev                   # input event device support
258 device          uinput                  # install /dev/uinput cdev
259
260 # VirtIO support
261 device          virtio                  # Generic VirtIO bus (required)
262 device          virtio_pci              # VirtIO PCI device
263 device          vtnet                   # VirtIO Ethernet device
264 device          virtio_blk              # VirtIO Block device
265 device          virtio_scsi             # VirtIO SCSI device
266 device          virtio_balloon          # VirtIO Memory Balloon device
267
268 # HID support
269 options         HID_DEBUG               # enable debug msgs
270 device          hid                     # Generic HID support