All,

I went thru kernel and zaptel code and see that zaptel driver prepared for kernels >= 2.4.20 and should be able to handle cisco hdlc without problem... but
it has been commented out from the code. What is the reason? Does anyone have idea?


Like this:

#ifdef NEW_HDLC_INTERFACE
{
skb->mac.raw = skb->data;
skb->dev = &ms->hdlcnetdev->netdev.netdev;
#if 0
skb->protocol = hdlc_type_trans(skb, &ms->hdlcnetdev->netdev.netdev);
#else
skb->protocol = htons (ETH_P_HDLC);
#endif
netif_rx(skb);
}
#else
hdlc_netif_rx(&ms->hdlcnetdev->netdev, skb);
#endif
#endif


It should be hdlc_type_trans to handle frames.


Vasyl Rublyov wrote:

Michael,

I am going to check the difference between code for 2.4.19/20 and for latest 2.4.26, to understand at least where the difference.

In meantime I would like to see some responses from people, who are using different hardware for HDLC... so they confirm the kernel 2.4.26 is working from them with another and the problem is not in the kernel itself.

I am going to keep you posted as soon as have something from my research.. the worst issue - I could be working on this only during weekends, regular days are too crazy and busy to me.



Michael A Rowley wrote:

Hey Vasyl,

No, but unfortunately I don't have the expertese to fix the drivers... I called digium to ask them, but their response was simply they don't support HDLC with Asterisk.... :( This needs to be fixed though. If I have to, I will go back to 2.4.19, but what a pain... Plus there are many other features that are in the new kernels we will want to use... Especially as 2.6 becomes the defacto standard. What then?

I wish I could help you with the driver part. I would love to have this fixed.... Just don't have the knowledge, or the time...

M

On Monday, May 24, 2004, at 08:19 PM, Vasyl Rublyov wrote:

So I see noone is intersting to fix this and willing to live with old kernels. Am I right?


Michael

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to