diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-05-13 19:06:53 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-05-13 19:06:53 +0000 |
commit | 02fa46018fa76b8f6baef2d774565248f8616c28 (patch) | |
tree | f194440f1375c216d23f5f9afd0ad44cd2afbad4 /sys/arch/i386 | |
parent | 9d4454a124c3861edaf1951491525167f5b98668 (diff) |
in bus_dmamap_load_mbuf(), segments start at zero, not one (merge error)
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 08bebc6137a..2b9bcf6f8ba 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.160 2001/05/08 18:19:43 jason Exp $ */ +/* $OpenBSD: machdep.c,v 1.161 2001/05/13 19:06:52 jason Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -2903,7 +2903,7 @@ _bus_dmamap_load_mbuf(t, map, m0, flags) return (EINVAL); first = 1; - seg = 1; + seg = 0; error = 0; for (m = m0; m != NULL && error == 0; m = m->m_next) { error = _bus_dmamap_load_buffer(t, map, m->m_data, m->m_len, |