source: hybrid/branches/releng-10/nanobsd/cfg/kernel.wleiden.apu@ 12985

Last change on this file since 12985 was 12985, checked in by ed, 10 years ago

Adding two files for building a WirelessLeiden node image for the PCengine ALIX.APU board

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