summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf/TP-WN1043ND
blob: 5493d0f7cdacd34bfce24457eb2a8742ff16f600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND
#
# $FreeBSD$
#

# Include the default AR913x parameters common to all AR913x SoC users.
include         "AR91XX_BASE"

ident           TP-WN1043ND

# Override hints with board values
hints           "TP-WN1043ND.hints"

# Force the board memory - 32mb
options         AR71XX_REALMEM=32*1024*1024

# i2c GPIO bus
device		gpioiic
device		iicbb
device		iicbus
device		iic

# ethernet switch device
device		etherswitch

# RTL8366RB support
device		rtl8366rb

# read MSDOS formatted disks - USB
options		MSDOSFS

# Enable the uboot environment stuff rather then the
# redboot stuff.
options		AR71XX_ENV_UBOOT

# uncompress - to boot natively from flash
device         geom_uncompress
options                GEOM_UNCOMPRESS

# Used for the static uboot partition map
device          geom_map

# Boot off of the rootfs, as defined in the geom_map setup.
options                ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"

# We bite the performance overhead for now; the kernel won't
# fit if the mutexes are inlined.
options        MUTEX_NOINLINE
options        RWLOCK_NOINLINE
options        SX_NOINLINE

# Remove everything we don't need.  We need a _really_ small kernel!
nooptions      INVARIANTS
nooptions      INVARIANT_SUPPORT
nooptions      WITNESS
nooptions      WITNESS_SKIPSPIN
nooptions      DEBUG_REDZONE
nooptions      DEBUG_MEMGUARD
OpenPOWER on IntegriCloud