CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2021/08/09 01:21:48

Modified files:
        sys/dev/usb    : if_aue.c if_udav.c if_ugl.c if_upl.c if_url.c 
                         if_wi_usb.c 

Log message:
Fix up flags passed to usbd_open_pipe_intr() - interrupt pipes are always
opened exclusively, and the flags argument is passed to usbd_setup_xfer().
USBD_EXCLUSIVE_USE has the same value as USBD_NO_COPY, which means that
data transferred would not be copied to the buffer where the driver expects
it.

None of these drivers actually used the interrupt data for anything, and
in some the interrupt pipe code was #if 0'd out, so this doesn't change
anything, but fixing this up prevents unwary developers like me from
copying code that doesn't work.

ok mglocker@

Reply via email to