1 # KB920X -- Custom kernel configuration for the KB9202 (no letter, A and B)
2 # AT91RM9200 evaluation boards from kwikbyte.com.
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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 (http://www.FreeBSD.org/) for the
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
23 include "../at91/std.kb920x"
24 # The AT91 platform doesn't use /boot/loader, so we have to statically wire
27 makeoptions MODULES_OVERRIDE=""
29 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
33 options SCHED_4BSD #4BSD scheduler
34 options INET #InterNETworking
35 #options INET6 #IPv6 communications protocols
36 options FFS #Berkeley Fast Filesystem
37 #options SOFTUPDATES #Enable FFS soft updates support
38 #options UFS_ACL #Support for access control lists
39 #options UFS_DIRHASH #Improve performance on big directories
40 #options MD_ROOT #MD is a potential root device
41 #options MD_ROOT_SIZE=4096 # 4MB ram disk
42 options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
43 options NFSCL #New Network Filesystem Client
44 #options NFSD #New Network Filesystem Server
45 #options NFSLOCKD #Network Lock Manager
46 #options NFS_ROOT #NFS usable as /, requires NFSCL
47 #options BOOTP_NFSROOT
50 #options MSDOSFS #MSDOS Filesystem
51 #options CD9660 #ISO 9660 Filesystem
52 #options PROCFS #Process filesystem (requires PSEUDOFS)
53 options PSEUDOFS #Pseudo-filesystem framework
54 #options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
55 #options KTRACE #ktrace(1) support
56 options SYSVSHM #SYSV-style shared memory
57 options SYSVMSG #SYSV-style message queues
58 options SYSVSEM #SYSV-style semaphores
59 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
60 #options NO_SYSCTL_DESCR
61 # Disable the inlining of mutex, rwlock and sx locks. These eat up a lot
63 options MUTEX_NOINLINE
64 options RWLOCK_NOINLINE
66 options NO_FFS_SNAPSHOT
76 # Debugging for use in -current
77 #options DEADLKRES #Enable the deadlock resolver
78 #options INVARIANTS #Enable calls of extra sanity checking
79 #options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
80 #options WITNESS #Enable checks to detect deadlocks and cycles
81 #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
84 device at91_twi # TWI: Two Wire Interface
85 device at91_spi # SPI:
98 options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
99 options USB_DEBUG # enable debug msgs
100 device ohci # OHCI localbus->USB interface
101 device usb # USB Bus (required)
102 #device udbp # USB Double Bulk Pipe devices
103 device uhid # "Human Interface Devices"
104 device ulpt # Printer
105 device umass # Disks/Mass storage - Requires scbus and da
106 device urio # Diamond Rio 500 MP3 player
108 device uark # Technologies ARK3116 based serial adapters
109 device ubsa # Belkin F5U103 and compatible serial adapters
110 device uftdi # For FTDI usb serial adapters
111 device uipaq # Some WinCE based devices
112 device uplcom # Prolific PL-2303 serial adapters
113 device uslcom # SI Labs CP2101/CP2102 serial adapters
114 device uvisor # Visor and Palm devices
115 device uvscom # USB serial support for DDI pocket's PHS
116 # USB Ethernet, requires miibus
118 device aue # ADMtek USB Ethernet
119 device axe # ASIX Electronics USB Ethernet
120 device cdce # Generic USB over Ethernet
121 device cue # CATC USB Ethernet
122 device kue # Kawasaki LSI USB Ethernet
123 device rue # RealTek RTL8150 USB Ethernet
124 device udav # Davicom DM9601E USB
126 device rum # Ralink Technology RT2501USB wireless NICs
127 device uath # Atheros AR5523 wireless NICs
128 device ural # Ralink Technology RT2500USB wireless NICs
129 device zyd # ZyDAS zd1211/zd1211b wireless NICs
131 device scbus # SCSI bus (required for SCSI)
132 device da # Direct Access (disks)
134 device pass # Passthrough device (direct SCSI access)
136 device wlan # 802.11 support
137 device wlan_wep # 802.11 WEP support
138 device wlan_ccmp # 802.11 CCMP support
139 device wlan_tkip # 802.11 TKIP support
140 device wlan_amrr # AMRR transmit rate control algorithm
142 # USB device (gadget) support
143 device at91_dci # Atmel's usb device
144 device usfs # emulate a flash
145 device cdce # emulate an ethernet
146 device usb_template # Control of the gadget
148 options IEEE80211_SUPPORT_MESH
150 options AH_SUPPORT_AR5416