AMD64 Busmaster DMA failure !



I am porting a working 32 bit driver to amd64.

The driver does DMA as follows:

deviceDesc.Version = DEVICE_DESCRIPTION_VERSION;

deviceDesc.Master = TRUE; \

deviceDesc.ScatterGather = TRUE; \

deviceDesc.InterfaceType = PCIBus; \

deviceDesc.DmaWidth = Width32Bits; \

deviceDesc.DmaSpeed = MaximumDmaSpeed; \

deviceDesc.Dma32BitAddresses = TRUE; \

deviceDesc.InterfaceType = PCIBus; \

deviceDesc.MaximumLength = 0x20000;



The call to IoGetDmaAdapter() returns NULL on the 64 bit system while
working on the 32 bit system. The global boolean for 64bitaddress is true on
the 64 bit system.



Any suggestions ?? The PCI card is a 32 bit card.

Thanks



Des Bean


.



Relevant Pages

  • Re: PCI card transfer with DMA/ busmastering
    ... I have a custom PCI card that I intend on using as a coprocessor to ... I've read a lot regarding DMA transfer, I assume this is the way to go. ... When I create my driver for my PCI card does the DMA stuff need to go ...
    (microsoft.public.development.device.drivers)
  • AMD64 Busmaster DMA failure !
    ... I am porting a working 32 bit driver to amd64. ... The driver does DMA as follows: ... deviceDesc.InterfaceType = PCIBus; \ ... The PCI card is a 32 bit card. ...
    (microsoft.public.development.device.drivers)
  • Re: PCI: device 00:09.0 has unknown header type 04, ignoring. Whats that?
    ... On Thu, 13 Nov 2003, Michael Born wrote: ... > I have a problem with a GPIB PCI card from Quancom ... If the provided driver won't allow this, ...
    (Linux-Kernel)
  • Re: How to unallocate resources for my pci card.
    ... >I am using pci card, install my driver for that particular pci card. ... PNP manager allocates resources for my pci cards ...
    (microsoft.public.development.device.drivers)
  • Re: Black screen on bootup after scrolling bar
    ... I will try the driver from the MSI website (maybe because I have ... would be weird if the PCI card caused the problem. ... PSU is a Corsair HX620 ... --> personally I don't think the overclock has anything to do with ...
    (microsoft.public.windows.vista.general)