Source-Changes-D archive

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

Re: CVS commit: src/sys/external/bsd/drm2/dist/drm/nouveau



In article <20151014001256.265064D%cvs.netbsd.org@localhost>,
matthew green <source-changes-d%NetBSD.org@localhost> wrote:
> #ifdef __NetBSD__
>-		/* XXX pa_dmat or pa_dmat64? */
>-		const bus_dma_tag_t dmat = pdev->pd_pa.pa_dmat64;
>+		const bus_dma_tag_t dmat = pci_dma64_available(&pdev->pd_pa) ?
>+		    pdev->pd_pa.pa_dmat64 : pdev->pd_pa.pa_dmat;

Shouldn't there be a pci_dma_get() or something macro for that?

christos



Home | Main Index | Thread Index | Old Index