Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix a buffer KVA comparison botch in eso_mappage...
details: https://anonhg.NetBSD.org/src/rev/627458c48f72
branches: trunk
changeset: 479936:627458c48f72
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Dec 28 01:39:38 1999 +0000
description:
Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
diffstat:
sys/dev/pci/eso.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2e8842faddd4 -r 627458c48f72 sys/dev/pci/eso.c
--- a/sys/dev/pci/eso.c Mon Dec 27 22:59:18 1999 +0000
+++ b/sys/dev/pci/eso.c Tue Dec 28 01:39:38 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eso.c,v 1.14 1999/12/10 19:13:00 kleink Exp $ */
+/* $NetBSD: eso.c,v 1.15 1999/12/28 01:39:38 kleink Exp $ */
/*
* Copyright (c) 1999 Klaus J. Klein
@@ -1597,7 +1597,7 @@
if (offs < 0)
return (-1);
- for (ed = sc->sc_dmas; ed != NULL && KVADDR(ed) == addr;
+ for (ed = sc->sc_dmas; ed != NULL && KVADDR(ed) != addr;
ed = ed->ed_next)
;
if (ed == NULL)
Home |
Main Index |
Thread Index |
Old Index