Revision: 5660
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5660&view=rev
Author:   owes
Date:     2011-05-02 17:03:24 +0000 (Mon, 02 May 2011)

Log Message:
-----------
Add patch to fix fcdsl* compilation. No guarantee the drivers will work.

Modified Paths:
--------------
    ipcop/trunk/lfs/fcdsl
    ipcop/trunk/lfs/fcdsl2
    ipcop/trunk/lfs/fcdslsl

Added Paths:
-----------
    ipcop/trunk/src/patches/fcdsl_2.6.32.patch

Modified: ipcop/trunk/lfs/fcdsl
===================================================================
--- ipcop/trunk/lfs/fcdsl       2011-05-01 21:28:11 UTC (rev 5659)
+++ ipcop/trunk/lfs/fcdsl       2011-05-02 17:03:24 UTC (rev 5660)
@@ -85,6 +85,7 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/fcdsl-suse93_2.6.27.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/fcdsl_2.6.32.patch
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/build
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/extra install
        gzip -fn9 /lib/modules/$(KVER)/extra/fcdsl.ko

Modified: ipcop/trunk/lfs/fcdsl2
===================================================================
--- ipcop/trunk/lfs/fcdsl2      2011-05-01 21:28:11 UTC (rev 5659)
+++ ipcop/trunk/lfs/fcdsl2      2011-05-02 17:03:24 UTC (rev 5660)
@@ -85,6 +85,7 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/fcdsl2-suse93_2.6.27.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/fcdsl_2.6.32.patch
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/build
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/extra install
        gzip -fn9 /lib/modules/$(KVER)/extra/fcdsl2.ko

Modified: ipcop/trunk/lfs/fcdslsl
===================================================================
--- ipcop/trunk/lfs/fcdslsl     2011-05-01 21:28:11 UTC (rev 5659)
+++ ipcop/trunk/lfs/fcdslsl     2011-05-02 17:03:24 UTC (rev 5660)
@@ -85,6 +85,7 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
        cd $(DIR_APP) && patch -Np1 -i 
$(DIR_PATCHES)/fcdslsl-suse93_2.6.27.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/fcdsl_2.6.32.patch
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/build
        cd $(DIR_APP) && make KDIR=/lib/modules/$(KVER)/extra install
        gzip -fn9 /lib/modules/$(KVER)/extra/fcdslsl.ko

Added: ipcop/trunk/src/patches/fcdsl_2.6.32.patch
===================================================================
--- ipcop/trunk/src/patches/fcdsl_2.6.32.patch                          (rev 0)
+++ ipcop/trunk/src/patches/fcdsl_2.6.32.patch  2011-05-02 17:03:24 UTC (rev 
5660)
@@ -0,0 +1,33 @@
+--- fritz/src/tools.h.orig     2011-05-02 07:48:54.000000000 +0200
++++ fritz/src/tools.h  2011-05-02 07:51:53.000000000 +0200
+@@ -71,16 +71,6 @@
+ 
+ 
/*---------------------------------------------------------------------------*\
+ 
\*---------------------------------------------------------------------------*/
+-#ifndef atomic_xchg
+-static inline unsigned long atomic_xchg (
+-      volatile atomic_t *     v, 
+-      unsigned                value
+-) {
+-      return __xchg (value, &v->counter, sizeof (unsigned));
+-} /* atomic_xchg */
+-#endif
+-/*---------------------------------------------------------------------------*\
+-\*---------------------------------------------------------------------------*/
+ #ifndef NDEBUG
+ extern unsigned hallocated (void);
+ extern int hvalid (void *);
+--- fritz/src/driver.c.orig    2011-05-02 07:57:50.000000000 +0200
++++ fritz/src/driver.c 2011-05-02 07:59:44.000000000 +0200
+@@ -898,9 +898,9 @@
+ #endif
+       reset_card (cp); 
+       if (ctrl_context[0].ctrl != NULL) {
+-              capi_ctr_reseted (capi_controller[0]);
++              capi_ctr_down (capi_controller[0]);
+       }
+-      capi_ctr_reseted (capi_controller[1]);
++      capi_ctr_down (capi_controller[1]);
+ } /* reset_ctrl */
+ 
+ 
/*---------------------------------------------------------------------------*\


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to