]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/QCA953X_BASE
Merge libc++ r291274, and update the library Makefile.
[FreeBSD/FreeBSD.git] / sys / mips / conf / QCA953X_BASE
1 #
2 # QCA953x -- Kernel configuration base file for the Qualcomm Atheros QCA953x SoC.
3 #
4 # This file (and the hints file accompanying it) are not designed to be
5 # used by themselves. Instead, users of this file should create a kernel
6 # config file which includes this file (which gets the basic hints), then
7 # override the default options (adding devices as needed) and adding
8 # hints as needed (for example, the GPIO and LAN PHY.)
9 #
10 # $FreeBSD$
11 #
12
13 machine         mips mips
14 ident           QCA953X_BASE
15 cpu             CPU_MIPS24K
16 makeoptions     KERNLOADADDR=0x80050000
17 options         HZ=1000
18
19 files           "../atheros/files.ar71xx"
20 hints           "QCA953X_BASE.hints"
21
22 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
23 makeoptions     MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw"
24
25 options         DDB
26 options         KDB
27 options         ALQ
28 options         BREAK_TO_DEBUGGER
29 options         ALT_BREAK_TO_DEBUGGER
30
31 options         SCHED_4BSD              #4BSD scheduler
32 options         INET                    #InterNETworking
33 #options        INET6                   #InterNETworking
34 options         TCP_HHOOK               # hhook(9) framework for TCP
35 #options        NFSCL                   #Network Filesystem Client
36 options         PSEUDOFS                #Pseudo-filesystem framework
37 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
38
39 # Don't include the SCSI/CAM strings in the default build
40 options         SCSI_NO_SENSE_STRINGS
41 options         SCSI_NO_OP_STRINGS
42
43 # .. And no sysctl strings
44 options         NO_SYSCTL_DESCR
45
46 # For small memory footprints
47 options         VM_KMEM_SIZE_SCALE=1
48
49 # Limit IO size
50 options         NBUF=128
51
52 # Limit UMTX hash size
53 # options       UMTX_NUM_CHAINS=64
54
55 #options        UMA_DEBUG_ALLOC
56
57 # PMC
58 options         HWPMC_HOOKS
59 #options        HWPMC_MIPS_BACKTRACE
60 device          hwpmc
61 device          hwpmc_mips24k
62
63 options         ARGE_DEBUG
64
65 # options       NFS_LEGACYRPC
66 # Debugging for use in -current
67 options         INVARIANTS
68 options         INVARIANT_SUPPORT
69 options         WITNESS
70 options         WITNESS_SKIPSPIN
71 options         FFS                     #Berkeley Fast Filesystem
72 #options        SOFTUPDATES             #Enable FFS soft updates support
73 #options        UFS_ACL                 #Support for access control lists
74 #options        UFS_DIRHASH             #Improve performance on big directories
75 options         NO_FFS_SNAPSHOT         # We don't require snapshot support
76
77 options         IPFIREWALL_DEFAULT_TO_ACCEPT
78
79 # Wireless NIC cards
80 options         IEEE80211_DEBUG
81 options         IEEE80211_SUPPORT_MESH
82 options         IEEE80211_SUPPORT_TDMA
83 options         IEEE80211_SUPPORT_SUPERG
84 options         IEEE80211_ALQ   # 802.11 ALQ logging support
85 device          wlan            # 802.11 support
86 device          wlan_wep        # 802.11 WEP support
87 device          wlan_ccmp       # 802.11 CCMP support
88 device          wlan_tkip       # 802.11 TKIP support
89 device          wlan_xauth      # 802.11 hostap support
90
91 # ath(4)
92 device          ath             # Atheros network device
93 device          ath_rate_sample
94 device          ath_ahb         # Atheros host bus glue
95 options         ATH_DEBUG
96 options         ATH_DIAGAPI
97 option          ATH_ENABLE_11N
98 option          AH_DEBUG_ALQ
99
100 #device         ath_hal
101 device          ath_ar9300              # AR9330 HAL; no need for the others
102 option          AH_DEBUG
103 option          AH_SUPPORT_AR5416       # 11n HAL support
104 option          AH_SUPPORT_QCA9530      # Chipset support
105 option          AH_AR5416_INTERRUPT_MITIGATION
106
107 device          mii
108 device          arge
109
110 device          usb
111 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
112 options         USB_DEBUG
113 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
114 device          ehci
115
116 device          scbus
117 device          umass
118 device          da
119
120 device          spibus
121 device          ar71xx_spi
122 device          mx25l
123 device          ar71xx_wdog
124
125 # Handle 25MHz refclock by allowing a higher baudrate error tolerance.
126 device          uart
127 device          uart_ar71xx
128 options         UART_DEV_TOLERANCE_PCT=50
129
130 device          ar71xx_apb
131
132 device          loop
133 device          ether
134 device          md
135 device          bpf
136 device          random
137 device          if_bridge
138 device          gpio
139 device          gpioled