reset button fix for dell truemobile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@157 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Mike Baker 2004-09-16 09:48:08 +00:00
parent 7cc7581c4a
commit a46739f102
1 changed files with 12 additions and 5 deletions

View File

@ -166,11 +166,18 @@ static int __init diag_init()
reset_polarity=1; reset_polarity=1;
} }
} else if (!strcmp(buf,"bcm94710ap")) { } else if (!strcmp(buf,"bcm94710ap")) {
// buffalo buf=nvram_get("boardnum")?:"";
set_diag=ignore; if (!strcmp(buf,"44")) {
set_dmz=v2_set_dmz; //dell truemobile
reset_gpio=(1<<4); set_dmz=v2_set_dmz;
reset_polarity=1; reset_gpio=(1<<0);
reset_polarity=0;
} else {
// buffalo
set_dmz=v2_set_dmz;
reset_gpio=(1<<4);
reset_polarity=1;
}
} }
} else { } else {
board_type=2; board_type=2;