summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2005-03-08 08:06:37 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2005-03-08 08:06:37 +0000
commitdace1564256168224861ece8367bdb6c1df69733 (patch)
tree944c72f4a60570f26aa91569a6eed5d8533f265b /sys/dev/usb
parent8a14afb7d5e87c5c1dfc05ae6b32587e7636d7f6 (diff)
From FreeBSD rev1.30:
- always initialise the pipe multiplier to a valid value - do not unchain the the interrupt QHs immediately after initialisation ok dlg@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 73f3ec8997e..250d10fd1e9 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.39 2005/03/07 12:58:19 pascoe Exp $ */
+/* $OpenBSD: ehci.c,v 1.40 2005/03/08 08:06:36 pascoe Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -444,9 +444,8 @@ ehci_init(ehci_softc_t *sc)
EHCI_LINK_QH);
}
sqh->qh.qh_endp = htole32(EHCI_QH_SET_EPS(EHCI_QH_SPEED_HIGH));
- sqh->qh.qh_link = EHCI_NULL;
+ 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);