Am Mittwoch, 24. Mai 2006 07:35 schrieb Xu Nakajima: > Hello, > I had asked this question a few days ago in > zd1211 mailing list and did not get an answer > and I think maybe this question is more suitable > to this forum. So please don't regard this as > a cross posting. > > zd1211 is a USB wireless dongle which has > a linux driver. > see: > http://zd1211.ath.cx > > I hope somebody can explain: > > If you look at zd_usb_enable_int() in zd_usb.c, > the USB transfer_buffer is currently created by a call > to kmalloc; Any > idea what is the advantage of using a DMA buffer
1. The buffer is mapped only once, upon allocation, not every submission. 2. The RAM is in a range the device can address. There will be no bounce buffer. Regards Oliver ------------------------------------------------------- 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 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel