svn commit: r223490 - head/tools/tools/bus_autoconf
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jun 24 04:35:58 UTC 2011
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);
More information about the svn-src-head
mailing list