[
  [
    "linux-2.6.23/drivers/mtd/nand/nand_base.c", 
    "nand_bbt_fix/nand_base.c", 
    [
      "--- linux-2.6.23/drivers/mtd/nand/nand_base.c", 
      "+++ nand_bbt_fix/nand_base.c", 
      "@@ -65,10 +65,9 @@", 
      "", 
      "static struct nand_ecclayout nand_oob_16 = {", 
      ".eccbytes = 6,", 
      "-\t.eccpos = {0, 1, 2, 3, 6, 7},", 
      "-\t.oobfree = {", 
      "-\t\t{.offset = 8,", 
      "-\t\t . length = 8}}", 
      "+\t.eccpos = { 8, 9, 10, 13, 14, 15 },", 
      "+\t.oobavail = 9,", 
      "+\t.oobfree = { { 0, 4 }, { 6, 2 }, { 11, 2 }, { 4, 1 } }", 
      "};", 
      "", 
      "static struct nand_ecclayout nand_oob_64 = {", 
      "@@ -2382,7 +2382,7 @@", 
      "type = nand_get_flash_type(mtd, chip, busw, &nand_maf_id);", 
      "", 
      "if (IS_ERR(type)) {", 
      "-\t\tprintk(KERN_WARNING \"No NAND device found!!!\\n\");", 
      "+\t\tprintk(KERN_INFO \"No NAND device found!!!\\n\");", 
      "chip->select_chip(mtd, -1);", 
      "return PTR_ERR(type);", 
      "}"
    ]
  ], 
  [
    "linux-2.6.23/drivers/mtd/nand/nand_bbt.c", 
    "nand_bbt_fix/nand_bbt.c", 
    [
      "--- linux-2.6.23/drivers/mtd/nand/nand_bbt.c", 
      "+++ nand_bbt_fix/nand_bbt.c", 
      "@@ -1119,9 +1119,9 @@", 
      "static struct nand_bbt_descr bbt_main_descr = {", 
      ".options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE", 
      "| NAND_BBT_2BIT | NAND_BBT_VERSION | NAND_BBT_PERCHIP,", 
      "-\t.offs =\t8,", 
      "+\t.offs =\t0,", 
      ".len = 4,", 
      "-\t.veroffs = 12,", 
      "+\t.veroffs = 5,", 
      ".maxblocks = 4,", 
      ".pattern = bbt_pattern", 
      "};", 
      "@@ -1129,9 +1129,9 @@", 
      "static struct nand_bbt_descr bbt_mirror_descr = {", 
      ".options = NAND_BBT_LASTBLOCK | NAND_BBT_CREATE | NAND_BBT_WRITE", 
      "| NAND_BBT_2BIT | NAND_BBT_VERSION | NAND_BBT_PERCHIP,", 
      "-\t.offs =\t8,", 
      "+\t.offs =\t0,", 
      ".len = 4,", 
      "-\t.veroffs = 12,", 
      "+\t.veroffs = 5,", 
      ".maxblocks = 4,", 
      ".pattern = mirror_pattern", 
      "};"
    ]
  ]
]