hello all,

today I tested visdn with a simple hfc-pci-card on my old apple ppc 7500
after 3 small patches I get it compile... the patches are included below
I can now load the modules without problems.

On incoming calls I get 'lapd - improper ea bits in received frame'
after viewing the incoming frame and comparing with an parallel running
x86 with the same hfc-pci card it seems that the syncronisation to the start-bit of a frame doesn't seem to work correctly. Most time the incoming pointer skb_buf->data of the ppc starts 2 or 3 bytes earlier or 1 byte later than the input that arrives at the x86.
any ideas ?

--- visdn-orig/modules/lapd/proto.h 2006-03-30 06:00:15.000000000 +0000 +++ visdn-new/modules/lapd/proto.h 2006-03-30 14:18:09.000000000 +0000
@@ -105,8 +105,8 @@
                        u8 ft1:1;
                        u8 ft2:1;
                        u8 pad:6;
-                };
 #endif
+               };

                u8 control;

--- visdn-orig/libq931/input.c  2006-03-30 06:00:02.000000000 +0000
+++ visdn-new/libq931/input.c   2006-03-30 15:24:25.000000000 +0000
@@ -988,7 +988,7 @@
 #if __BYTE_ORDER == __LITTLE_ENDIAN
msg->callref |= val << ((hdr->call_reference_len-i-1) * 8);
 #else
-               msg->callref |= val << (hdr->i * 8);
+               msg->callref |= val << (i * 8);
 #endif
        }

--- visdn-orig/libq931/libq931/ie_high_layer_compatibility.h 2006-03-30 06:00:02.000000000 +0000 +++ visdn-new/libq931/libq931/ie_high_layer_compatibility.h 2006-03-30 15:39:46.000000000 +0000
@@ -94,6 +94,7 @@
 #if __BYTE_ORDER == __BIG_ENDIAN
        __u8 ext:1;
        __u8 coding_standard:2;
+       __u8 interpretation:3;
        __u8 presentation_method:2;
 #else
        __u8 presentation_method:2;
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to