Author: hselasky
Date: Thu Apr  7 07:15:53 2016
New Revision: 297642
URL: https://svnweb.freebsd.org/changeset/base/297642

Log:
  MFC r296342:
  Allow for overlapping quirk device ranges. Prior to this patch only
  the first device entry matching the USB vendor, product and revision
  would be searched for quirks. After this patch all device entries will
  be searched for quirks.

Modified:
  stable/9/sys/dev/usb/quirk/usb_quirk.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/9/sys/dev/usb/quirk/usb_quirk.c      Thu Apr  7 07:12:57 2016        
(r297641)
+++ stable/9/sys/dev/usb/quirk/usb_quirk.c      Thu Apr  7 07:15:53 2016        
(r297642)
@@ -682,8 +682,6 @@ usb_test_quirk_by_info(const struct usbd
                                return (1);
                        }
                }
-               /* no quirk found */
-               break;
        }
        mtx_unlock(&usb_quirk_mtx);
 done:
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to