]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
usb: Remove uneeded revision verbosity from quirks list
authorAhmad Khalifa <ahmadkhalifa570@gmail.com>
Sat, 20 Apr 2024 00:52:57 +0000 (02:52 +0200)
committerWarner Losh <imp@FreeBSD.org>
Sat, 11 May 2024 19:32:57 +0000 (13:32 -0600)
commit881ae768f2fdf669894cc41694b6d909f233af7f
treee2ef7df6fe0e21efda2e09f42bda95fa74310585
parent64e05e90657fc4054797efc2b2a1848e4ba56c54
usb: Remove uneeded revision verbosity from quirks list

Seperate usb quirks that target specific revisions from those that
dont. Alot of the quirks dont use lo_rev and hi_rev, so we can abstract
the 0x0000, 0xffff into a macro.

[[ This commit is a bit more churn than we like. I carefully reviewed
   each one and they are all good. The end product is better -- imp ]]

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1153
sys/dev/usb/quirk/usb_quirk.c