[patch] sn2 dma_mask fix

From: Jes Sorensen <jes_at_wildopensource.com>
Date: 2003-09-09 12:38:09
Hi David,

Here's a pretty trivial one fixing the SN2 code to set the DMA mask
correctly when using the dma_ API.

Cheers,
Jes

--- old/arch/ia64/sn/io/machvec/pci_dma.c~	Fri Aug 22 16:53:45 2003
+++ linux/arch/ia64/sn/io/machvec/pci_dma.c	Thu Sep  4 11:46:54 2003
@@ -597,7 +597,7 @@
 	if (!sn_dma_supported(dev, dma_mask))
 		return 0;
 
-	dev->dma_mask = dma_mask;
+	*dev->dma_mask = dma_mask;
 	return 1;
 }
 EXPORT_SYMBOL(sn_dma_set_mask);
-
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 Sep 8 22:44:40 2003

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