diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-06-24 04:35:58 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-06-24 04:35:58 +0000 |
commit | cd28987a20ba09a274b684f82a701bd606278fc7 (patch) | |
tree | a627f3b76ad1f2fa5cb4f8e296663c032e493256 /tools | |
parent | 4f452fe5208cc332cd402007674b7f2ed324a9ac (diff) | |
download | FreeBSD-src-cd28987a20ba09a274b684f82a701bd606278fc7.zip FreeBSD-src-cd28987a20ba09a274b684f82a701bd606278fc7.tar.gz |
- 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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/bus_autoconf/bus_autoconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |