diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2021-08-09 07:21:49 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2021-08-09 07:21:49 +0000 |
commit | 9ad85f07bbf97940411d372dbeba42de17c5b6b5 (patch) | |
tree | b49c2bd81de0a48ddc3f471921f7f12be221ab03 /usr.sbin/vmd/vm.c | |
parent | 83577f57ab65295d1beb5b5b0cf2ecaf629850eb (diff) |
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@
Diffstat (limited to 'usr.sbin/vmd/vm.c')
0 files changed, 0 insertions, 0 deletions