[Bristuff-users] Qozap fix

Steve Davies davies147 at gmail.com
Thu Jan 10 11:13:18 CET 2008


Hi,

Following Tzafrir's post about the updated bristuff packages, I am
posting an updated version of my qozap driver fix.

I have a problem in some environments (I believe this is a timing
issue, so it does not always happen) where the driver will repeatedly
clear a red alarm on a port which has no cable attached!

I finally pinned this down to some code which virtually reads:
  "If link is down and Zaptel wants to send data, then tell the
   card that we need layer 1, and clear that red alarm!"

A very simple patch changes it to say:
  "If link is down and Zaptel wants to send data, then tell the
   card we need layer 1. If we get sync, then clear the red alarm.
   In the meantime, continue discarding the data."

The same patch also fixes a couple of off-by-one debug prints, which
made finding this issue really hard!

Do Junghanns see this mailing list? It would be really nice to have
the patch sanity checked and included if it is okay... It certainly
seems to help things here.

Regards,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qozap.patch
Type: text/x-patch
Size: 2019 bytes
Desc: not available
Url : http://lists.three-dimensional.net/pipermail/bristuff-users/attachments/20080110/7e81a841/attachment.bin 


More information about the Bristuff-users mailing list