Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2010 19:21:41 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Alexander Best <alexbestms@wwu.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: [patch] add usb hub (0x2514 / 0x0424) to usbdevs
Message-ID:  <201003111921.41254.hselasky@c2i.net>
In-Reply-To: <permail-2010031112151380e26a0b00000458-a_best01@message-id.uni-muenster.de>

index | next in thread | previous in thread | raw e-mail

On Thursday 11 March 2010 13:15:13 Alexander Best wrote:
> Hans Petter Selasky schrieb am 2010-03-11:
> > On Thursday 11 March 2010 12:25:46 Alexander Best wrote:
> > > just a product addition to usbdevs.
> > >
> > > cheers.
> > > alex
> > >
> > > oh...and one question:
> >
> > Hi,
> >
> > See USB P4 ID 175574.
> 
> thanks. :)
> 
> > > why does `usbconfig dump_device_desc` say
> >
> > I think you need to compile the kernel with:
> >
> > option USB_VERBOSE
> >
> > Before it works like you expect.
> 
> options USB_VERBOSE seems broken on r204988:
> 

Try this patch:

http://www.mail-archive.com/svn-src-all@freebsd.org/msg02230.html

> 
> Stop in /usr/src.
> 
> > > although the vendor id is already in usbdevs?
> >
> > --HPS
> 
> i'd also like to ask what the purpose of this code in storage/umass.c is:
> 
> #define UMASS_EXT_BUFFER
> #ifdef UMASS_EXT_BUFFER
> /* this enables loading of virtual buffers into DMA */
> #define UMASS_USB_FLAGS .ext_buffer=1,
> #else
> #define UMASS_USB_FLAGS
> #endif

When ext_buffer is set, no data is copied. Else data is copied into an 
intermediate buffer.

> 
> isn't that just doing the same as:

Probably we should expand those macros.

Send me a patch!

> 
> #define UMASS_EXT_BUFFER
> /* this enables loading of virtual buffers into DMA */
> #define UMASS_USB_FLAGS .ext_buffer=1,
> 

--HPS


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003111921.41254.hselasky>