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

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 08 Apr 2005 12:51:17 -0700
Alexander Leidinger wrote:

>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.
>  
>
no reason it shouldn't be 0x40000 then..  the ffff part is spurious as 
far as I can see.

>Bye,
>Alexander.
>
>  
>
Received on Fri Apr 08 2005 - 17:51:18 UTC

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