]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/blob - sys/arm/conf/DREAMPLUG-1001
Copy stable/10@r272459 to releng/10.1 as part of
[FreeBSD/releng/10.1.git] / sys / arm / conf / DREAMPLUG-1001
1 # Kernel config for GlobalScale Technologies DreamPlug version 1001.
2 #
3 # This is for units that are version 10, revision 01, with NOR SPI flash.
4 # These units are identified with the number "1001" on the S/N label.
5 #
6 # For more information on this file, please read the handbook section on
7 # Kernel Configuration Files:
8 #
9 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10 #
11 # The handbook is also available locally in /usr/share/doc/handbook
12 # if you've installed the doc distribution, otherwise always see the
13 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # latest information.
15 #
16 # An exhaustive list of options and more detailed explanations of the
17 # device lines is also present in the ../../conf/NOTES and NOTES files. 
18 # If you are in doubt as to the purpose or necessity of a line, check first 
19 # in NOTES.
20 #
21 # $FreeBSD$
22 #
23
24 ident           DREAMPLUG-1001
25
26 include         "../mv/kirkwood/std.db88f6xxx"
27
28 makeoptions     FDT_DTS_FILE=dreamplug-1001.dts
29
30 makeoptions     MODULES_OVERRIDE=""
31
32 options         SOC_MV_KIRKWOOD
33
34 options         SCHED_4BSD              # 4BSD scheduler
35 options         INET                    # InterNETworking
36 options         INET6                   # IPv6 communications protocols
37 options         SOFTUPDATES
38 options         TMPFS                   # Efficient memory filesystem
39 options         CD9660                  # ISO 9660 filesystem
40 options         FFS                     # Berkeley Fast Filesystem
41 options         MSDOSFS                 # MS DOS File System (FAT, FAT32)
42 options         NULLFS                  # NULL filesystem
43 options         SYSVSHM                 # SYSV-style shared memory
44 options         SYSVMSG                 # SYSV-style message queues
45 options         SYSVSEM                 # SYSV-style semaphores
46 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
47 options         GEOM_PART_BSD           # BSD partition scheme
48 options         GEOM_PART_MBR           # MBR partition scheme
49 options         GEOM_ELI                # Disk encryption.
50 options         GEOM_LABEL              # Providers labelization.
51 options         GEOM_PART_GPT           # GPT partitioning
52
53 # Flattened Device Tree
54 device          fdt
55 options         FDT
56 options         FDT_DTB_STATIC
57
58 # Misc pseudo devices
59 device          bpf                     # Required for DHCP
60 device          faith                   # IPv6-to-IPv4 relaying (translation)
61 device          firmware                # firmware(9) required for USB wlan
62 device          gif                     # IPv6 and IPv4 tunneling
63 device          loop                    # Network loopback
64 device          md                      # Memory/malloc disk
65 device          pty                     # BSD-style compatibility pseudo ttys
66 device          random                  # Entropy device
67 device          tun                     # Packet tunnel.
68 device          ether                   # Required for all ethernet devices
69 device          vlan                    # 802.1Q VLAN support
70 device          wlan                    # 802.11 WLAN support
71
72 # cam support for umass and ahci
73 device          scbus
74 device          pass
75 device          da
76 device          cd
77
78 # Serial ports
79 device          uart
80
81 # Networking
82 device          mge                     # Marvell Gigabit Ethernet controller
83 device          mii
84 device          e1000phy
85
86 # USB
87 options         USB_HOST_ALIGN=32       # Align DMA to cacheline
88 #options        USB_DEBUG               # Compile in USB debug support
89 device          usb                     # Basic usb support                     
90 device          ehci                    # USB host controller
91 device          umass                   # Mass storage
92 device          uhid                    # Human-interface devices
93 device          rum                     # Ralink Technology RT2501USB wireless NICs
94 device          uath                    # Atheros AR5523 wireless NICs
95 device          ural                    # Ralink Technology RT2500USB wireless NICs
96 device          zyd                     # ZyDAS zb1211/zb1211b wireless NICs
97 device          urtw                    # Realtek RTL8187B/L USB
98 device          upgt                    # Conexant/Intersil PrismGT SoftMAC USB
99 device          u3g                     # USB-based 3G modems (Option, Huawei, Sierra)
100
101 # I2C (TWSI)
102 device          iic
103 device          iicbus
104
105 # SATA
106 device          mvs
107 device          ahci
108
109 # Sound
110 device          sound
111 device          snd_uaudio
112
113 #crypto
114 device          cesa                    # Marvell security engine
115 device          crypto
116 device          cryptodev
117
118 # IPSec
119 device          enc
120 options         IPSEC
121 options         IPSEC_NAT_T
122 options         TCP_SIGNATURE           # include support for RFC 2385
123
124 # IPFW
125 options         IPFIREWALL
126 options         IPFIREWALL_DEFAULT_TO_ACCEPT
127 options         IPFIREWALL_VERBOSE
128 options         IPFIREWALL_VERBOSE_LIMIT=100
129 options         IPFIREWALL_NAT
130 options         LIBALIAS
131 options         DUMMYNET
132 options         IPDIVERT
133
134 #PF 
135 device          pf
136 device          pflog
137 device          pfsync
138
139 # ALTQ, required for PF
140 options         ALTQ                    # Basic ALTQ support
141 options         ALTQ_CBQ                # Class Based Queueing
142 options         ALTQ_RED                # Random Early Detection
143 options         ALTQ_RIO                # RED In/Out
144 options         ALTQ_HFSC               # Hierarchical Packet Scheduler
145 options         ALTQ_CDNR               # Traffic conditioner
146 options         ALTQ_PRIQ               # Priority Queueing
147 options         ALTQ_NOPCC              # Required if the TSC is unusable
148 #options        ALTQ_DEBUG
149
150 # Debugging
151 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
152 options         BREAK_TO_DEBUGGER
153 options         ALT_BREAK_TO_DEBUGGER
154 options         DDB
155 options         KDB
156 #options        DIAGNOSTIC
157 #options        INVARIANTS              # Enable calls of extra sanity checking
158 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
159 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
160 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
161 #options        WITNESS_KDB
162
163 # Enable these options for nfs root configured via BOOTP.
164 options         NFSCL                   # Network Filesystem Client
165 options         NFSLOCKD                # Network Lock Manager
166 #options        NFS_ROOT                # NFS usable as /, requires NFSCLIENT
167 #options        BOOTP
168 #options        BOOTP_NFSROOT
169 #options        BOOTP_NFSV3
170 #options        BOOTP_WIRED_TO=mge0
171
172 # If not using BOOTP, use something like one of these...
173 #options        ROOTDEVNAME=\"ufs:/dev/da1a\"
174 options         ROOTDEVNAME=\"ufs:/dev/da1s1a\"
175 #options        ROOTDEVNAME=\"ufs:/dev/da1p10\"
176 #options        ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
177
178 # To use this configuration with the (rare) model 1001N (nand flash),
179 # create a kernel config file that looks like this:
180 #
181 # include DREAMPLUG-1001
182 # nomakeoptions FDT_DTS_FILE
183 # makeoptions   FDT_DTS_FILE=dreamplug-1001N.dts
184 # device        nand
185