Deleted Added
full compact
TP-WN1043ND (263301) TP-WN1043ND (291049)
1#
2# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND
3#
1#
2# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND
3#
4# $FreeBSD: head/sys/mips/conf/TP-WN1043ND 263301 2014-03-18 14:41:18Z imp $
4# $FreeBSD: head/sys/mips/conf/TP-WN1043ND 291049 2015-11-19 01:58:12Z imp $
5#
6
5#
6
7#NO_UNIVERSE
8
7# Include the default AR913x parameters common to all AR913x SoC users.
8include "AR91XX_BASE"
9
10ident TP-WN1043ND
11
12# Override hints with board values
13hints "TP-WN1043ND.hints"
14
15# Force the board memory - 32mb
16options AR71XX_REALMEM=32*1024*1024
17
18# i2c GPIO bus
19device gpioiic
20device iicbb
21device iicbus
22device iic
23
24# ethernet switch device
25device etherswitch
26
27# RTL8366RB support
28device rtl8366rb
29
30# read MSDOS formatted disks - USB
31options MSDOSFS
32
33# Enable the uboot environment stuff rather then the
34# redboot stuff.
35options AR71XX_ENV_UBOOT
36
37# uncompress - to boot natively from flash
38device geom_uncompress
39options GEOM_UNCOMPRESS
40
41# Used for the static uboot partition map
42device geom_map
43
44# Boot off of the rootfs, as defined in the geom_map setup.
45options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
46
47# We bite the performance overhead for now; the kernel won't
48# fit if the mutexes are inlined.
49options MUTEX_NOINLINE
50options RWLOCK_NOINLINE
51options SX_NOINLINE
52
53# Remove everything we don't need. We need a _really_ small kernel!
54nooptions INVARIANTS
55nooptions INVARIANT_SUPPORT
56nooptions WITNESS
57nooptions WITNESS_SKIPSPIN
58nooptions DEBUG_REDZONE
59nooptions DEBUG_MEMGUARD
9# Include the default AR913x parameters common to all AR913x SoC users.
10include "AR91XX_BASE"
11
12ident TP-WN1043ND
13
14# Override hints with board values
15hints "TP-WN1043ND.hints"
16
17# Force the board memory - 32mb
18options AR71XX_REALMEM=32*1024*1024
19
20# i2c GPIO bus
21device gpioiic
22device iicbb
23device iicbus
24device iic
25
26# ethernet switch device
27device etherswitch
28
29# RTL8366RB support
30device rtl8366rb
31
32# read MSDOS formatted disks - USB
33options MSDOSFS
34
35# Enable the uboot environment stuff rather then the
36# redboot stuff.
37options AR71XX_ENV_UBOOT
38
39# uncompress - to boot natively from flash
40device geom_uncompress
41options GEOM_UNCOMPRESS
42
43# Used for the static uboot partition map
44device geom_map
45
46# Boot off of the rootfs, as defined in the geom_map setup.
47options ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
48
49# We bite the performance overhead for now; the kernel won't
50# fit if the mutexes are inlined.
51options MUTEX_NOINLINE
52options RWLOCK_NOINLINE
53options SX_NOINLINE
54
55# Remove everything we don't need. We need a _really_ small kernel!
56nooptions INVARIANTS
57nooptions INVARIANT_SUPPORT
58nooptions WITNESS
59nooptions WITNESS_SKIPSPIN
60nooptions DEBUG_REDZONE
61nooptions DEBUG_MEMGUARD