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 Fix non UHCI_DEBUG build
details: https://anonhg.NetBSD.org/src/rev/6d63122f793c
branches: nick-nhusb
changeset: 334491:6d63122f793c
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Apr 11 07:36:21 2016 +0000
description:
Fix non UHCI_DEBUG build
diffstat:
sys/dev/usb/uhci.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 5000fb5a995e -r 6d63122f793c sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Mon Apr 11 06:50:05 2016 +0000
+++ b/sys/dev/usb/uhci.c Mon Apr 11 07:36:21 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.264.4.70 2016/04/04 07:43:12 skrll Exp $ */
+/* $NetBSD: uhci.c,v 1.264.4.71 2016/04/11 07:36:21 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.70 2016/04/04 07:43:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.71 2016/04/11 07:36:21 skrll Exp $");
#include "opt_usb.h"
@@ -2491,7 +2491,6 @@
usb_device_request_t *req = &xfer->ux_request;
struct usbd_device *dev = upipe->pipe.up_dev;
uhci_softc_t *sc = dev->ud_bus->ub_hcpriv;
- int endpt = upipe->pipe.up_endpoint->ue_edesc->bEndpointAddress;
uhci_soft_td_t *data;
int len;
usbd_status err;
@@ -2499,7 +2498,7 @@
UHCIHIST_FUNC(); UHCIHIST_CALLED();
DPRINTFN(3, "xfer=%p len=%d, addr=%d, endpt=%d", xfer, xfer->ux_bufsize,
- dev->ud_addr, endpt);
+ dev->ud_addr, upipe->pipe.up_endpoint->ue_edesc->bEndpointAddress);
isread = req->bmRequestType & UT_READ;
len = xfer->ux_bufsize;
Home |
Main Index |
Thread Index |
Old Index