]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
usb: Fix quirks list
authorAhmad Khalifa <ahmadkhalifa570@gmail.com>
Sat, 20 Apr 2024 00:51:25 +0000 (02:51 +0200)
committerWarner Losh <imp@FreeBSD.org>
Sat, 11 May 2024 19:32:37 +0000 (13:32 -0600)
commit64e05e90657fc4054797efc2b2a1848e4ba56c54
tree81856524a87a7c7e9b19d770856cc0c74961173d
parent9bcc1b18c119148e4455e548c90b2bc9cef16d1b
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
sys/dev/usb/quirk/usb_quirk.c
sys/dev/usb/usbdevs