Re: pci_alloc_consistent

Zach Brown (zab@zabbo.net)
Tue, 8 Feb 2000 10:42:25 -0500


> By this I mean something like:
>
> if (pci_dma_supported(pdev, ess_playback_dma_mask)) {
> driver->playback_enabled = 1;
> } else {
> driver->playback_enabled = 0;
> printk("ESS: Playback disabled on this platform.\n");
> }

This works nicely for the maestro's stinky bus master engine as well.

-- 
 zach

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/