summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net/if_cdce.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-04-22 21:31:34 +0000
committerthompsa <thompsa@FreeBSD.org>2010-04-22 21:31:34 +0000
commitbd3f3db8dd41b77e5624bea80abc9248a8f134a6 (patch)
tree9000e5bc0e27a7baa3f0c95de314e4c394588cf1 /sys/dev/usb/net/if_cdce.c
parent6fc09494d18ddab1972ded17fb6e798228bacffb (diff)
downloadFreeBSD-src-bd3f3db8dd41b77e5624bea80abc9248a8f134a6.zip
FreeBSD-src-bd3f3db8dd41b77e5624bea80abc9248a8f134a6.tar.gz
Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/net/if_cdce.c')
-rw-r--r--sys/dev/usb/net/if_cdce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c
index 2fcb0ff..b5e7fd4 100644
--- a/sys/dev/usb/net/if_cdce.c
+++ b/sys/dev/usb/net/if_cdce.c
@@ -108,7 +108,7 @@ static uether_fn_t cdce_setpromisc;
static uint32_t cdce_m_crc32(struct mbuf *, uint32_t, uint32_t);
-#if USB_DEBUG
+#ifdef USB_DEBUG
static int cdce_debug = 0;
SYSCTL_NODE(_hw_usb, OID_AUTO, cdce, CTLFLAG_RW, 0, "USB CDC-Ethernet");
OpenPOWER on IntegriCloud