Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix a buglet in framelist locking.
details: https://anonhg.NetBSD.org/src/rev/ad25f8928914
branches: trunk
changeset: 480740:ad25f8928914
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Jan 19 01:02:11 2000 +0000
description:
Fix a buglet in framelist locking.
diffstat:
sys/dev/usb/uhci.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3bd66b26e7e6 -r ad25f8928914 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Wed Jan 19 01:00:07 2000 +0000
+++ b/sys/dev/usb/uhci.c Wed Jan 19 01:02:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.77 2000/01/18 20:23:42 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.78 2000/01/19 01:02:11 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -796,7 +796,7 @@
{
int s = splusb();
- while (sc->sc_vflock) {
+ while (sc->sc_vflock & UHCI_HAS_LOCK) {
sc->sc_vflock |= UHCI_WANT_LOCK;
tsleep(&sc->sc_vflock, PRIBIO, "uhcqhl", 0);
}
Home |
Main Index |
Thread Index |
Old Index