aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorLukas Ertl <le@FreeBSD.org>2004-07-01 21:17:50 +0000
committerLukas Ertl <le@FreeBSD.org>2004-07-01 21:17:50 +0000
commitacd6dd0ca1906d9b80b1e06c5aee6d2d1f2b1fba (patch)
treee83745d14d4cd3a7e2b942394a0c2fcdd69ae2ab /sys/dev
parentc88e8580687ef2ac9f0d1be07b5375903f08808f (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ehci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 11dc97a724631..46c34a99ccd40 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -5,6 +5,7 @@
* $NetBSD: ehci.c,v 1.54 2004/01/17 13:15:05 jdolecek Exp $
* up to
* $NetBSD: ehci.c,v 1.64 2004/06/23 06:45:56 mycroft Exp $
+ * $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $
*/
/*
@@ -2225,7 +2226,7 @@ printf("status=%08x toggle=%d\n", epipe->sqh->qh.qh_qtd.qtd_status,
next = ehci_alloc_sqtd(sc);
if (next == NULL)
goto nomem;
- nextphys = next->physaddr;
+ nextphys = htole32(next->physaddr);
} else {
next = NULL;
nextphys = EHCI_NULL;
@@ -2245,7 +2246,7 @@ printf("status=%08x toggle=%d\n", epipe->sqh->qh.qh_qtd.qtd_status,
#endif
}
cur->nextqtd = next;
- cur->qtd.qtd_next = cur->qtd.qtd_altnext = htole32(nextphys);
+ cur->qtd.qtd_next = cur->qtd.qtd_altnext = nextphys;
cur->qtd.qtd_status =
qtdstatus | htole32(EHCI_QTD_SET_BYTES(curlen));
cur->xfer = xfer;