? mtd.ram.erase.patch ? drivers/mtd/chips/.map_ram.c.swp Index: drivers/mtd/chips/map_ram.c =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/chips/map_ram.c,v retrieving revision 1.14 diff -u -r1.14 map_ram.c --- drivers/mtd/chips/map_ram.c 2 Oct 2001 15:05:12 -0000 1.14 +++ drivers/mtd/chips/map_ram.c 30 Oct 2002 12:20:06 -0000 @@ -107,6 +107,8 @@ for (i=0; ilen; i++) map->write8(map, 0xFF, instr->addr + i); + instr->state = MTD_ERASE_DONE; + if (instr->callback) instr->callback(instr);