1. 03 2月, 2008 2 次提交
  2. 08 1月, 2008 1 次提交
  3. 21 10月, 2007 1 次提交
  4. 07 10月, 2007 1 次提交
  5. 03 8月, 2007 2 次提交
  6. 01 8月, 2007 1 次提交
  7. 23 7月, 2007 1 次提交
  8. 29 6月, 2007 1 次提交
  9. 03 5月, 2007 1 次提交
  10. 27 4月, 2007 1 次提交
  11. 18 4月, 2007 2 次提交
  12. 08 3月, 2007 1 次提交
    • V
      [MTD] [NAND] make oobavail public · 1f92267c
      Vitaly Wool 提交于
      During the MTD rework the oobavail parameter of mtd_info structure has become
      private. This is not quite correct in terms of integrity and logic. If we have
      means to write to OOB area, then we'd like to know upfront how many bytes out
      of OOB are spare per page to be able to adapt to specific cases.
      The patch inlined adds the public oobavail parameter.
      Signed-off-by: NVitaly Wool <vwool@ru.mvista.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      1f92267c
  13. 09 2月, 2007 2 次提交
  14. 29 11月, 2006 2 次提交
    • T
      [MTD] NAND: add subpage write support · 29072b96
      Thomas Gleixner 提交于
      Many SLC NANDs support up to 4 writes at one NAND page. Add support
      of this feature.
      Signed-off-by: NArtem Bityutskiy <dedekind@infradead.org>
      29072b96
    • V
      [MTD] [NAND] remove len/ooblen confusion. · 7014568b
      Vitaly Wool 提交于
      As was discussed between Ricard Wanderlöf, David Woodhouse, Artem 
      Bityutskiy and me, the current API for reading/writing OOB is confusing. 
      
      The thing that introduces confusion is the need to specify ops.len 
      together with ops.ooblen for reads/writes that concern only OOB not data 
      area. So, ops.len is overloaded: when ops.datbuf != NULL it serves to 
      specify the length of the data read, and when ops.datbuf == NULL, it 
      serves to specify the full OOB read length.
      
      The patch inlined below is the slightly updated version of the previous 
      patch serving the same purpose, but with the new Artem's comments taken 
      into account.
      
      Artem, BTW, thanks a lot for your valuable input!
      Signed-off-by: NVitaly Wool <vwool@ru.mvista.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      7014568b
  15. 28 10月, 2006 1 次提交
  16. 26 10月, 2006 1 次提交
    • R
      [MTD] NAND: Fix nand_default_mark_blockbad() when flash-based BBT disabled · ff0dab64
      Ricard Wanderlöf 提交于
      When a flash-based BBT is not used, nand_default_mark_blockbad() is supposed
      to mark the block bad in the oob. However, it sets the wrong length variable
      so that no bad block marker is in fact written. This patch attempts to
      rectify that.
      
      (As note, it seems to be that logically, it shouldn't be necessary to set
      both length variables, as one appears to be for the main buffer, and
      one for the oob buffer, but this is how it is done in several places,
      including the code for the mtd character device MEMWRITEOOB and MEMREADOOB
      ioctls. I'm not sure if this is a temporary solution during some rework of
      the mtd infrastructure, or whether there is a deeper thought here.)
      Signed-off-by: NRicard Wanderlöf <ricardw@axis.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      ff0dab64
  17. 22 10月, 2006 2 次提交
  18. 21 10月, 2006 1 次提交
  19. 26 9月, 2006 4 次提交
  20. 17 9月, 2006 1 次提交
  21. 28 8月, 2006 1 次提交
  22. 15 7月, 2006 1 次提交
  23. 11 7月, 2006 1 次提交
  24. 29 6月, 2006 1 次提交
  25. 28 6月, 2006 1 次提交
  26. 21 6月, 2006 3 次提交
  27. 30 5月, 2006 2 次提交
    • A
      [MTD] Fix build warnings (and debug build error) in nand_base.c · 7e9a0bb0
      Andrew Morton 提交于
      drivers/mtd/nand/nand_base.c: In function 'nand_transfer_oob':
      drivers/mtd/nand/nand_base.c:909: warning: comparison of distinct pointer types lacks a cast
      drivers/mtd/nand/nand_base.c: In function 'nand_do_read_oob':
      drivers/mtd/nand/nand_base.c:1097: error: 'len' undeclared (first use in this function)
      drivers/mtd/nand/nand_base.c:1097: error: (Each undeclared identifier is reported only once
      drivers/mtd/nand/nand_base.c:1097: error: for each function it appears in.)
      drivers/mtd/nand/nand_base.c: In function 'nand_fill_oob':
      drivers/mtd/nand/nand_base.c:1411: warning: comparison of distinct pointer types lacks a cast
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      7e9a0bb0
    • T
      [MTD] NAND Expose the new raw mode function and status info to userspace · f1a28c02
      Thomas Gleixner 提交于
      The raw read/write access to NAND (without ECC) has been changed in the
      NAND rework. Expose the new way - setting the file mode via ioctl - to
      userspace. Also allow to read out the ecc statistics information so userspace
      tools can see that bitflips happened and whether errors where correctable
      or not. Also expose the number of bad blocks for the partition, so nandwrite
      can check if the data fits into the parition before writing to it.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      f1a28c02
  28. 29 5月, 2006 1 次提交