diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2013-11-15 08:17:45 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2013-11-15 08:17:45 +0000 |
commit | 19f5dcfcec57bffc7080845213bea362120f4c04 (patch) | |
tree | c48ce2da25e3b357e4a829e56484a794511ea632 /sys/dev/ata | |
parent | 80011e638a8bbb60eb459e6a794a4cd538b05883 (diff) |
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/ata')
0 files changed, 0 insertions, 0 deletions