Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ieee1394 Pass the right max segment size to bus_dmam...



details:   https://anonhg.NetBSD.org/src/rev/fb6592a547a4
branches:  trunk
changeset: 499812:fb6592a547a4
user:      enami <enami%NetBSD.org@localhost>
date:      Thu Nov 30 06:36:43 2000 +0000

description:
Pass the right max segment size to bus_dmamap_create.

diffstat:

 sys/dev/ieee1394/fwohci.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 353b5c99c069 -r fb6592a547a4 sys/dev/ieee1394/fwohci.c
--- a/sys/dev/ieee1394/fwohci.c Thu Nov 30 06:06:08 2000 +0000
+++ b/sys/dev/ieee1394/fwohci.c Thu Nov 30 06:36:43 2000 +0000
@@ -788,7 +788,7 @@
        }
 
        if ((error = bus_dmamap_create(sc->sc_dmat, dsize, sc->sc_dnseg,
-           sc->sc_descsize, 0, BUS_DMA_WAITOK, &sc->sc_ddmamap)) != 0) {
+           dsize, 0, BUS_DMA_WAITOK, &sc->sc_ddmamap)) != 0) {
                printf("%s: unable to create descriptor buffer DMA map, "
                    "error = %d\n", sc->sc_sc1394.sc1394_dev.dv_xname, error);
                goto fail_2;



Home | Main Index | Thread Index | Old Index