From 6957647e8bcd0b2abe989293ce3c0505bca8b492 Mon Sep 17 00:00:00 2001 From: dsainty Date: Sun, 5 Jan 2003 03:48:18 +0000 Subject: [PATCH] Move #define UBT_DEBUG from ubt.c to usb_port.h --- sys/dev/usb/ubt.c | 6 ++---- sys/dev/usb/usb_port.h | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/dev/usb/ubt.c b/sys/dev/usb/ubt.c index 05b1b844eba8..09e58e2d0471 100644 --- a/sys/dev/usb/ubt.c +++ b/sys/dev/usb/ubt.c @@ -1,4 +1,4 @@ -/* $NetBSD: ubt.c,v 1.3 2002/08/24 17:31:19 augustss Exp $ */ +/* $NetBSD: ubt.c,v 1.4 2003/01/05 03:48:18 dsainty Exp $ */ /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.3 2002/08/24 17:31:19 augustss Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.4 2003/01/05 03:48:18 dsainty Exp $"); #include #include @@ -58,8 +58,6 @@ __KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.3 2002/08/24 17:31:19 augustss Exp $"); #include -#define UBT_DEBUG - #ifdef UBT_DEBUG #define DPRINTF(x) if (ubtdebug) logprintf x #define DPRINTFN(n,x) if (ubtdebug>(n)) logprintf x diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index fe3c5de24bf7..2a9b94990b8d 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -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.59 2002/10/11 20:29:30 jdolecek Exp $ */ +/* $NetBSD: usb_port.h,v 1.60 2003/01/05 03:48:18 dsainty Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */ /* @@ -86,6 +86,7 @@ #define USTIR_DEBUG 1 #define UISDATA_DEBUG 1 #define UDSBR_DEBUG 1 +#define UBT_DEBUG 1 #define Static #else #define Static static