--- - branch: netbsd-10 date: Tue Apr 16 18:59:49 UTC 2024 files: - new: 1.171.2.2 old: 1.171.2.1 path: src/sys/dev/usb/ugen.c pathrev: src/sys/dev/usb/ugen.c@1.171.2.2 type: modified id: 20240416T185949Z.133865f332fff5341fd38a0eeb5f4a9fb00bbda3 log: "Pull up following revision(s) (requested by thorpej in ticket #651):\n\n\tsys/dev/usb/ugen.c: revision 1.177\n\nugen and ugenif share the same /dev/ugenN.xx namespace in such a way\nthat the device unit number does not necessarily match the /dev/ugenN.xx\nunit number (N). If you ONLY have ugen devices, it happens to work out\nand devpubd scripts can be extremely naive. If you ONLY have ugenif\ndevices, it also happens to work out, but your devpubd scripts have to\nslightly more informed. If you have a mix of ugen AND ugenif devices,\nthough, you're pretty much out of luck.\n\nSo, this change adds a \"ugen-unit\" device property which devpubd scripts\ncan query to determine which /dev/ugenN.xx nodes a given ugen or ugenif\ndevice is using.\n" module: src subject: 'CVS commit: [netbsd-10] src/sys/dev/usb' unixtime: '1713293989' user: martin