mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.147,1.148
Nicolas Pitre
nico at infradead.org
Fri Jun 11 17:27:49 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv4339/drivers/mtd/chips
Modified Files:
cfi_cmdset_0001.c
Log Message:
Let's get a trace of what is happening if partitions are detected.
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- cfi_cmdset_0001.c 11 Jun 2004 16:33:56 -0000 1.147
+++ cfi_cmdset_0001.c 11 Jun 2004 21:27:47 -0000 1.148
@@ -396,6 +396,11 @@
}
}
+ printk(KERN_DEBUG "%s: %d sets of %d interleaved chips "
+ "--> %d partitions of %#x bytes\n",
+ map->name, cfi->numchips, cfi->interleave,
+ newcfi->numchips, 1<<newcfi->chipshift);
+
map->fldrv_priv = newcfi;
*pcfi = newcfi;
kfree(cfi);
More information about the linux-mtd-cvs
mailing list