[PATCH] eagle bulk mode bugfix

Stanislaw Gruszka stf_xl at wp.pl
Tue Nov 8 17:41:11 EST 2005


Hi all, this patch fix eagle bulk mode bug. 

Bug consist in atm cells can coming partially in two consecutive
usrbs or telling it differently urb buffer size can be not multiple of 
atm cell size. Patch simply catch such case and save partial
incoming atm cell in additional buffer, when next urbs comm in, 
fill additional buffer with rest of cell and process remain data 
normally.

Bug can't be solved in firmwere as sources are not available
(I'm even not sure is firmware problem maybe it's hardwere related).

Patch should speed up internet connection for ueagle-atm
in bulk mode and should have no influence of other usbatm subdrivers.

Indentation in usbatm_extract_one_cell() was preserved
as in usbatm_extract_cells() for easiest patch reading.

Please test/review. Patch should cleanly apply to today 
usbatm CVS snapshot.

__
Thanks
Staszek Gruszka

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eagle_bulk_bugfix.patch
Type: text/x-diff
Size: 6349 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/usbatm/attachments/20051108/6a567079/eagle_bulk_bugfix.bin


More information about the Usbatm mailing list