Date: Thu, 09 Mar 2000 22:58:32 -0800 From: Mike Smith <msmith@freebsd.org> To: alpha@freebsd.org Subject: problem with bus_dmamap_destroy? Message-ID: <200003100658.WAA00620@mass.cdrom.com>
next in thread | raw e-mail | index | archive | help
Just wondering if anyone's seen a problem with bus_dmamap_destroy() hanging on the Alpha. I've tracked down a hang when unloading the Mylex driver which doesn't maifest on the i386. error = bus_dma_tag_create(sc->mlx_parent_dmat, /* parent */ 1, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ MAXBSIZE, MLX_NSEG, /* maxsize, nsegments */ BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */ 0, /* flags */ &sc->mlx_buffer_dmat); ... bus_dmamap_create(sc->mlx_buffer_dmat, 0, &mc->mc_dmamap); ... bus_dmamap_destroy(sc->mlx_buffer_dmat, mc->mc_dmamap); I've had someone suggest that the lowaddr parameter should be 0; is this actually correct? (The DMA mapping does otherwise seem to work...) Any "been there, done that" suggestions before I dig into this? Thanks. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003100658.WAA00620>