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

Last change on this file since 12874 was 12609, checked in by huub, 11 years ago

cust_apply_nanobsd_patches uit de config geschoffeld

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