imon vfd driver complexity question
Jim Bryant
kc5vdj.freebsd at gmail.com
Fri Aug 27 08:00:21 UTC 2010
yes, i will use mutexes in the kernel code. what i pasted was one
function from a userland libusb-1 test program.
the imonSendCommand(); function encapsulates the control request.
Hans Petter Selasky wrote:
> On Friday 27 August 2010 09:17:24 Jim Bryant wrote:
>
>> is this level of bit-fiddling acceptable in the kernel?
>>
>
> Yes, this is Ok.
>
> One more thing: Add a mutex pointer argument to functions that can sleep.
>
> Is the code you showed doing control requests?
>
> --HPS
>
>
More information about the freebsd-usb
mailing list