HomeFreeBSD

usb: Fix quirks list

Description

usb: Fix quirks list

In some cases, the USB_QUIRK_VP macro was being misused. Instead of
setting quirks to the intended value, the first two supplied quirks
would go into lo_rev and hi_rev. Replace it with USB_QUIRK_VO which only
takes the needed args. This also makes the Dummy products, which where
being used to correctly set vendor only quirks, not necessary.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1153

Details

Provenance
Ahmad Khalifa <ahmadkhalifa570@gmail.com>Authored on Apr 20 2024, 12:51 AM
impCommitted on Sat, May 11, 7:32 PM
Parents
rG9bcc1b18c119: /bin/rmdir: Exit with status 2 for invalid arguments
Branches
Unknown
Tags
Unknown

Event Timeline

imp committed rG64e05e90657f: usb: Fix quirks list (authored by Ahmad Khalifa <ahmadkhalifa570@gmail.com>).Sat, May 11, 7:32 PM