summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>2001-12-29 20:50:16 +0000
committeraugustss <augustss@NetBSD.org>2001-12-29 20:50:16 +0000
commit5a31e4e8f8e1348af2b637a5693889f484ef9678 (patch)
treee89bda9436a4c57a95c31ab67c1d3318a8267204 /sys/dev
parentdbe9bd1ee1ca2234fda642f9cd8fc9a83b540744 (diff)
Make the driver a little less talkative on errors.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uhidev.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index b745c270015..f203906050f 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhidev.c,v 1.2 2001/12/29 18:56:52 augustss Exp $ */
+/* $NetBSD: uhidev.c,v 1.3 2001/12/29 20:50:16 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -363,10 +363,8 @@ uhidev_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status)
return;
if (status != USBD_NORMAL_COMPLETION) {
-#ifdef DIAGNOSTIC
- printf("%s: interrupr status=%d\n", USBDEVNAME(sc->sc_dev),
- status);
-#endif
+ DPRINTF(("%s: interrupt status=%d\n", USBDEVNAME(sc->sc_dev),
+ status));
usbd_clear_endpoint_stall_async(sc->sc_intrpipe);
return;
}