diff options
author | Mark Maule <maule@sgi.com> | 2005-04-11 21:20:00 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-03 13:52:22 -0700 |
commit | 3ea8b477b4b9d3e75b5e9b8aea41259f45031823 (patch) | |
tree | d9ab6af871931241152f0d87084a1ba0ace02480 /arch/ia64/sn/pci/tioca_provider.c | |
parent | 32709d8ae67356559839a9a9e4b26f79134e45a6 (diff) | |
download | op-kernel-dev-3ea8b477b4b9d3e75b5e9b8aea41259f45031823.zip op-kernel-dev-3ea8b477b4b9d3e75b5e9b8aea41259f45031823.tar.gz |
[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: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/pci/tioca_provider.c')
-rw-r--r-- | arch/ia64/sn/pci/tioca_provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/pci/tioca_provider.c b/arch/ia64/sn/pci/tioca_provider.c index 54a0dd4..8dae9eb 100644 --- a/arch/ia64/sn/pci/tioca_provider.c +++ b/arch/ia64/sn/pci/tioca_provider.c @@ -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_gart_size = entries; 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) { tioca_kern->ca_pcigart[entry] = tioca_paddr_to_gart(xio_addr); |