summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-07 01:26:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-07 01:26:41 +0000
commit8ea8bfdca6b6557ba4af55373a5c679cd1055e66 (patch)
treec4c49f6c4f06dd88d62888e737f2cc1f490c8902 /sys/dev/usb/uhub.c
parentb4ef1da0fa0b71751fb8a6071c0e05356ae40886 (diff)
silence something
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 68fd843a3a1..ee99a1ceed7 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhub.c,v 1.22 2004/06/10 17:31:15 pvalchev Exp $ */
+/* $OpenBSD: uhub.c,v 1.23 2004/07/07 01:26:40 deraadt Exp $ */
/* $NetBSD: uhub.c,v 1.64 2003/02/08 03:32:51 ichiro Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
@@ -446,7 +446,7 @@ uhub_explore(usbd_device_handle dev)
change = UGETW(up->status.wPortChange);
if (!(status & UPS_CURRENT_CONNECT_STATUS)) {
/* Nothing connected, just ignore it. */
-#ifdef DIAGNOSTIC
+#ifdef UHUB_DEBUG
printf("%s: port %d, device disappeared after reset\n",
USBDEVNAME(sc->sc_dev), port);
#endif