AP93 revision 235320
1# 2# AP93 -- Kernel configuration file for FreeBSD/mips for Atheros AP93 reference 3# board (AR7240) 4# 5# $FreeBSD: head/sys/mips/conf/AP93 235320 2012-05-12 04:52:59Z adrian $ 6# 7 8ident AP93 9 10# XXX The default load address in the Uboot environment is 0x80010000 11makeoptions KERNLOADADDR=0x80050000 12options HZ=1000 13 14# The AP93 has 64mb of RAM; hard-code that 15options AR71XX_REALMEM=64*1024*1024 16 17# It's UBOOT, not Redboot - without this, things will hang at startup 18options AR71XX_ENV_UBOOT 19 20makeoptions MODULES_OVERRIDE="ath ath_pci ath_ahb bridgestp if_bridge if_gif if_gre random wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt wlan_tkip wlan_wep wlan_xauth usb ar71xx" 21 22hints "AP93.hints" 23include "../atheros/std.ar71xx" 24 25makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 26makeoptions MODULES_OVERRIDE="" 27 28options DDB 29options KDB 30 31options SCHED_4BSD #4BSD scheduler 32options INET #InterNETworking 33# Can't do IPv6 - it just doesn't fit. 34# options INET6 35# options NFSCL #Network Filesystem Client 36options PSEUDOFS #Pseudo-filesystem framework 37options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions 38options ALQ 39 40# Debugging for use in -current 41options DEADLKRES 42options INVARIANTS 43options INVARIANT_SUPPORT 44options WITNESS 45options WITNESS_SKIPSPIN 46options FFS #Berkeley Fast Filesystem 47 48# Support uncompress lzma rootfs 49device geom_uncompress 50options GEOM_UNCOMPRESS 51options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" 52 53# PCI bus 54device pci 55device ar724x_pci 56# Enable the AR71xx EEPROM PCI(e) workaround 57options AR71XX_ATH_EEPROM 58 59# NVRAM U-Boot Environment -> Kernel environment 60device nvram2env 61 62# Wireless NIC cards 63options IEEE80211_DEBUG 64options IEEE80211_SUPPORT_MESH 65options IEEE80211_SUPPORT_TDMA 66options IEEE80211_ALQ 67 68device wlan # 802.11 support 69device wlan_wep # 802.11 WEP support 70device wlan_ccmp # 802.11 CCMP support 71device wlan_tkip # 802.11 TKIP support 72device wlan_xauth # 802.11 hostap support 73 74device ath # Atheros pci/cardbus NIC's 75device ath_pci # PCI/PCIe bus glue 76options ATH_DEBUG 77options ATH_ENABLE_11N 78options ATH_DIAGAPI 79device firmware 80options ATH_EEPROM_FIRMWARE 81 82device ath_hal 83options AH_SUPPORT_AR5416 84options AH_DEBUG 85options AH_DEBUG_ALQ 86 87device ath_rate_sample 88 89device mii 90device arge 91device miiproxy 92options ARGE_DEBUG 93options ARGE_MDIO 94device etherswitch 95device arswitch 96 97# USB devices - (todo: does AR7240 have OHCI, or just EHCI?) 98 99#device usb 100options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order 101options USB_DEBUG 102options USB_HOST_ALIGN=32 103#device ehci 104 105# Mass storage 106#device scbus 107#device umass 108#device da 109 110# Read MSDOS formatted disks 111options GEOM_PART_BSD 112options GEOM_PART_MBR 113#options MSDOSFS 114 115# GPIO Bus 116#device gpio 117#device gpioled 118 119# SPI and flash 120device spibus 121device ar71xx_spi 122device mx25l 123 124# The flash is statically partitioned; add in that 125device geom_map 126 127device ar71xx_wdog 128 129# Serial 130device uart 131 132# Network twiddling 133device loop 134device ether 135device md 136device bpf 137device random 138device if_bridge 139