Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Create the UMASS_INTRIN trasnfer against the cor...
details: https://anonhg.NetBSD.org/src/rev/845cbf78549d
branches: trunk
changeset: 344955:845cbf78549d
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Apr 29 07:11:32 2016 +0000
description:
Create the UMASS_INTRIN trasnfer against the correct pipe. Should fix a
problem reported to me by wiz@
diffstat:
sys/dev/usb/umass.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3fe8b8b466c6 -r 845cbf78549d sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c Fri Apr 29 03:05:04 2016 +0000
+++ b/sys/dev/usb/umass.c Fri Apr 29 07:11:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.151 2016/04/23 10:15:32 skrll Exp $ */
+/* $NetBSD: umass.c,v 1.152 2016/04/29 07:11:32 skrll Exp $ */
/*
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.151 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.152 2016/04/29 07:11:32 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -649,8 +649,9 @@
&sc->transfer_xfer[XFER_CBI_DATAOUT]);
if (err)
goto fail_create;
- err = usbd_create_xfer(pipe0, sizeof(sc->sbl),
- 0, 0, &sc->transfer_xfer[XFER_CBI_STATUS]);
+ err = usbd_create_xfer(sc->sc_pipe[UMASS_INTRIN],
+ sizeof(sc->sbl), 0, 0,
+ &sc->transfer_xfer[XFER_CBI_STATUS]);
if (err)
goto fail_create;
err = usbd_create_xfer(pipe0, 0, 0, 0,
Home |
Main Index |
Thread Index |
Old Index