1. 16 12月, 2008 1 次提交
  2. 10 12月, 2008 1 次提交
  3. 05 12月, 2008 4 次提交
  4. 03 12月, 2008 1 次提交
    • A
      UBI: fix warnings when debugging is enabled · ed45819f
      Artem Bityutskiy 提交于
      The 'ubi_io_read_vid_hdr()' and 'ubi_io_read_ec_hdr()' function
      have the 'verbose' argument which controls whether they should
      print a warning if the VID/EC header was not found or was corrupted.
      Some callers require the headers to be OK, and pass 1. Some allow
      a corrupted/not present header, and pass 0.
      
             if (UBI_IO_DEBUG)
                     verbose = 1;
      
      And UBI_IO_DEBUG is 1 if CONFIG_MTD_UBI_DEBUG_MSG_BLD is true. So in
      this case the warning is printed all the time. This confuses people.
      
      Thus, do not print the messages as warnings if UBI_IO_DEBUG is true,
      but print them as debugging messages instead.
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      ed45819f
  5. 13 11月, 2008 2 次提交
  6. 06 11月, 2008 2 次提交
  7. 05 11月, 2008 2 次提交
    • E
      [MTD] [NOR] Fix cfi_send_gen_cmd handling of x16 devices in x8 mode (v4) · 467622ef
      Eric W. Biederman 提交于
      For "unlock" cycles to 16bit devices in 8bit compatibility mode we need
      to use the byte addresses 0xaaa and 0x555. These effectively match
      the word address 0x555 and 0x2aa, except the latter has its low bit set.
      
      Most chips don't care about the value of the 'A-1' pin in x8 mode,
      but some -- like the ST M29W320D -- do. So we need to be careful to
      set it where appropriate.
      
      cfi_send_gen_cmd is only ever passed addresses where the low byte
      is 0x00, 0x55 or 0xaa. Of those, only addresses ending 0xaa are
      affected by this patch, by masking in the extra low bit when the device
      is known to be in compatibility mode.
      
      [dwmw2: Do it only when (cmd_ofs & 0xff) == 0xaa]
      v4: Fix  stupid typo in cfi_build_cmd_addr that failed to compile
          I'm writing this patch way to late at night.
      v3: Bring all of the work back into cfi_build_cmd_addr
          including calling of map_bankwidth(map) and cfi_interleave(cfi)
          So every caller doesn't need to.
      v2: Only modified the address if we our device_type is larger than our
          bus width.
      
      Cc: stable@kernel.org
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      467622ef
    • J
      drivers: remove duplicated #include · 54074d59
      Jianjun Kong 提交于
      Signed-off-by: NJianjun Kong <jianjun@zeuux.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      54074d59
  8. 21 10月, 2008 5 次提交
  9. 20 10月, 2008 3 次提交
  10. 18 10月, 2008 9 次提交
  11. 17 10月, 2008 2 次提交
  12. 16 10月, 2008 1 次提交
  13. 14 10月, 2008 4 次提交
  14. 13 10月, 2008 1 次提交
  15. 10 10月, 2008 2 次提交