mtd/drivers/mtd/devices ms02-nv.c,1.10,1.11

Maciej W. Rozycki macro at infradead.org
Mon Nov 14 08:41:51 EST 2005


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv7941/mtd/drivers/mtd/devices

Modified Files:
	ms02-nv.c 
Log Message:
Merge from linux-mips:
Use physical addresses at the interface level, letting drivers remap
them as appropriate.


Index: ms02-nv.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/ms02-nv.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ms02-nv.c	20 Jun 2005 12:24:41 -0000	1.10
+++ ms02-nv.c	14 Nov 2005 13:41:47 -0000	1.11
@@ -293,13 +293,13 @@
 
 	switch (mips_machtype) {
 	case MACH_DS5000_200:
-		csr = (volatile u32 *)KN02_CSR_BASE;
+		csr = (volatile u32 *)CKSEG1ADDR(KN02_SLOT_BASE + KN02_CSR);
 		if (*csr & KN02_CSR_BNK32M)
 			stride = 2;
 		break;
 	case MACH_DS5000_2X0:
 	case MACH_DS5900:
-		csr = (volatile u32 *)KN03_MCR_BASE;
+		csr = (volatile u32 *)CKSEG1ADDR(KN03_SLOT_BASE + IOASIC_MCR);
 		if (*csr & KN03_MCR_BNK32M)
 			stride = 2;
 		break;





More information about the linux-mtd-cvs mailing list