summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-01 20:18:21 +0000
committerjoe <joe@FreeBSD.org>2002-04-01 20:18:21 +0000
commit1659cf4006cb29c2fb2c19aefb87862b70d2859b (patch)
tree91682fc1fa64f36d46a04ade47838684636e3aff /sys/dev/usb/uhci.c
parentc4cfde4a3bed87ad3bd8002ef874add35e601985 (diff)
downloadFreeBSD-src-1659cf4006cb29c2fb2c19aefb87862b70d2859b.zip
FreeBSD-src-1659cf4006cb29c2fb2c19aefb87862b70d2859b.tar.gz
MFNetBSD:
revision 1.130 date: 2000/12/18 15:55:30; author: tsutsui; state: Exp; lines: +2 -2 Add missed le32toh() in uhci_device_isoc_abort().
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 483fb1e..0688634 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.129 2000/12/16 16:09:24 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.130 2000/12/18 15:55:30 tsutsui Exp $ */
/* $FreeBSD$ */
/*
@@ -2380,7 +2380,7 @@ uhci_device_isoc_abort(usbd_xfer_handle xfer)
for (i = 0; i < nframes; i++) {
std = stds[n];
std->td.td_status &= htole32(~(UHCI_TD_ACTIVE | UHCI_TD_IOC));
- len = UHCI_TD_GET_MAXLEN(std->td.td_token);
+ len = UHCI_TD_GET_MAXLEN(le32toh(std->td.td_token));
if (len > maxlen)
maxlen = len;
if (++n >= UHCI_VFRAMELIST_COUNT)
OpenPOWER on IntegriCloud