CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2021/03/08 07:35:57
Modified files: sys/dev/usb : fido.c ucycom.c ugold.c uhid.c uhidev.c uhidev.h ujoy.c umt.c uoaklux.c uoakrh.c uoakv.c upd.c uslhcom.c uthum.c utrh.c utwitch.c Log message: Allow uhidev child devices to claim selective report ids There may be multiple matching devices on a single uhidev device but the first device that responds to UHIDEV_CLAIM_ALLREPORTID will block the others from attaching. Change this to UHIDEV_CLAIM_MULTIPLE_REPORTID and require any devices wanting some/all report ids to fill in the claimed array in uhidev_attach_arg with just the reports it needs. uhidev can then run match routines for other drivers with the available report ids. ok anton