]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR724X
Merge ACPICA 20170531.
[FreeBSD/FreeBSD.git] / sys / mips / conf / std.AR724X
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$
9 #
10
11 machine         mips mips
12 #ident          AR724X_BASE
13 cpu             CPU_MIPS24K
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="gpio ar71xx if_gif if_gre if_tap if_tun libalias ipfw ipfw_nat ipfw_nptv6 if_vlan if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath_main ath_pci ath_hal ath_hal_ar5212 ath_hal_ar5416 ath_hal_ar9300 ath_rate ath_dfs hwpmc hwpmc_mips24k cam"
29
30 # For small memory footprints
31 options         VM_KMEM_SIZE_SCALE=1
32
33 options         DDB
34 options         KDB
35 options         EARLY_PRINTF
36
37 options         SCHED_4BSD              #4BSD scheduler
38 options         INET                    #InterNETworking
39 #options        INET6                   # IPv6
40 options         TCP_HHOOK               # hhook(9) framework for TCP
41 #options        NFSCL                   #Network Filesystem Client
42 options         PSEUDOFS                #Pseudo-filesystem framework
43 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
44
45 #options        NFS_LEGACYRPC
46 # Debugging for use in -current
47 options         INVARIANTS
48 options         INVARIANT_SUPPORT
49 options         WITNESS
50 options         WITNESS_SKIPSPIN
51 options         DEBUG_REDZONE
52 options         DEBUG_MEMGUARD
53
54 # Don't include the SCSI/CAM strings in the default build
55 options         SCSI_NO_SENSE_STRINGS
56 options         SCSI_NO_OP_STRINGS
57
58 # .. And no sysctl strings
59 options         NO_SYSCTL_DESCR
60
61 options         FFS                     #Berkeley Fast Filesystem
62 options         NO_FFS_SNAPSHOT
63
64 options         IPFIREWALL_DEFAULT_TO_ACCEPT
65
66 # options         SOFTUPDATES             #Enable FFS soft updates support
67 # options         UFS_ACL                 #Support for access control lists
68 # options         UFS_DIRHASH             #Improve performance on big directories
69 # options       MSDOSFS                 # Read MSDOS filesystems; useful for USB/CF
70
71 options         UMTX_CHAINS=16
72
73 device          pci
74 device          ar724x_pci
75
76 # 802.11 framework
77 options         IEEE80211_DEBUG
78 options         IEEE80211_ALQ
79 options         IEEE80211_SUPPORT_MESH
80 options         IEEE80211_SUPPORT_SUPERG
81 options         IEEE80211_SUPPORT_TDMA
82 options         IEEE80211_AMPDU_AGE
83 #device         wlan            # 802.11 support
84 #device         wlan_wep        # 802.11 WEP support
85 #device         wlan_ccmp       # 802.11 CCMP support
86 #device         wlan_tkip       # 802.11 TKIP support
87 #device         wlan_xauth      # 802.11 hostap support
88
89 # Atheros wireless NICs
90 #device         ath             # Atheros interface support
91 #device         ath_pci         # Atheros PCI/Cardbus bus
92 options         ATH_DEBUG
93 options         ATH_DIAGAPI
94 options         ATH_ENABLE_11N
95 options         AH_DEBUG
96 options         AH_DEBUG_ALQ
97 options         ALQ
98 #device         ath_hal
99 option          AH_SUPPORT_AR5416
100 #device         ath_rate_sample
101 option          AH_RXCFG_SDMAMW_4BYTES
102 option          AH_AR5416_INTERRUPT_MITIGATION
103 # There's no DFS radar detection support yet so this won't actually
104 # detect radars.  It however does enable the rest of the channel change
105 # machinery so DFS can be debugged.
106 option          ATH_ENABLE_DFS
107
108 device          mii
109 device          arge
110 options         ARGE_DEBUG      # Enable if_arge debugging for now
111
112 #device         usb
113 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
114 options         USB_DEBUG
115 options         USB_HOST_ALIGN=32               # AR724X (MIPS in general?) requires this
116 #device         ehci
117
118 #device         umass
119
120 device          scbus
121 device          da
122
123 # On-board SPI flash
124 device          spibus
125 device          ar71xx_spi
126 device          mx25l
127 device          ar71xx_wdog
128
129 device          uart
130 device          uart_ar71xx
131
132 device          ar71xx_apb
133
134 device          loop
135 device          ether
136 device          md
137 device          bpf
138 device          random
139 #device         if_bridge
140 #device         gif             # ip[46] in ip[46] tunneling protocol
141 #device         gre             # generic encapsulation - only for IPv4 in IPv4 though atm
142
143 # Enable GPIO
144 #device         gpio
145 #device         gpioled