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