From: Felix Fietkau Date: Mon, 13 Mar 2006 07:57:51 +0000 (+0000) Subject: fix wrt54gs v2.1 ses led support X-Git-Tag: whiterussian_rc5~66 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=600c3ec5d7844a4a7dc9693b05ba9ec0a8cde6f0;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix wrt54gs v2.1 ses led support SVN-Revision: 3355 --- diff --git a/openwrt/target/linux/linux-2.4/patches/brcm/005-diag_led.patch b/openwrt/target/linux/linux-2.4/patches/brcm/005-diag_led.patch index 00863c9db5..6f85298275 100644 --- a/openwrt/target/linux/linux-2.4/patches/brcm/005-diag_led.patch +++ b/openwrt/target/linux/linux-2.4/patches/brcm/005-diag_led.patch @@ -29,7 +29,7 @@ diff -urN linux.old/drivers/net/diag/Makefile linux.dev/drivers/net/diag/Makefil +include $(TOPDIR)/Rules.make diff -urN linux.old/drivers/net/diag/diag_led.c linux.dev/drivers/net/diag/diag_led.c --- linux.old/drivers/net/diag/diag_led.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux.dev/drivers/net/diag/diag_led.c 2006-03-09 11:04:09.000000000 +0100 ++++ linux.dev/drivers/net/diag/diag_led.c 2006-03-13 00:58:04.000000000 +0100 @@ -0,0 +1,309 @@ +/* + * diag_led.c - replacement diag module @@ -288,7 +288,7 @@ diff -urN linux.old/drivers/net/diag/diag_led.c linux.dev/drivers/net/diag/diag_ + reset_gpio=(1<<6); + button_gpio=(1<<4); + -+ if (!strcmp((nvram_get("boardflags")?:""), "0x0318")) // WRT54G3G ++ if (!strcmp((nvram_get("boardtype")?:""), "0x0101")) // WRT54G3G + ses_reverse = 0; + else + ses_reverse = 1;