Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/dev/ic Pull up following revision(s) (requested by sk...



details:   https://anonhg.NetBSD.org/src/rev/57976ea5111b
branches:  netbsd-7
changeset: 798714:57976ea5111b
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 15 11:51:51 2014 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #327):
        sys/dev/ic/oosiop.c: revision 1.15
Load the right xfer address into cb[i].xferdma. Fixes disk detection on
my hp715/50.
Hi Taylor.

diffstat:

 sys/dev/ic/oosiop.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0abc5ece04ab -r 57976ea5111b sys/dev/ic/oosiop.c
--- a/sys/dev/ic/oosiop.c       Sun Dec 14 17:04:18 2014 +0000
+++ b/sys/dev/ic/oosiop.c       Mon Dec 15 11:51:51 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: oosiop.c,v 1.13.34.1 2014/08/22 10:15:22 martin Exp $  */
+/*     $NetBSD: oosiop.c,v 1.13.34.2 2014/12/15 11:51:51 martin Exp $  */
 
 /*
  * Copyright (c) 2001 Shuichiro URATA.  All rights reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oosiop.c,v 1.13.34.1 2014/08/22 10:15:22 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oosiop.c,v 1.13.34.2 2014/12/15 11:51:51 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -306,7 +306,7 @@
                            err);
                        goto loop_fail2;
                }
-               err = bus_dmamap_load(sc->sc_dmat, cb[i].xferdma, xfer,
+               err = bus_dmamap_load(sc->sc_dmat, cb[i].xferdma, &xfer[i],
                    sizeof(struct oosiop_xfer), NULL, BUS_DMA_NOWAIT);
                if (err) {
                        printf(": failed to load xfer block, err=%d\n", err);



Home | Main Index | Thread Index | Old Index