From 600c3ec5d7844a4a7dc9693b05ba9ec0a8cde6f0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 13 Mar 2006 07:57:51 +0000 Subject: [PATCH] fix wrt54gs v2.1 ses led support SVN-Revision: 3355 --- .../target/linux/linux-2.4/patches/brcm/005-diag_led.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2