summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-29 10:03:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-29 10:03:14 +0000
commit7c1574b386166f45b75fb565f945a35b82c52d7d (patch)
treefd7a155aa912d71ad01483feb3b4b136af1d06e0 /target
parent6a244cf2e8b86fd790bd6443721da90dcaabd33b (diff)
Resync kernel config, put back yellow led registration (#2607)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/rb532/config-2.6.223
-rw-r--r--target/linux/rb532/files/arch/mips/rb500/devices.c7
2 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/rb532/config-2.6.22 b/target/linux/rb532/config-2.6.22
index d8d2de3e2..e6805dd72 100644
--- a/target/linux/rb532/config-2.6.22
+++ b/target/linux/rb532/config-2.6.22
@@ -116,7 +116,6 @@ CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
# CONFIG_MTD_NAND_NANDSIM is not set
CONFIG_MTD_NAND_PLATFORM=y
-# CONFIG_MTD_NAND_RB500 is not set
CONFIG_MTD_NAND_VERIFY_WRITE=y
# CONFIG_MTD_ONENAND is not set
CONFIG_MTD_PARTITIONS=y
@@ -132,6 +131,8 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_NETDEV_1000 is not set
CONFIG_NET_SCH_FIFO=y
# CONFIG_NET_VENDOR_3COM is not set
+CONFIG_NF_CT_PROTO_GRE=m
+CONFIG_NF_NAT_PROTO_GRE=m
# CONFIG_PAGE_SIZE_16KB is not set
CONFIG_PAGE_SIZE_4KB=y
# CONFIG_PAGE_SIZE_64KB is not set
diff --git a/target/linux/rb532/files/arch/mips/rb500/devices.c b/target/linux/rb532/files/arch/mips/rb500/devices.c
index d2476a89c..dec2be9b2 100644
--- a/target/linux/rb532/files/arch/mips/rb500/devices.c
+++ b/target/linux/rb532/files/arch/mips/rb500/devices.c
@@ -184,11 +184,16 @@ static struct mtd_partition rb500_partition_info[] = {
}
};
+static struct platform_device rb500_led = {
+ .name = "rb500-led",
+ .id = 0,
+};
static struct platform_device *rb500_devs[] = {
&korina_dev0,
&nand_slot0,
- &cf_slot0
+ &cf_slot0,
+ &rb500_led
};
static void __init parse_mac_addr(char *macstr)