Move #define UBT_DEBUG from ubt.c to usb_port.h

This commit is contained in:
dsainty 2003-01-05 03:48:18 +00:00
parent 9f03533c3a
commit 6957647e8b
2 changed files with 4 additions and 5 deletions

View File

@ -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 <sys/cdefs.h>
__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 <sys/param.h>
#include <sys/systm.h>
@ -58,8 +58,6 @@ __KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.3 2002/08/24 17:31:19 augustss Exp $");
#include <dev/bluetooth/bluetooth.h>
#define UBT_DEBUG
#ifdef UBT_DEBUG
#define DPRINTF(x) if (ubtdebug) logprintf x
#define DPRINTFN(n,x) if (ubtdebug>(n)) logprintf x

View File

@ -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