]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/std.AR933X
Merge ^/head r306906 through r307382.
[FreeBSD/FreeBSD.git] / sys / mips / conf / std.AR933X
1 #
2 # AR91XX -- Kernel configuration base file for the Atheros AR913x 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          std.AR933X
15 cpu             CPU_MIPS24K
16 makeoptions     KERNLOADADDR=0x80050000
17 options         HZ=1000
18
19 files           "../atheros/files.ar71xx"
20 hints           "AR933X_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_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"
24
25 options         DDB
26 options         KDB
27 options         ALQ
28 options         ALT_BREAK_TO_DEBUGGER
29
30 options         SCHED_4BSD              #4BSD scheduler
31 options         INET                    #InterNETworking
32 #options        INET6                   #InterNETworking
33 options         TCP_HHOOK               # hhook(9) framework for TCP
34 #options        NFSCL                   #Network Filesystem Client
35 options         PSEUDOFS                #Pseudo-filesystem framework
36 options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
37
38 # Don't include the SCSI/CAM strings in the default build
39 options         SCSI_NO_SENSE_STRINGS
40 options         SCSI_NO_OP_STRINGS
41
42 # .. And no sysctl strings
43 options         NO_SYSCTL_DESCR
44
45 # For small memory footprints
46 options         VM_KMEM_SIZE_SCALE=1
47
48 # Limit IO size
49 options         NBUF=128
50
51 # Limit UMTX hash size
52 # options       UMTX_NUM_CHAINS=64
53
54 # PMC
55 #options        HWPMC_HOOKS
56 #device         hwpmc
57 #device         hwpmc_mips24k
58
59 # options       NFS_LEGACYRPC
60 # Debugging for use in -current
61 #options        INVARIANTS
62 #options        INVARIANT_SUPPORT
63 #options        WITNESS
64 #options        WITNESS_SKIPSPIN
65 options         FFS                     #Berkeley Fast Filesystem
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         NO_FFS_SNAPSHOT         # We don't require snapshot support
70
71 options         IPFIREWALL_DEFAULT_TO_ACCEPT
72
73 # Wireless NIC cards
74 options         IEEE80211_DEBUG
75 options         IEEE80211_SUPPORT_MESH
76 options         IEEE80211_SUPPORT_TDMA
77 options         IEEE80211_SUPPORT_SUPERG
78 options         IEEE80211_ALQ   # 802.11 ALQ logging support
79 device          wlan            # 802.11 support
80 device          wlan_wep        # 802.11 WEP support
81 device          wlan_ccmp       # 802.11 CCMP support
82 device          wlan_tkip       # 802.11 TKIP support
83 device          wlan_xauth      # 802.11 hostap support
84
85 # ath(4)
86 device          ath             # Atheros network device
87 device          ath_rate_sample
88 device          ath_ahb         # Atheros host bus glue
89 options         ATH_DEBUG
90 options         ATH_DIAGAPI
91 option          ATH_ENABLE_11N
92 option          AH_DEBUG_ALQ
93
94 #device         ath_hal
95 device          ath_ar9300              # AR9330 HAL; no need for the others
96 option          AH_DEBUG
97 option          AH_SUPPORT_AR5416       # 11n HAL support
98 option          AH_SUPPORT_AR9330       # Chipset support
99 option          AH_AR5416_INTERRUPT_MITIGATION
100
101 device          mii
102 device          arge
103
104 device          usb
105 options         USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
106 options         USB_DEBUG
107 options         USB_HOST_ALIGN=32               # AR71XX (MIPS in general?) requires this
108 device          ehci
109
110 device          scbus
111 device          umass
112 device          da
113
114 device          spibus
115 device          ar71xx_spi
116 device          mx25l
117 device          ar71xx_wdog
118
119 device          uart
120 device          uart_ar933x
121
122 device          ar71xx_apb
123
124 device          loop
125 device          ether
126 device          md
127 device          bpf
128 device          random
129 device          if_bridge
130 device          gpio
131 device          gpioled