aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2011-06-24 04:16:06 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2011-06-24 04:16:06 +0000
commite71c21385e77385f15f967c055b9ec70b90e0f4f (patch)
tree8125c0b01ab791a1758145eff4b518173a902ee7 /tools
parent23a5bce73fbf2db712eff486dcfc17ab4c92c539 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/bus_autoconf/bus_autoconf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/tools/bus_autoconf/bus_autoconf.c b/tools/tools/bus_autoconf/bus_autoconf.c
index 68688afb25a7..0f7dbd594524 100644
--- a/tools/tools/bus_autoconf/bus_autoconf.c
+++ b/tools/tools/bus_autoconf/bus_autoconf.c
@@ -148,15 +148,8 @@ usb_dump(struct usb_device_id *id, uint32_t nid)
usb_dump_sub(id, &info);
- if (info.is_iface) {
+ if (info.is_any) {
printf("nomatch 10 {\n"
- " match \"system\" \"USB\";\n"
- " match \"subsystem\" \"INTERFACE\";\n"
- " match \"mode\" \"%s\";\n", mode);
- } else if (info.is_any) {
- printf("nomatch 10 {\n"
- " match \"system\" \"USB\";\n"
- " match \"subsystem\" \"DEVICE\";\n"
" match \"mode\" \"%s\";\n", mode);
} else {
return (n);