Re: pci_alloc_consistent

From: Zach Brown (zab@zabbo.net)
Date: Tue Feb 08 2000 - 10:42:25 EST


> 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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:13 EST