patch-2.4.13 linux/arch/arm/mach-sa1100/dma-sa1111.c

Next file: linux/arch/arm/mach-sa1100/generic.c
Previous file: linux/arch/arm/mach-sa1100/dma-sa1100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/arch/arm/mach-sa1100/dma-sa1111.c linux/arch/arm/mach-sa1100/dma-sa1111.c
@@ -314,7 +314,7 @@
 	if(physaddr<(1<<20))
 	  	return 0;
 
-	switch(FExtr(SMCR, SMCR_DRAC)){
+	switch(FExtr(SBI_SMCR, SMCR_DRAC)){
 	case 01: /* 10 row + bank address bits, A<20> must not be set */
 	  	if(physaddr & (1<<20))
 		  	return -1;
@@ -341,7 +341,7 @@
 		break;
 	default:
 	  	printk(KERN_ERR "%s(): invalid SMCR DRAC value 0%o\n",
-		       __FUNCTION__, FExtr(SMCR, SMCR_DRAC));
+		       __FUNCTION__, FExtr(SBI_SMCR, SMCR_DRAC));
 		return -1;
 	}
 

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