Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Actually log the erroneous bInterval in ehc...
details: https://anonhg.NetBSD.org/src/rev/939124286a26
branches: nick-nhusb
changeset: 334093:939124286a26
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Dec 24 14:13:32 2014 +0000
description:
Actually log the erroneous bInterval in ehci_device_fs_isoc_start
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1ac9c7f1bad9 -r 939124286a26 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Wed Dec 24 14:12:16 2014 +0000
+++ b/sys/dev/usb/ehci.c Wed Dec 24 14:13:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.234.2.21 2014/12/24 14:12:16 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.234.2.22 2014/12/24 14:13:32 skrll Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.21 2014/12/24 14:12:16 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.22 2014/12/24 14:13:32 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -4139,7 +4139,7 @@
i = epipe->pipe.up_endpoint->ue_edesc->bInterval;
if (i > 16 || i == 0) {
/* Spec page 271 says intervals > 16 are invalid */
- USBHIST_LOG(ehcidebug, "bInterval %d invalid\n", 0, 0, 0, 0);
+ USBHIST_LOG(ehcidebug, "bInterval %d invalid\n", i, 0, 0, 0);
return USBD_INVAL;
}
Home |
Main Index |
Thread Index |
Old Index