Annotation of elwix/config/ELWIX_AR724X, revision 1.1.2.2

1.1.2.1   misho       1: #
                      2: # AR724X -- Kernel configuration file for FreeBSD/MIPS for Atheros 724x systems
                      3: #
                      4: # This includes all the common drivers for the AR724x boards.
                      5: # Since the AR724x boards tend to have minimal flash (sometimes 4MB!),
                      6: # the majority of the kernel framework will be built as modules.
                      7: #
                      8: # $FreeBSD: src/sys/mips/conf/AR724X_BASE,v 1.7 2012/11/17 05:10:20 svnexp Exp $
                      9: #
                     10: 
                     11: machine                mips mips
                     12: ident          AR724X_BASE
                     13: cpu            CPU_MIPS4KC
                     14: makeoptions    KERNLOADADDR=0x80050000
                     15: options                HZ=1000
                     16: options                HWPMC_HOOKS
                     17: 
                     18: files          "../atheros/files.ar71xx"
                     19: 
                     20: # For now, hints are per-board.
                     21: 
                     22: hints          "AR724X_BASE.hints"
                     23: 
                     24: makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
                     25: 
                     26: # Build these as modules so small platform builds will have the
                     27: # modules already built.
                     28: makeoptions    MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci hwpmc cam"
                     29: 
                     30: options                DDB
1.1.2.2 ! misho      31: #options               KDB
1.1.2.1   misho      32: 
                     33: options                SCHED_4BSD              #4BSD scheduler
                     34: options                INET                    #InterNETworking
1.1.2.2 ! misho      35: options        INET6                   # IPv6
        !            36: options        NFSCL                   #Network Filesystem Client
1.1.2.1   misho      37: options                PSEUDOFS                #Pseudo-filesystem framework
                     38: options                _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
                     39: 
                     40: #options               NFS_LEGACYRPC
                     41: # Debugging for use in -current
1.1.2.2 ! misho      42: #options               INVARIANTS
        !            43: #options               INVARIANT_SUPPORT
        !            44: #options               WITNESS
        !            45: #options               WITNESS_SKIPSPIN
        !            46: #options               DEBUG_REDZONE
        !            47: #options               DEBUG_MEMGUARD
1.1.2.1   misho      48: 
                     49: # Don't include the SCSI/CAM strings in the default build
                     50: options        SCSI_NO_SENSE_STRINGS
                     51: options        SCSI_NO_OP_STRINGS
                     52: 
                     53: # .. And no sysctl strings
                     54: options         NO_SYSCTL_DESCR
                     55: 
                     56: options         FFS                     #Berkeley Fast Filesystem
                     57: options        NO_FFS_SNAPSHOT
                     58: # options         SOFTUPDATES             #Enable FFS soft updates support
                     59: # options         UFS_ACL                 #Support for access control lists
                     60: # options         UFS_DIRHASH             #Improve performance on big directories
                     61: # options              MSDOSFS                 # Read MSDOS filesystems; useful for USB/CF
                     62: 
                     63: device         pci
                     64: device         ar724x_pci
                     65: 
                     66: # 802.11 framework
                     67: options                IEEE80211_DEBUG
                     68: options                IEEE80211_ALQ
                     69: options                IEEE80211_SUPPORT_MESH
                     70: options                IEEE80211_SUPPORT_SUPERG
                     71: options                IEEE80211_SUPPORT_TDMA
                     72: options                IEEE80211_AMPDU_AGE
1.1.2.2 ! misho      73: device         wlan            # 802.11 support
        !            74: device         wlan_wep        # 802.11 WEP support
        !            75: device         wlan_ccmp       # 802.11 CCMP support
        !            76: device         wlan_tkip       # 802.11 TKIP support
        !            77: device         wlan_xauth      # 802.11 hostap support
1.1.2.1   misho      78: 
                     79: # Atheros wireless NICs
1.1.2.2 ! misho      80: device         ath             # Atheros interface support
        !            81: device         ath_pci         # Atheros PCI/Cardbus bus
1.1.2.1   misho      82: options        ATH_DEBUG
                     83: options                ATH_DIAGAPI
                     84: options                ATH_ENABLE_11N
                     85: options                AH_DEBUG
                     86: options                AH_DEBUG_ALQ
                     87: options                ALQ
1.1.2.2 ! misho      88: device         ath_hal
1.1.2.1   misho      89: option         AH_SUPPORT_AR5416
1.1.2.2 ! misho      90: device         ath_rate_sample
1.1.2.1   misho      91: option         AH_RXCFG_SDMAMW_4BYTES
                     92: option         AH_AR5416_INTERRUPT_MITIGATION
                     93: # There's no DFS radar detection support yet so this won't actually
                     94: # detect radars.  It however does enable the rest of the channel change
                     95: # machinery so DFS can be debugged.
                     96: option         ATH_ENABLE_DFS
                     97: 
                     98: device         mii
                     99: device         arge
                    100: options        ARGE_DEBUG      # Enable if_arge debugging for now
                    101: 
                    102: #device                usb
                    103: options                USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
                    104: options                USB_DEBUG
                    105: options                USB_HOST_ALIGN=32               # AR724X (MIPS in general?) requires this
                    106: #device                ehci
                    107: 
                    108: #device                umass
                    109: 
                    110: device         scbus
                    111: device         da
                    112: 
                    113: # On-board SPI flash
                    114: device         spibus
                    115: device         ar71xx_spi
                    116: device         mx25l
                    117: device         ar71xx_wdog
                    118: 
                    119: device         uart
                    120: device         uart_ar71xx
                    121: 
                    122: device         loop
                    123: device         ether
                    124: device         md
                    125: device         bpf
1.1.2.2 ! misho     126: device         random
        !           127: device         if_bridge
        !           128: device         gif             # ip[46] in ip[46] tunneling protocol
1.1.2.1   misho     129: #device                gre             # generic encapsulation - only for IPv4 in IPv4 though atm
                    130: 
                    131: # Enable GPIO
1.1.2.2 ! misho     132: device         gpio
        !           133: device         gpioled

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>