[PATCH 2.6.12 1/1] altix: fix TIOCA dmamap list_add

From: Mark Maule <maule_at_sgi.com>
Date: 2005-04-26 06:55:05
Resend of a patch originally submitted 4/11:

Corract a bug where tioca_dma_mapped() is putting tioca dma map structs
on the wrong list.

Signed-off-by: Mark Maule <maule@sgi.com>

===== arch/ia64/sn/pci/tioca_provider.c 1.2 vs edited =====
--- 1.2/arch/ia64/sn/pci/tioca_provider.c	2005-03-16 17:22:12 -06:00
+++ edited/arch/ia64/sn/pci/tioca_provider.c	2005-04-11 15:09:37 -05:00
@@ -431,7 +431,7 @@
 	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);
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Apr 25 16:57:45 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST