--- - branch: netbsd-10 date: Tue Apr 16 18:45:39 UTC 2024 files: - new: 1.38.6.1 old: '1.38' path: src/share/man/man4/ugen.4 pathrev: src/share/man/man4/ugen.4@1.38.6.1 type: modified - new: 1.76.6.1 old: '1.76' path: src/sys/dev/usb/uftdi.c pathrev: src/sys/dev/usb/uftdi.c@1.76.6.1 type: modified - new: 1.171.2.1 old: '1.171' path: src/sys/dev/usb/ugen.c pathrev: src/sys/dev/usb/ugen.c@1.171.2.1 type: modified - new: 1.42.10.1 old: '1.42' path: src/sys/dev/usb/usbdevices.config pathrev: src/sys/dev/usb/usbdevices.config@1.42.10.1 type: modified id: 20240416T184539Z.db8b2fdaa2b1e9e68650b6ddafb9cddee3010bcf log: "Pull up following revision(s) (requested by thorpej in ticket #649):\n\n\tsys/dev/usb/uftdi.c: revision 1.77\n\tshare/man/man4/ugen.4: revision 1.39\n\tsys/dev/usb/ugen.c: revision 1.176\n\tsys/dev/usb/usbdevices.config: revision 1.43\n\nDefine a \"flags 1\" config directive for ugenif, which is similar to ugen's,\nbut rather forces the ugenif to match at the *lowest* match priority rather\nthan the highest. This allows ugenif to claim only otherwise unclaimed\ninterfaces.\n\nAdd a \"match quirk\" mechanism to the uftdi driver that allows it to\nselectively reject individual interfaces based on the combination of\n- Vendor ID\n- Product ID\n- Interface number\n- Vendor string\n- Product string\n\nThis is necessary[*] to allow some devices that would otherwise match\nuftdi (and thus instantiate a ucom) to be matched by ugenif instead,\nwhich is required to make the device available to libusb1.\n\n[*] ...due to a deficiency in the USB stack that does not provide a\nmechanism for a user-space driver to claim a device from a kernel driver\nand then return it back at a later time.\n\nUse this new match quirk mechanism to reject \"interface 1\" of the\nFTDI 2232C-based Tigard debug board; On this board, \"interface 0\"\nis brought out to regular TTL-level UART pins, but \"interface 1\" is\nbrought out to SWD and JTAG headers, and is really only useful when\nused with something like openocd. Because the FTDI 2232C on this board\njust uses the standard FTDI vendor and product IDs, it can only be\ndistinguished by the strings, which cannot be specified usbdevices.config,\nthus necessitating the match quirk entry (that works in combination\nwith the ugenif entry added in usbdevices.config).\n" module: src subject: 'CVS commit: [netbsd-10] src' unixtime: '1713293139' user: martin