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

Hans Petter Selasky <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Friday 18 May 2007 16:26, Alan Stern wrote:
> On Fri, 18 May 2007, Hans Petter Selasky wrote:
> > Hi,
> >
> > If you are interested, the files are:
> >
> > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_co
> >mpat_linux.c
> > http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_co
> >mpat_linux.h
> >
> > It is almost finished now.
> >
> > And it is not very much code.
>
> 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.

--HPS

-------------------------------------------------------------------------
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.