odd bus_dma_tag_create(...maxsegsize..) . question for some devices..

Alexander Leidinger Alexander at Leidinger.net
Fri Apr 8 12:24:41 PDT 2005


On Fri, 08 Apr 2005 11:58:14 -0700
Julian Elischer <julian at elischer.org> wrote:

> ./sound/usb/uaudio_pcm.c-                               /*maxsize*/      
> bufsz,
> ./sound/usb/uaudio_pcm.c-                               /*nsegments*/ 1,
> ./sound/usb/uaudio_pcm.c-                               /*maxsegz*/     
> 0x3fff,
> 
> 
> I'm guessing these should be 0x1000 , 4, 0x4000 (depending possibly on 
> the USB adapter used.)

The 0x3fff is wrong, it prevents the uaudio device from being usable
(except the default buffer site changed since the last time I've looked
at it). 0x3ffff works for me. matk@ wanted to commit a fix for various
parts of uaudio, but it seems he's busy.

Bye,
Alexander.

-- 
                Where do you think you're going today?

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


More information about the freebsd-current mailing list