Re: sparc64: Oops in pci_alloc_consistent with cingergyT2

From: Alan Cox
Date: Fri Nov 11 2005 - 14:10:11 EST


On Gwe, 2005-11-11 at 16:33 +0100, Guido Guenther wrote:
> cinergyt2->streambuf = pci_alloc_consistent(NULL,
> STREAM_URB_COUNT*STREAM_BUF_SIZE,
> &cinergyt2->streambuf_dmahandle);
>
> dma_alloc_coherent doesn't seem to be implemented on sparc64, what would


The DMA channel in question is the PCI hub to which the device is
connected. So it should not be using NULL, it should be passing the pci
device id of the bus controller to whom it is attached

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