Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb From FreeBSD rev1.30 via OpenBSD:



details:   https://anonhg.NetBSD.org/src/rev/71324dd72742
branches:  trunk
changeset: 339182:71324dd72742
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jul 02 08:35:44 2015 +0000

description:
>From FreeBSD rev1.30 via OpenBSD:
 - always initialise the pipe multiplier to a valid value
 - do not unchain the the interrupt QHs immediately after initialisation

Prompted by msaitoh

diffstat:

 sys/dev/usb/ehci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b5342d1791c0 -r 71324dd72742 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Thu Jul 02 08:33:31 2015 +0000
+++ b/sys/dev/usb/ehci.c        Thu Jul 02 08:35:44 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.239 2015/05/11 06:44:36 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.240 2015/07/02 08:35:44 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.239 2015/05/11 06:44:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.240 2015/07/02 08:35:44 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -519,8 +519,8 @@
                            EHCI_LINK_QH);
                }
                sqh->qh.qh_endp = htole32(EHCI_QH_SET_EPS(EHCI_QH_SPEED_HIGH));
+               sqh->qh.qh_endphub = htole32(EHCI_QH_SET_MULT(1))
                sqh->qh.qh_curqtd = EHCI_NULL;
-               sqh->next = NULL;
                sqh->qh.qh_qtd.qtd_next = EHCI_NULL;
                sqh->qh.qh_qtd.qtd_altnext = EHCI_NULL;
                sqh->qh.qh_qtd.qtd_status = htole32(EHCI_QTD_HALTED);



Home | Main Index | Thread Index | Old Index