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

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Fri, 8 Apr 2005 21:24:46 +0200
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_at_ 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 _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Fri Apr 08 2005 - 17:24:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC