161452Sdfr# 261452Sdfr# TP-1043ND -- Kernel configuration file for the TP-Link WR-1043ND 361452Sdfr# 461452Sdfr# $FreeBSD: stable/11/sys/mips/conf/TP-WN1043ND 345344 2019-03-20 18:49:45Z kib $ 561452Sdfr# 661452Sdfr 761452Sdfr#NO_UNIVERSE 861452Sdfr 961452Sdfr# Include the default AR913x parameters common to all AR913x SoC users. 1061452Sdfrinclude "AR91XX_BASE" 1161452Sdfr 1261452Sdfrident TP-WN1043ND 1361452Sdfr 1461452Sdfr# Override hints with board values 1561452Sdfrhints "TP-WN1043ND.hints" 1661452Sdfr 1761452Sdfr# Force the board memory - 32mb 1861452Sdfroptions AR71XX_REALMEM=32*1024*1024 1961452Sdfr 2061452Sdfr# i2c GPIO bus 2161452Sdfrdevice gpioiic 2261452Sdfrdevice iicbb 2361452Sdfrdevice iicbus 2461452Sdfrdevice iic 2561452Sdfr 2661452Sdfr# ethernet switch device 2761452Sdfrdevice etherswitch 2861452Sdfr 2961452Sdfr# RTL8366RB support 3061452Sdfrdevice rtl8366rb 3161452Sdfr 3261452Sdfr# read MSDOS formatted disks - USB 3361452Sdfroptions MSDOSFS 3461452Sdfr 3561452Sdfr# Enable the uboot environment stuff rather then the 3661452Sdfr# redboot stuff. 3761452Sdfroptions AR71XX_ENV_UBOOT 3876827Salfred 3979339Sjhb# uncompress - to boot natively from flash 4061452Sdfrdevice xz 4161452Sdfroptions GEOM_UZIP 4261452Sdfr 4361452Sdfr# Used for the static uboot partition map 4461452Sdfrdevice geom_map 4561452Sdfr 4661452Sdfr# Boot off of the rootfs, as defined in the geom_map setup. 4761452Sdfroptions ROOTDEVNAME=\"ufs:map/rootfs.uzip\" 4861452Sdfr 4961452Sdfr# We bite the performance overhead for now; the kernel won't 5061452Sdfr# fit if the mutexes are inlined. 5161452Sdfroptions MUTEX_NOINLINE 5261452Sdfroptions RWLOCK_NOINLINE 5361501Sdfroptions SX_NOINLINE 5461501Sdfr 5561452Sdfr# Remove everything we don't need. We need a _really_ small kernel! 5661452Sdfrnooptions INVARIANTS 5761452Sdfrnooptions INVARIANT_SUPPORT 5861452Sdfrnooptions WITNESS 5961452Sdfrnooptions WITNESS_SKIPSPIN 6061501Sdfrnooptions DEBUG_REDZONE 6161501Sdfrnooptions DEBUG_MEMGUARD 6287479Scokane