Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix USB_DEBUG build
details: https://anonhg.NetBSD.org/src/rev/1c8639678e33
branches: trunk
changeset: 744672:1c8639678e33
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Feb 10 09:15:27 2020 +0000
description:
Fix USB_DEBUG build
diffstat:
sys/dev/usb/usbdi_util.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r b1e2ed1e229a -r 1c8639678e33 sys/dev/usb/usbdi_util.c
--- a/sys/dev/usb/usbdi_util.c Mon Feb 10 09:10:58 2020 +0000
+++ b/sys/dev/usb/usbdi_util.c Mon Feb 10 09:15:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi_util.c,v 1.78 2020/02/08 08:47:27 maxv Exp $ */
+/* $NetBSD: usbdi_util.c,v 1.79 2020/02/10 09:15:27 skrll Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi_util.c,v 1.78 2020/02/08 08:47:27 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi_util.c,v 1.79 2020/02/10 09:15:27 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -396,6 +396,8 @@
usbd_clear_endpoint_feature(struct usbd_device *dev, int epaddr, int sel)
{
USBHIST_FUNC();
+ USBHIST_CALLARGS(usbdebug, "dev %#jx epaddr %jd sel %jd",
+ (uintptr_t)dev, epaddr, sel, 0);
usb_device_request_t req;
req.bmRequestType = UT_WRITE_ENDPOINT;
Home |
Main Index |
Thread Index |
Old Index