On Wed, 2006-01-11 at 14:11 +0200, Petko Manolov wrote:
>       
> Why don't you try to remove the following lines from intr_callback()
> ---
> if (d[0] & NO_CARRIER)
>       netif_carrier_off(net);
> else
>       netif_carrier_on(net);
> ---
> and see if that fixes your problem?
> 
>  I'll be very grateful if you test it first and then let me 
> know about the result.
> 
>               Petko

That was in fact what I already did, and it did clear up the problem.
However, since I couldn't figure out what was "supposed" to happen, I
considered it as a hack. One concern was that (according to the 
comments) the carrier-lost bit only gets set  on a TX error, and 
so apparently I had some other issue anyway (which I may be able
to diagnose from the data sheet).

Thanks very much for the data sheet; I couldn't find it anywhere...

sf


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to