From 734ace1804e0a2971df8c2556875814cd9b13a26 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 29 Oct 2007 10:03:14 +0000 Subject: Resync kernel config, put back yellow led registration (#2607) SVN-Revision: 9458 --- target/linux/rb532/config-2.6.22 | 3 ++- target/linux/rb532/files/arch/mips/rb500/devices.c | 7 ++++++- 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 d8d2de3..e6805dd 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 d2476a8..dec2be9 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) -- cgit v1.1