> > binary format, then free the hex data. However, when I tried that here,
> > my kmalloc failed. Should I be using vmalloc for this operation?
> 
> You can't kmalloc > 128Kbytes
> 
> However before you waste 1Mb of kernel memory on Linux (which is non paged)
> perhaps you should put the firmware in a daemon and use an ioctl interface
> to talk to it. Something akin to
> 
>       load firmware
>       while(1)
>       {
>               ioctl which block do you want ?
>               ioctl here_is_the_block (firmware + n)
>       }

Thanks for the response ... what suggest sounds reasonable and will
likely be the way we eventually solve the problem. I've got the
memory stuff working now by switching to vmalloc. I just wanted to get
this thing up and running before changing a lot of stuff which is why
I'm not worried about memory issues at the moment. The code has already
compiled and worked on a BSD OS (Darwin) - so I'm trying to use as much
code without modifications to prove the driver under Linux. Then I'll
fix the above issue.

-Chris

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to