mtd/drivers/mtd/chips cfi_probe.c,1.75,1.76
David Woodhouse
dwmw2 at infradead.org
Fri Jul 9 12:53:47 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv7792/drivers/mtd/chips
Modified Files:
cfi_probe.c
Log Message:
Update new geometry mess
Index: cfi_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_probe.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- cfi_probe.c 8 Jul 2004 15:25:50 -0000 1.75
+++ cfi_probe.c 9 Jul 2004 16:53:45 -0000 1.76
@@ -45,19 +45,19 @@
qry = cfi_build_cmd('Q', map, cfi);
val = map_read(map, base + osf*0x10);
- if (!map_word_equal(qry, val))
+ if (!map_word_equal(map, qry, val))
return 0;
qry = cfi_build_cmd('R', map, cfi);
val = map_read(map, base + osf*0x11);
- if (!map_word_equal(qry, val))
+ if (!map_word_equal(map, qry, val))
return 0;
qry = cfi_build_cmd('Y', map, cfi);
val = map_read(map, base + osf*0x12);
- if (!map_word_equal(qry, val))
+ if (!map_word_equal(map, qry, val))
return 0;
return 1; // nothing found
More information about the linux-mtd-cvs
mailing list