source: hybrid/branches/releng-11/nanobsd/cfg/kernel.wleiden

Last change on this file was 14326, checked in by rick, 6 years ago

Add 12-RELEASE compile support

Since it does not break 11-RELEASE, do not start a new branch.

  • Property svn:eol-style set to LF
File size: 7.5 KB
Line 
1#
2# WLEIDEN -- Wireless Leiden kernel configuration file for FreeBSD/i386
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# This config is tweaked for ALIX.APU1C & APU1C4, with
10# Atheros Wireless Cards and meant to run an a remote location.
11#
12
13cpu I486_CPU
14cpu I586_CPU
15cpu I686_CPU
16ident WLEIDEN
17
18# Uncomment if you like to compile a debugging kernel
19#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
20#options KDB # Kernel debugger related code
21#options KDB_TRACE # Print a stack trace for a panic
22#options STACK # stack(9) support
23
24options CPU_ELAN # Soekris support
25options CPU_SOEKRIS # Some units are Soekris Machines.
26options CPU_GEODE # net4801 requirement
27
28
29options NO_SWAPPING # Embedded Machines.
30options SW_WATCHDOG # Remote emergency reboots.
31
32options ROUTETABLES=6 # Multiple routing table support
33
34# To statically compile in device wiring instead of /boot/device.hints
35#hints "GENERIC.hints" # Default places to look for devices.
36
37options SCHED_ULE # ULE scheduler
38options PREEMPTION # Enable kernel thread preemption
39options INET # InterNETworking
40options INET6 # IPv6 communications protocols
41options SCTP # Stream Control Transmission Protocol
42options FFS # Berkeley Fast Filesystem
43options SOFTUPDATES # Enable FFS soft updates support
44options PSEUDOFS # Pseudo-filesystem framework
45options GEOM_LABEL # Provides labelization
46options KTRACE # ktrace(1) support
47options SYSVSHM # SYSV-style shared memory
48options SYSVMSG # SYSV-style message queues
49options SYSVSEM # SYSV-style semaphores
50options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
51options KBD_INSTALL_CDEV # install a CDEV entry in /dev
52options INCLUDE_CONFIG_FILE # Include this file in kernel
53
54# To make an SMP kernel, the next two lines are needed
55options SMP # Symmetric MultiProcessor Kernel
56device apic # I/O APIC
57
58# Bus support.
59device pci
60device acpi
61
62# ATA controllers
63device ahci # AHCI-compatible SATA controllers
64device ata # Legacy ATA/SATA controllers
65#options ATA_CAM # Handle legacy controllers with CAM
66options ATA_STATIC_ID # Static device numbering
67
68# ATA/SCSI peripherals
69device scbus # SCSI bus (required for ATA/SCSI)
70device da # Direct Access (disks)
71device pass # Passthrough device (direct ATA/SCSI access)
72
73# PCCARD (PCMCIA) support
74# PCMCIA and cardbus bridge support
75device cbb # cardbus (yenta) bridge
76device pccard # PC Card (16-bit) bus
77device cardbus # CardBus (32-bit) bus
78
79# Serial (COM) ports
80device uart # Generic UART driver
81
82# PCI Ethernet NICs that use the common MII bus controller code.
83# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
84device miibus # MII bus support
85device vr # VIA Rhine, Rhine II
86device sis # SiS 900/SiS 7016
87device re # Realtek RTL8169S/8110S/8211
88
89# Wireless NIC cards
90device wlan # 802.11 support
91options IEEE80211_DEBUG # enable debug msgs
92options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
93options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
94device ath # Atheros NIC's
95device ath_pci # Atheros pci/cardbus glue
96device ath_hal # pci/cardbus chip support
97options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
98device ath_rate_sample # SampleRate tx rate control for ath
99device ral # Ralink Technology RT2500 wireless NICs.
100device wi # WaveLan/Intersil/Symbol 802.11 wireless NICs.
101
102# Pseudo devices.
103device loop # Network loopback
104device random # Entropy device
105device ether # Ethernet support
106device vlan # 802.1Q VLAN support
107device tun # Packet tunnel.
108device pty # BSD-style compatibility pseudo ttys
109device md # Memory "disks"
110device gif # IPv6 and IPv4 tunneling
111device firmware # firmware assist module
112
113# The `bpf' device enables the Berkeley Packet Filter.
114# Be aware of the administrative consequences of enabling this!
115# Note that 'bpf' is required for DHCP.
116device bpf # Berkeley packet filter
117
118# USB support
119options USB_DEBUG # enable debug msgs
120device uhci # UHCI PCI->USB interface
121device ohci # OHCI PCI->USB interface
122device ehci # EHCI PCI->USB interface (USB 2.0)
123device xhci # XHCI PCI->USB interface (USB 3.0)
124device usb # USB Bus (required)
125device umass # Disks/Mass storage - Requires scbus and da
126
127# MMC/SD
128device mmc # MMC/SD bus
129device mmcsd # MMC/SD memory card
130device sdhci # Generic PCI SD Host Controller
131
132# USB Serial devices
133device u3g # USB-based 3G modems (Option, Huawei, Sierra)
134device uark # Technologies ARK3116 based serial adapters
135device ubsa # Belkin F5U103 and compatible serial adapters
136device uftdi # For FTDI usb serial adapters
137device uipaq # Some WinCE based devices
138device uplcom # Prolific PL-2303 serial adapters
139device uslcom # SI Labs CP2101/CP2102 serial adapters
140device uvisor # Visor and Palm devices
141device uvscom # USB serial support for DDI pocket's PHS
142
143# USB Ethernet, requires miibus
144device aue # ADMtek USB Ethernet
145device axe # ASIX Electronics USB Ethernet
146device cdce # Generic USB over Ethernet
147device cue # CATC USB Ethernet
148device kue # Kawasaki LSI USB Ethernet
149device mos # Mos USB Ethernet
150device rue # RealTek RTL8150 USB Ethernet
151device udav # Davicom DM9601E USB
152device ure # RealTek RTL8152 USB Ethernet
153
154# USB Wireless
155device rum # Ralink Technology RT2501USB wireless NICs
156device run # Ralink Technology RT2700/RT2800/RT3000 NICs.
157device uath # Atheros AR5523 wireless NICs
158device upgt # Conexant/Intersil PrismGT wireless NICs.
159device ural # Ralink Technology RT2500USB wireless NICs
160device urtw # Realtek RTL8187B/L wireless NICs
161device zyd # ZyDAS zd1211/zd1211b wireless NICs
162
163# Authentication, encryption and protection on network layer
164device wlan_xauth #802.11 external authenticator support
165device enc #IPsec interface
166device crypto # core crypto support
167device cryptodev # /dev/crypto for access to h/w
168device pf #PF OpenBSD packet-filter firewall
169device pflog #logging support interface for PF
170options IPSEC #IP security (requires device crypto)
171
172# glxsb is a driver for the Security Block in AMD Geode LX processors.
173# Requires 'device crypto'.
174device glxsb # AMD Geode LX Security Block
175
176# Allow combining interfaces
177device if_bridge
178
179# Needed for VPN and other alternative tunnels
180device tap
181
182# In case we like to limit and play more clever with inet traffic and running
183# queues and such.
184options ALTQ
185options ALTQ_CBQ # Class Bases Queuing (CBQ)
186options ALTQ_RED # Random Early Detection (RED)
187options ALTQ_RIO # RED In/Out
188options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
189options ALTQ_PRIQ # Priority Queuing (PRIQ)
190
191# Make ipfw firewall with NAT available for use, also see:
192# http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html
193options IPFIREWALL
194options IPFIREWALL_VERBOSE
195options IPFIREWALL_VERBOSE_LIMIT=5
196options IPFIREWALL_DEFAULT_TO_ACCEPT
197options IPFIREWALL_NAT
198options IPDIVERT
199options DUMMYNET
200options LIBALIAS
201
202# Speed-up Apache and other webservices using this feature
203options ACCEPT_FILTER_HTTP
Note: See TracBrowser for help on using the repository browser.