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 USTIR_DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/7996eccb05f9
branches:  trunk
changeset: 520147:7996eccb05f9
user:      augustss <augustss%NetBSD.org@localhost>
date:      Thu Jan 03 18:57:36 2002 +0000

description:
Add USTIR_DEBUG.

diffstat:

 sys/dev/usb/usb_port.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r a945734bc6df -r 7996eccb05f9 sys/dev/usb/usb_port.h
--- a/sys/dev/usb/usb_port.h    Thu Jan 03 18:56:40 2002 +0000
+++ b/sys/dev/usb/usb_port.h    Thu Jan 03 18:57:36 2002 +0000
@@ -1,5 +1,5 @@
 /*     $OpenBSD: usb_port.h,v 1.18 2000/09/06 22:42:10 rahnds Exp $ */
-/*     $NetBSD: usb_port.h,v 1.50 2002/01/02 03:44:56 augustss Exp $   */
+/*     $NetBSD: usb_port.h,v 1.51 2002/01/03 18:57:36 augustss Exp $   */
 /*     $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $   */
 
 /*
@@ -82,6 +82,7 @@
 #define USSCANNER_DEBUG 1
 #define EHCI_DEBUG 1
 #define UIRDA_DEBUG 1
+#define USTIR_DEBUG 1
 #define UISDATA_DEBUG 1
 #define UDSBR_DEBUG 1
 #define Static
@@ -401,9 +402,8 @@
 #define        memcpy(d, s, l)         bcopy((s),(d),(l))
 #define        memset(d, v, l)         bzero((d),(l))
 #define bswap32(x)             swap32(x)
-#define usb_kthread_create1(function, sc, priv, string, name)
-#define usb_kthread_create(create_function, sc)
-#define usb_kthread_exit(err)
+#define kthread_create1(f, s, p, a0, a1) \
+               kthread_create((f), (s), (p), RFHIGHPID, (a0), (a1))
 
 typedef struct callout_handle usb_callout_t;
 #define usb_callout_init(h) callout_handle_init(&(h))



Home | Main Index | Thread Index | Old Index