~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/mtd/ubi/Kconfig.debug

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
comment "UBI debugging options"
2
 
        depends on MTD_UBI
3
2
 
4
3
config MTD_UBI_DEBUG
5
4
        bool "UBI debugging"
6
5
        depends on SYSFS
7
 
        depends on MTD_UBI
8
6
        select DEBUG_FS
9
 
        select KALLSYMS_ALL
 
7
        select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
10
8
        help
11
9
          This option enables UBI debugging.
12
10
 
 
11
if MTD_UBI_DEBUG
 
12
 
13
13
config MTD_UBI_DEBUG_MSG
14
14
        bool "UBI debugging messages"
15
 
        depends on MTD_UBI_DEBUG
16
 
        default n
17
15
        help
18
16
          This option enables UBI debugging messages.
19
17
 
20
18
config MTD_UBI_DEBUG_PARANOID
21
19
        bool "Extra self-checks"
22
 
        default n
23
 
        depends on MTD_UBI_DEBUG
24
20
        help
25
21
          This option enables extra checks in UBI code. Note this slows UBI down
26
22
          significantly.
27
23
 
28
24
config MTD_UBI_DEBUG_DISABLE_BGT
29
25
        bool "Do not enable the UBI background thread"
30
 
        depends on MTD_UBI_DEBUG
31
 
        default n
32
26
        help
33
27
          This option switches the background thread off by default. The thread
34
28
          may be also be enabled/disabled via UBI sysfs.
35
29
 
36
30
config MTD_UBI_DEBUG_EMULATE_BITFLIPS
37
31
        bool "Emulate flash bit-flips"
38
 
        depends on MTD_UBI_DEBUG
39
 
        default n
40
32
        help
41
33
          This option emulates bit-flips with probability 1/50, which in turn
42
34
          causes scrubbing. Useful for debugging and stressing UBI.
43
35
 
44
36
config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES
45
37
        bool "Emulate flash write failures"
46
 
        depends on MTD_UBI_DEBUG
47
 
        default n
48
38
        help
49
39
          This option emulates write failures with probability 1/100. Useful for
50
40
          debugging and testing how UBI handlines errors.
51
41
 
52
42
config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
53
43
        bool "Emulate flash erase failures"
54
 
        depends on MTD_UBI_DEBUG
55
 
        default n
56
44
        help
57
45
          This option emulates erase failures with probability 1/100. Useful for
58
46
          debugging and testing how UBI handlines errors.
59
47
 
60
 
menu "Additional UBI debugging messages"
61
 
        depends on MTD_UBI_DEBUG
 
48
comment "Additional UBI debugging messages"
62
49
 
63
50
config MTD_UBI_DEBUG_MSG_BLD
64
51
        bool "Additional UBI initialization and build messages"
65
 
        default n
66
 
        depends on MTD_UBI_DEBUG
67
52
        help
68
53
          This option enables detailed UBI initialization and device build
69
54
          debugging messages.
70
55
 
71
56
config MTD_UBI_DEBUG_MSG_EBA
72
57
        bool "Eraseblock association unit messages"
73
 
        default n
74
 
        depends on MTD_UBI_DEBUG
75
58
        help
76
59
          This option enables debugging messages from the UBI eraseblock
77
60
          association unit.
78
61
 
79
62
config MTD_UBI_DEBUG_MSG_WL
80
63
        bool "Wear-leveling unit messages"
81
 
        default n
82
 
        depends on MTD_UBI_DEBUG
83
64
        help
84
65
          This option enables debugging messages from the UBI wear-leveling
85
66
          unit.
86
67
 
87
68
config MTD_UBI_DEBUG_MSG_IO
88
69
        bool "Input/output unit messages"
89
 
        default n
90
 
        depends on MTD_UBI_DEBUG
91
70
        help
92
71
          This option enables debugging messages from the UBI input/output unit.
93
72
 
94
 
endmenu # UBI debugging messages
 
73
endif # MTD_UBI_DEBUG