Re: [linux-usb-devel] [USB] urb->number_of_packets = 256 !

2006-11-27 Thread Alan Stern
On Mon, 27 Nov 2006, Duncan Sands wrote: > Hi Ilyes, you won't be able to allocate that much *contiguous* memory, > but you should be able to allocate enough non-contiguous memory (e.g. > by calling __get_free_page 256 times; not the same as calling > __get_free_pages(8) !). To use that memory, y

Re: [USB] urb->number_of_packets = 256 !

2006-11-27 Thread Duncan Sands
Hi Ilyes, you won't be able to allocate that much *contiguous* memory, but you should be able to allocate enough non-contiguous memory (e.g. by calling __get_free_page 256 times; not the same as calling __get_free_pages(8) !). To use that memory, you can try using the usb scatter/gather support (s