In article <[email protected]>, matthew green <[email protected]> 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
