From cd28987a20ba09a274b684f82a701bd606278fc7 Mon Sep 17 00:00:00 2001 From: hselasky Date: Fri, 24 Jun 2011 04:35:58 +0000 Subject: - 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 --- tools/tools/bus_autoconf/bus_autoconf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/tools/bus_autoconf/bus_autoconf.c b/tools/tools/bus_autoconf/bus_autoconf.c index 0f7dbd5..38fbd29 100644 --- a/tools/tools/bus_autoconf/bus_autoconf.c +++ b/tools/tools/bus_autoconf/bus_autoconf.c @@ -150,6 +150,7 @@ usb_dump(struct usb_device_id *id, uint32_t nid) if (info.is_any) { printf("nomatch 10 {\n" + " match \"bus\" \"uhub[0-9]+\";\n" " match \"mode\" \"%s\";\n", mode); } else { return (n); -- cgit v1.1