From 8d66465b082e338975d37aa0ac6f325ab4c2fb6e Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 15 Nov 2011 22:24:22 +0000
Subject: [PATCH] include bridge and 8021q modules by default

SVN-Revision: 29164
---
 target/linux/rdc/Makefile      | 3 ++-
 target/linux/rdc/config-2.6.32 | 8 ++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/target/linux/rdc/Makefile b/target/linux/rdc/Makefile
index 5635c586c0..10b9dd27a8 100644
--- a/target/linux/rdc/Makefile
+++ b/target/linux/rdc/Makefile
@@ -17,7 +17,8 @@ LINUX_VERSION:=2.6.32.33
 
 include $(INCLUDE_DIR)/target.mk
 
-DEFAULT_PACKAGES += wpad-mini kmod-libphy kmod-r6040 kmod-input-core \
+DEFAULT_PACKAGES += kmod-llc kmod-stp kmod-bridge kmod-8021q \
+		    wpad-mini kmod-libphy kmod-r6040 kmod-input-core \
 		    kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \
 		    kmod-rdc321x-wdt
 
diff --git a/target/linux/rdc/config-2.6.32 b/target/linux/rdc/config-2.6.32
index 1a877458e6..d22aebfcae 100644
--- a/target/linux/rdc/config-2.6.32
+++ b/target/linux/rdc/config-2.6.32
@@ -26,12 +26,14 @@ CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
 # CONFIG_AUDIT_ARCH is not set
 # CONFIG_BASE_FULL is not set
 CONFIG_BASE_SMALL=1
+CONFIG_BCMA_POSSIBLE=y
 CONFIG_BITREVERSE=y
 # CONFIG_BLK_DEV_INITRD is not set
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=16
 CONFIG_BLK_DEV_RAM_SIZE=4096
 CONFIG_BOUNCE=y
+CONFIG_BRIDGE=m
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 # CONFIG_CC_STACKPROTECTOR is not set
 CONFIG_CFG80211_DEFAULT_PS_VALUE=0
@@ -61,7 +63,6 @@ CONFIG_DOUBLEFAULT=y
 # CONFIG_FIRMWARE_MEMMAP is not set
 CONFIG_FIX_EARLYCON_MEM=y
 # CONFIG_FRAME_POINTER is not set
-# CONFIG_FSNOTIFY is not set
 CONFIG_GENERIC_BUG=y
 CONFIG_GENERIC_CLOCKEVENTS=y
 CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
@@ -129,6 +130,7 @@ CONFIG_HZ_250=y
 # CONFIG_I8K is not set
 # CONFIG_IB700_WDT is not set
 # CONFIG_IBMASR is not set
+CONFIG_ILLEGAL_POINTER_VALUE=0
 # CONFIG_IOMMU_API is not set
 # CONFIG_IOMMU_HELPER is not set
 # CONFIG_IOMMU_STRESS is not set
@@ -152,9 +154,9 @@ CONFIG_ISA_DMA_API=y
 CONFIG_KTIME_SCALAR=y
 # CONFIG_LEDS_ALIX2 is not set
 CONFIG_LEDS_GPIO=y
-# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
 # CONFIG_LEDS_TRIGGER_NETDEV is not set
 # CONFIG_LEDS_TRIGGER_TIMER is not set
+CONFIG_LLC=m
 # CONFIG_M386 is not set
 CONFIG_M486=y
 # CONFIG_M586 is not set
@@ -243,6 +245,7 @@ CONFIG_SCHED_OMIT_FRAME_POINTER=y
 # CONFIG_SMSC37B787_WDT is not set
 # CONFIG_SMSC_SCH311X_WDT is not set
 CONFIG_SPARSEMEM_STATIC=y
+CONFIG_STP=m
 # CONFIG_STRICT_DEVMEM is not set
 # CONFIG_TELCLOCK is not set
 # CONFIG_TOSHIBA is not set
@@ -251,6 +254,7 @@ CONFIG_TREE_RCU=y
 CONFIG_UID16=y
 CONFIG_USB_SUPPORT=y
 CONFIG_USER_STACKTRACE_SUPPORT=y
+CONFIG_VLAN_8021Q=m
 # CONFIG_VM86 is not set
 # CONFIG_W83697UG_WDT is not set
 # CONFIG_WAFER_WDT is not set
-- 
GitLab