Commit 3ea8b477 authored by Mark Maule's avatar Mark Maule Committed by Tony Luck

[IA64] altix: fix TIOCA dmamap list_add

Correct a bug where tioca_dma_mapped() is putting tioca dma map structs
on the wrong list.
Signed-off-by: default avatarMark Maule <maule@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 32709d8a
...@@ -431,7 +431,7 @@ tioca_dma_mapped(struct pci_dev *pdev, uint64_t paddr, size_t req_size) ...@@ -431,7 +431,7 @@ tioca_dma_mapped(struct pci_dev *pdev, uint64_t paddr, size_t req_size)
ca_dmamap->cad_dma_addr = bus_addr; ca_dmamap->cad_dma_addr = bus_addr;
ca_dmamap->cad_gart_size = entries; ca_dmamap->cad_gart_size = entries;
ca_dmamap->cad_gart_entry = entry; ca_dmamap->cad_gart_entry = entry;
list_add(&ca_dmamap->cad_list, &tioca_kern->ca_list); list_add(&ca_dmamap->cad_list, &tioca_kern->ca_dmamaps);
if (xio_addr % ps) { if (xio_addr % ps) {
tioca_kern->ca_pcigart[entry] = tioca_paddr_to_gart(xio_addr); tioca_kern->ca_pcigart[entry] = tioca_paddr_to_gart(xio_addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment