1# 2# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND 3# 4# $FreeBSD: stable/11/sys/mips/conf/TP-WN1043ND 345344 2019-03-20 18:49:45Z kib $ 5# 6 7#NO_UNIVERSE 8 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 xz 41options GEOM_UZIP 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.uzip\" 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 62