Pass the right max segment size to bus_dmamap_create.

This commit is contained in:
enami 2000-11-30 06:36:43 +00:00
parent b01ed05afa
commit 4792308b32
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ fwohci_desc_alloc(struct fwohci_softc *sc)
}
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;