summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2010-02-24 17:34:56 +0000
committerplunky <plunky@NetBSD.org>2010-02-24 17:34:56 +0000
commitc672648cd81b63fb5e0fbef6fe40eb1291a499fc (patch)
treecb353c5bae1898e8c736f7121ca029085fb8b777 /sys/dev/usb
parent7e131adc8e4e022a02a41b5201f54e1db7ca2264 (diff)
print end of line before getting the descriptor as it sleeps
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uthum.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/uthum.c b/sys/dev/usb/uthum.c
index b2fce2d6807..da0f3ca8922 100644
--- a/sys/dev/usb/uthum.c
+++ b/sys/dev/usb/uthum.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uthum.c,v 1.1 2010/02/06 11:14:41 tonio Exp $ */
+/* $NetBSD: uthum.c,v 1.2 2010/02/24 17:34:56 plunky Exp $ */
/* $OpenBSD: uthum.c,v 1.6 2010/01/03 18:43:02 deraadt Exp $ */
/*
@@ -137,6 +137,9 @@ USB_ATTACH(uthum)
sc->sc_hdev.sc_report_id = uha->reportid;
sc->sc_num_sensors = 0;
+ aprint_normal("\n");
+ aprint_naive("\n");
+
uhidev_get_report_desc(uha->parent, &desc, &size);
repid = uha->reportid;
sc->sc_ilen = hid_report_size(desc, size, hid_input, repid);