mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
reset button fix for dell truemobile
SVN-Revision: 157
This commit is contained in:
parent
ecbdbb6617
commit
9dbd2c3627
@ -166,12 +166,19 @@ static int __init diag_init()
|
||||
reset_polarity=1;
|
||||
}
|
||||
} else if (!strcmp(buf,"bcm94710ap")) {
|
||||
buf=nvram_get("boardnum")?:"";
|
||||
if (!strcmp(buf,"44")) {
|
||||
//dell truemobile
|
||||
set_dmz=v2_set_dmz;
|
||||
reset_gpio=(1<<0);
|
||||
reset_polarity=0;
|
||||
} else {
|
||||
// buffalo
|
||||
set_diag=ignore;
|
||||
set_dmz=v2_set_dmz;
|
||||
reset_gpio=(1<<4);
|
||||
reset_polarity=1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
board_type=2;
|
||||
set_diag=v2_set_diag;
|
||||
|
Loading…
Reference in New Issue
Block a user