diff options
author | 2013-11-15 08:17:44 +0000 | |
---|---|---|
committer | 2013-11-15 08:17:44 +0000 | |
commit | 893bbb9ba2075afe589d4f29989382fe56357f7a (patch) | |
tree | 674352d4d386d2e3fcf7b85604e8580ed7cbc264 /sys/dev/usb/if_url.c | |
parent | Make vax stand build cross-build friendly. (diff) | |
download | wireguard-openbsd-893bbb9ba2075afe589d4f29989382fe56357f7a.tar.xz wireguard-openbsd-893bbb9ba2075afe589d4f29989382fe56357f7a.zip |
Clean-up the HID environment.
This set of drivers were very very dirty.
i/ Clean-up the match/attach multi-casting hackjob
- stop casting aux to every attach arg in existance
- be consistent about casting it only to uhidev_attach_arg
- fetch the usb_attach_arg from above where needed
ii/ Sort out the activate routines
- leave the deactivation to the parent (uhidev(4))
- ditch the sc_dying flag in favour of usbd_is_dying()
iii/ Get closer to keeping all the usb hid information in the uhidev
structure (one uhidev per reportID)
- store the usbd_device in the uhidev
- use it consistently instead of always peaking at the parent's
soft state
Okay mpi@
Diffstat (limited to 'sys/dev/usb/if_url.c')
0 files changed, 0 insertions, 0 deletions