]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/arm/conf/DREAMPLUG-1001
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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         CD9660                  #ISO 9660 filesystem
39 options         FFS                     #Berkeley Fast Filesystem
40 options         MSDOSFS                 #MS DOS File System (FAT, FAT32)
41 options         NULLFS                  #NULL filesystem
42 options         TMPFS                   #Efficient memory 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_ELI                # Disk encryption.
48 options         GEOM_LABEL              # Providers labelization.
49 options         GEOM_PART_GPT           # GPT partitioning
50
51 # Flattened Device Tree
52 device          fdt
53 options         FDT
54 options         FDT_DTB_STATIC
55
56 # Misc pseudo devices
57 device          bpf                     #Required for DHCP
58 device          faith                   #IPv6-to-IPv4 relaying (translation)
59 device          firmware                #firmware(9) required for USB wlan
60 device          gif                     #IPv6 and IPv4 tunneling
61 device          loop                    #Network loopback
62 device          md                      #Memory/malloc disk
63 device          pty                     #BSD-style compatibility pseudo ttys
64 device          random                  #Entropy device
65 device          tun                     #Packet tunnel.
66 device          ether                   #Required for all ethernet devices
67 device          vlan                    #802.1Q VLAN support
68 device          wlan                    #802.11 WLAN support
69
70 # cam support for umass and ahci
71 device          scbus
72 device          pass
73 device          da
74 device          cd
75
76 # Serial ports
77 device          uart
78
79 # Networking
80 device          mge                     # Marvell Gigabit Ethernet controller
81 device          mii
82 device          e1000phy
83
84 # USB
85 options         USB_HOST_ALIGN=32       # Align DMA to cacheline
86 #options        USB_DEBUG               # Compile in USB debug support
87 device          usb                     # Basic usb support                     
88 device          ehci                    # USB host controller
89 device          umass                   # Mass storage
90 device          uhid                    # Human-interface devices
91 device          rum                     # Ralink Technology RT2501USB wireless NICs
92 device          uath                    # Atheros AR5523 wireless NICs
93 device          ural                    # Ralink Technology RT2500USB wireless NICs
94 device          zyd                     # ZyDAS zb1211/zb1211b wireless NICs
95 device          urtw                    # Realtek RTL8187B/L USB
96 device          upgt                    # Conexant/Intersil PrismGT SoftMAC USB
97 device          u3g                     # USB-based 3G modems (Option, Huawei, Sierra)
98
99 # I2C (TWSI)
100 device          iic
101 device          iicbus
102
103 # SATA
104 device          mvs
105 device          ahci
106
107 # Sound
108 device          sound
109 device          snd_uaudio
110
111 #crypto
112 device          cesa                    # Marvell security engine
113 device          crypto
114 device          cryptodev
115
116 # IPSec
117 device          enc
118 options         IPSEC
119 options         IPSEC_NAT_T
120 options         TCP_SIGNATURE           #include support for RFC 2385
121
122 # IPFW
123 options         IPFIREWALL
124 options         IPFIREWALL_DEFAULT_TO_ACCEPT
125 options         IPFIREWALL_VERBOSE
126 options         IPFIREWALL_VERBOSE_LIMIT=100
127 options         IPFIREWALL_NAT
128 options         LIBALIAS
129 options         DUMMYNET
130 options         IPDIVERT
131
132 #PF 
133 device          pf
134 device          pflog
135 device          pfsync
136
137 # ALTQ, required for PF
138 options         ALTQ                  # Basic ALTQ support
139 options         ALTQ_CBQ              # Class Based Queueing
140 options         ALTQ_RED              # Random Early Detection
141 options         ALTQ_RIO              # RED In/Out
142 options         ALTQ_HFSC             # Hierarchical Packet Scheduler
143 options         ALTQ_CDNR             # Traffic conditioner
144 options         ALTQ_PRIQ             # Priority Queueing
145 options         ALTQ_NOPCC            # Required if the TSC is unusable
146 #options        ALTQ_DEBUG
147
148 # Debugging
149 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
150 options         BREAK_TO_DEBUGGER
151 options         ALT_BREAK_TO_DEBUGGER
152 options         DDB
153 options         KDB
154 options         DIAGNOSTIC
155 options         INVARIANTS              #Enable calls of extra sanity checking
156 options         INVARIANT_SUPPORT       #Extra sanity checks of internal structures, required by INVARIANTS
157 #options        WITNESS                 #Enable checks to detect deadlocks and cycles
158 #options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for speed
159 #options        WITNESS_KDB
160
161 # Enable these options for nfs root configured via BOOTP.
162 options         NFSCL                   #Network Filesystem Client
163 options         NFSLOCKD                #Network Lock Manager
164 #options        NFS_ROOT                #NFS usable as /, requires NFSCLIENT
165 #options        BOOTP
166 #options        BOOTP_NFSROOT
167 #options        BOOTP_NFSV3
168 #options        BOOTP_WIRED_TO=mge0
169
170 # If not using BOOTP, use something like one of these...
171 #options        ROOTDEVNAME=\"ufs:/dev/da1a\"
172 options         ROOTDEVNAME=\"ufs:/dev/da1s1a\"
173 #options        ROOTDEVNAME=\"ufs:/dev/da1p10\"
174 #options        ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
175
176 # To use this configuration with the (rare) model 1001N (nand flash),
177 # create a kernel config file that looks like this:
178 #
179 # include DREAMPLUG-1001
180 # nomakeoptions FDT_DTS_FILE
181 # makeoptions   FDT_DTS_FILE=dreamplug-1001N.dts
182 # device        nand
183