UBI: use debugfs for the extra checks knobs
This patch introduces debugfs support to UBI. All the UBI stuff is kept in the
"ubi" debugfs directory, which contains per-UBI device "ubi/ubiX"
sub-directories, containing debugging files. This file also creates
"ubi/ubiX/chk_gen" and "ubi/ubiX/chk_io" knobs for switching general and I/O
extra checks on and off. And it removes the 'debug_chks' UBI module parameters.
Signed-off-by:
Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Showing
- drivers/mtd/ubi/build.c 24 additions, 2 deletionsdrivers/mtd/ubi/build.c
- drivers/mtd/ubi/debug.c 227 additions, 4 deletionsdrivers/mtd/ubi/debug.c
- drivers/mtd/ubi/debug.h 42 additions, 17 deletionsdrivers/mtd/ubi/debug.h
- drivers/mtd/ubi/io.c 7 additions, 7 deletionsdrivers/mtd/ubi/io.c
- drivers/mtd/ubi/scan.c 1 addition, 1 deletiondrivers/mtd/ubi/scan.c
- drivers/mtd/ubi/ubi.h 4 additions, 0 deletionsdrivers/mtd/ubi/ubi.h
- drivers/mtd/ubi/vmt.c 1 addition, 1 deletiondrivers/mtd/ubi/vmt.c
- drivers/mtd/ubi/vtbl.c 1 addition, 1 deletiondrivers/mtd/ubi/vtbl.c
- drivers/mtd/ubi/wl.c 3 additions, 3 deletionsdrivers/mtd/ubi/wl.c
Loading
Please register or sign in to comment