Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 07:19:30 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r297644 - stable/8/sys/dev/usb/quirk
Message-ID:  <201604070719.u377JUw6072212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Apr  7 07:19:30 2016
New Revision: 297644
URL: https://svnweb.freebsd.org/changeset/base/297644

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/8/sys/dev/usb/quirk/usb_quirk.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/usb/   (props changed)

Modified: stable/8/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/8/sys/dev/usb/quirk/usb_quirk.c	Thu Apr  7 07:17:23 2016	(r297643)
+++ stable/8/sys/dev/usb/quirk/usb_quirk.c	Thu Apr  7 07:19:30 2016	(r297644)
@@ -613,8 +613,6 @@ usb_test_quirk_by_info(const struct usbd
 				return (1);
 			}
 		}
-		/* no quirk found */
-		break;
 	}
 	mtx_unlock(&usb_quirk_mtx);
 done:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604070719.u377JUw6072212>