patch Makefile.am for GLOBAL_LIBDIR as well
[openwrt.git] / package / acx / patches / 001-no-reset.diff
1 Index: acx-20070101/pci.c
2 ===================================================================
3 --- acx-20070101.orig/pci.c 2007-06-04 13:22:42.489395912 +0200
4 +++ acx-20070101/pci.c 2007-06-04 13:22:42.557385576 +0200
5 @@ -925,10 +925,13 @@
6
7 acx_lock(adev, flags);
8
9 - acxpci_l_reset_mac(adev);
10 -
11 ecpu_ctrl = read_reg16(adev, IO_ACX_ECPU_CTRL) & 1;
12 if (!ecpu_ctrl) {
13 + acxpci_l_reset_mac(adev);
14 + ecpu_ctrl = read_reg16(adev, IO_ACX_ECPU_CTRL) & 1;
15 + }
16 +
17 + if (!ecpu_ctrl) {
18 msg = "eCPU is already running. ";
19 goto end_unlock;
20 }
This page took 0.043703 seconds and 5 git commands to generate.