Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2011 04:35:58 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r223490 - head/tools/tools/bus_autoconf
Message-ID:  <201106240435.p5O4Zwdh030336@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Jun 24 04:35:58 2011
New Revision: 223490
URL: http://svn.freebsd.org/changeset/base/223490

Log:
  - Make sure we don't match the wrong device by adding
  a match for the bus the device belongs to.
  
  PR:		misc/157903
  MFC after:	14 days

Modified:
  head/tools/tools/bus_autoconf/bus_autoconf.c

Modified: head/tools/tools/bus_autoconf/bus_autoconf.c
==============================================================================
--- head/tools/tools/bus_autoconf/bus_autoconf.c	Fri Jun 24 04:16:06 2011	(r223489)
+++ head/tools/tools/bus_autoconf/bus_autoconf.c	Fri Jun 24 04:35:58 2011	(r223490)
@@ -150,6 +150,7 @@ usb_dump(struct usb_device_id *id, uint3
 
 	if (info.is_any) {
 		printf("nomatch 10 {\n"
+		    "	match \"bus\" \"uhub[0-9]+\";\n"
 		    "	match \"mode\" \"%s\";\n", mode);
 	} else {
 		return (n);



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