mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:56:14 +02:00
Don't try to code properly at 4am ...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@109 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f40b58fd2c
commit
592046f0d7
@ -114,15 +114,14 @@ static int __init diag_init()
|
|||||||
printk(KERN_INFO "diag board_type: %08x\n",board_type);
|
printk(KERN_INFO "diag board_type: %08x\n",board_type);
|
||||||
|
|
||||||
if (board_type & 0x400) {
|
if (board_type & 0x400) {
|
||||||
board_type=1;
|
|
||||||
set_diag=v1_set_diag;
|
set_diag=v1_set_diag;
|
||||||
set_dmz=v1_set_dmz;
|
set_dmz=v1_set_dmz;
|
||||||
|
|
||||||
if (board_type==0x41d) {
|
if (board_type==0x41d) {
|
||||||
printk(KERN_INFO "buffalo hack.\n");
|
printk(KERN_INFO "buffalo hack.\n");
|
||||||
set_diag=ignore;
|
set_diag=ignore;
|
||||||
set_dmz=v2_set_dmz;
|
set_dmz=v2_set_dmz;
|
||||||
}
|
}
|
||||||
|
board_type=1;
|
||||||
} else {
|
} else {
|
||||||
board_type=2;
|
board_type=2;
|
||||||
set_diag=v2_set_diag;
|
set_diag=v2_set_diag;
|
||||||
|
Loading…
Reference in New Issue
Block a user