Fix reverse polarity on WGT634U (was : green while booting, amber when ready)
[openwrt.git] / package / acx / patches / 001-no-reset.diff
1 --- acx-20060521.orig/pci.c 2007-01-25 15:43:48.000000000 +0700
2 +++ acx-20060521/pci.c 2007-01-25 15:43:48.000000000 +0700
3 @@ -906,10 +906,13 @@
4
5 acx_lock(adev, flags);
6
7 - acxpci_l_reset_mac(adev);
8 -
9 ecpu_ctrl = read_reg16(adev, IO_ACX_ECPU_CTRL) & 1;
10 if (!ecpu_ctrl) {
11 + acxpci_l_reset_mac(adev);
12 + ecpu_ctrl = read_reg16(adev, IO_ACX_ECPU_CTRL) & 1;
13 + }
14 +
15 + if (!ecpu_ctrl) {
16 msg = "eCPU is already running. ";
17 goto end_unlock;
18 }
This page took 0.044281 seconds and 5 git commands to generate.