Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add a debug message.
details: https://anonhg.NetBSD.org/src/rev/3729270df72b
branches: trunk
changeset: 519878:3729270df72b
user: augustss <augustss%NetBSD.org@localhost>
date: Sat Dec 29 16:15:42 2001 +0000
description:
Add a debug message.
diffstat:
sys/dev/usb/ums.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 263f11d56f24 -r 3729270df72b sys/dev/usb/ums.c
--- a/sys/dev/usb/ums.c Sat Dec 29 15:45:52 2001 +0000
+++ b/sys/dev/usb/ums.c Sat Dec 29 16:15:42 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ums.c,v 1.53 2001/12/28 17:32:36 augustss Exp $ */
+/* $NetBSD: ums.c,v 1.54 2001/12/29 16:15:42 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.53 2001/12/28 17:32:36 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.54 2001/12/29 16:15:42 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -291,6 +291,8 @@
int i;
int s;
+ DPRINTFN(5,("ums_intr: len=%d\n", len));
+
dx = hid_get_data(ibuf, &sc->sc_loc_x);
dy = -hid_get_data(ibuf, &sc->sc_loc_y);
dz = hid_get_data(ibuf, &sc->sc_loc_z);
Home |
Main Index |
Thread Index |
Old Index