Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Use USB_DEBUG, not XHCI_DEBUG to protect `dci', ...
details: https://anonhg.NetBSD.org/src/rev/6da319e4368b
branches: trunk
changeset: 358084:6da319e4368b
user: hannken <hannken%NetBSD.org@localhost>
date: Sun Dec 10 17:50:01 2017 +0000
description:
Use USB_DEBUG, not XHCI_DEBUG to protect `dci', DPRINTFN() always uses it.
diffstat:
sys/dev/usb/xhci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8f89a8556e73 -r 6da319e4368b sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Sun Dec 10 17:19:48 2017 +0000
+++ b/sys/dev/usb/xhci.c Sun Dec 10 17:50:01 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.80 2017/12/09 00:54:31 christos Exp $ */
+/* $NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.80 2017/12/09 00:54:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1341,7 +1341,7 @@
{
struct xhci_softc * const sc = XHCI_PIPE2SC(pipe);
struct xhci_slot * const xs = pipe->up_dev->ud_hcpriv;
-#ifdef XHCI_DEBUG
+#ifdef USB_DEBUG
const u_int dci = xhci_ep_get_dci(pipe->up_endpoint->ue_edesc);
#endif
struct xhci_trb trb;
Home |
Main Index |
Thread Index |
Old Index