- 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
This commit is contained in:
Hans Petter Selasky 2011-06-24 04:35:58 +00:00
parent e71c21385e
commit 160d9dc32b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223490

View File

@ -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);