summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-08-11 04:05:30 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-08-11 04:05:30 +0000
commite78f5e2c943c3ac9730abba99dfcd234e3fc7f6c (patch)
tree4366a6a606d24a08f60523259bb9e26cf9111fc1 /sys/dev
parent107d9634638a5d0a3a7f8d4141583c678334bb98 (diff)
from netbsd, ohci.c 1.150
swap the order that two items are written; possibly fixes a race condition that would affect isoc transfers.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index ba7b1a1db5f..21d729b60d5 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci.c,v 1.43 2004/08/11 04:03:15 dlg Exp $ */
+/* $OpenBSD: ohci.c,v 1.44 2004/08/11 04:05:29 dlg Exp $ */
/* $NetBSD: ohci.c,v 1.139 2003/02/22 05:24:16 tsutsui Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
@@ -3290,9 +3290,9 @@ ohci_device_isoc_enter(usbd_xfer_handle xfer)
#endif
s = splusb();
+ sed->ed.ed_tailp = htole32(nsitd->physaddr);
opipe->tail.itd = nsitd;
sed->ed.ed_flags &= htole32(~OHCI_ED_SKIP);
- sed->ed.ed_tailp = htole32(nsitd->physaddr);
splx(s);
#ifdef OHCI_DEBUG