Re: New USB stack on FreeBSD w/Linux emulation layer coming

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 18 May 2007, Hans Petter Selasky wrote:

> > It occurred to me last night that you could accomplish what you want
> > without any change to the Linux drivers at all.  Just change the
> > FreeBSD stack so that it preallocates one or two transfers for every
> > endpoint at the time the endpoint is enabled -- that is, whenever the
> > stack sends a Set-Configuration or Set-Interface request.
> >
> 
> That is correct. But where do I get information about the buffer-size to use? 
> Choosing the wrong buffer size can limit performance or waste memory.

Yes, that is a problem.  It's made even worse by the fact that the 
drivers themselves frequently do not know in advance the buffer sizes 
they will use.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.