hello,
Everybody, I am writing a PCI driver. In this device ,there is no Pci
interface chip,
so I need to get a system DMA channel. But I don't konw how.In the pnp start
IRP£¬there is
no DMA resource for me to use.
Another question is that how to use the system DMA channel? I know if
the device has got its
own dma channel,usually,I can set the start address,and counter,and trigger
the DMA. But using
system DMA channel, how to do these thing?
Any advice or disscusion is welcome.
sean

Re: how to use a system DMA channel? by Maxim

Maxim
Mon Sep 20 07:41:39 CDT 2004

> Everybody, I am writing a PCI driver. In this device ,there is no Pci
> interface chip,
> so I need to get a system DMA channel.

You cannot. System DMA is ISA only.

If you need the PCI device to do DMA - you must have busmaster logic in the
hardware.

Note that Directed DMA (used in SoundBlasters) is not a solution. The card
still must have the busmaster logic. D-DMA only exposes the card's busmaster as
ISA DMA port-wise.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com