patch-2.4.21 linux-2.4.21/arch/parisc/kernel/sba_iommu.c

Next file: linux-2.4.21/arch/parisc/kernel/setup.c
Previous file: linux-2.4.21/arch/parisc/kernel/processor.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/parisc/kernel/sba_iommu.c linux-2.4.21/arch/parisc/kernel/sba_iommu.c
@@ -812,10 +812,8 @@
 		return(0);
 	}
 
-	dev->dma_mask = mask;	/* save it */
-
 	/* only support 32-bit PCI devices - no DAC support (yet) */
-	return((int) (mask == 0xffffffff));
+	return((int) (mask == 0xffffffffUL));
 }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)