At 20:31 13.06.2004 -0700, Dave scribeth: /usr/src/linux/Documentation/DMA-mapping.txt has a nice section
entitled "What memory is DMA'able?" lists the rules which mean that you need to kmalloc+memcpy. It specifically says that vmalloc memory is NOT ok to use.
Yes but : a) Nowhere in /usr/src/linux/Documentation/*(/*) (specifically firmware_class/*) is it documented that request_firmware returns vmalloc memory. You have to dig through the code to find out. b) Nowhere in /usr/src/linux/Documentation/* (specifically DocBook/writing_usb_driver.tmpl) is it documented that usb_bulk_msg requires DMA'able memory; although I agree that this is intuitive.
Perhaps we should RFC for a "request_firmware_dma".
Margit
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
