diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-19 17:52:30 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-19 17:52:30 +0000 |
commit | a3dc4fa5ae2a92dbc70c5ab7c403bad347a0c367 (patch) | |
tree | 2a788ac1f4836689709f47c5cac6ffeb46d96eb2 /openwrt/package/linux/kernel-source/drivers/net/diag | |
parent | 68951232dd98b702ffd5f84f5fd8d4b4bc3f53d4 (diff) |
support for the asus wl-500g deluxe and the buffalo v2 units. dnsmasq update, control file fixes. add back other boardtypes to make wl.o happy on other routers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@390 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-source/drivers/net/diag')
-rw-r--r-- | openwrt/package/linux/kernel-source/drivers/net/diag/diag_led.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-source/drivers/net/diag/diag_led.c b/openwrt/package/linux/kernel-source/drivers/net/diag/diag_led.c index 41cb17bf4..6f1ba9732 100644 --- a/openwrt/package/linux/kernel-source/drivers/net/diag/diag_led.c +++ b/openwrt/package/linux/kernel-source/drivers/net/diag/diag_led.c @@ -5,6 +5,7 @@ // initial release 2004/03/28 // // 2004/08/26 asus & buffalo support added +// 2005/03/14 asus wl-500g deluxe and buffalo v2 support added #include <linux/module.h> #include <linux/init.h> @@ -187,11 +188,26 @@ static int __init diag_init() reset_polarity=0; buf=nvram_get("boardnum")?:""; if (!strcmp(buf,"44")) { + //motorola set_diag=ignore; set_dmz=ignore; reset_gpio=(1<<5); reset_polarity=0; } + if (!strcmp(buf,"00")) { + //buffalo + set_diag=ignore; + set_dmz=ignore; + reset_gpio=(1<<7); + reset_polarity=1; + } + if (!strcmp(buf,"45")) { + //wl-500g deluxe + set_diag=ignore; + set_dmz=ignore; + reset_gpio=(1<<6); + reset_polarity=1; + } } printk(KERN_INFO "using v%d hardware\n",board_type); |