Xu Nakajima wrote:

> If you look at zd_usb_enable_int() in zd_usb.c,
> the USB transfer_buffer is currently kmalloced; Any
> idea what is the advantage of using a DMA buffer
> instead?  

> And BTW, there is a comment there saying:
> /* TODO: make it a DMA buffer */

It is a little bit easier todo, because the respective flag
doesn't need to be set. The performance impact should be minimal
because interrupt buffers have maximum size of 64 byte. We could
allocate a dma buffer and set the flag, but this shouldn't have
any dramatic effect on performance.

Regards,

Uli

-- 
Uli Kunitz - [EMAIL PROTECTED]


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to