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

Julian Elischer julian at elischer.org
Fri Apr 8 12:51:18 PDT 2005



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


More information about the freebsd-current mailing list