diff options
author | Mike Dunn <mikedunn@newsguy.com> | 2012-04-25 23:06:07 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-14 08:10:45 +0400 |
commit | a9b672e82bca47bf2b37ee869b8095000cf3ca88 (patch) | |
tree | 919600389b72762f4d14f62336fe94be6b7793ea /Documentation/ABI/testing/sysfs-class-mtd | |
parent | 44df4d11b8f573e9efcba94d63e6a1ad148c76d0 (diff) | |
download | linux-a9b672e82bca47bf2b37ee869b8095000cf3ca88.tar.xz |
mtd: expose ecc_strength through sysfs
ecc_strength element of struct mtd_info is exposed as a read-only variable in
sysfs.
Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-mtd')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-mtd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-mtd b/Documentation/ABI/testing/sysfs-class-mtd index 4d55a1888981..43d18180b46e 100644 --- a/Documentation/ABI/testing/sysfs-class-mtd +++ b/Documentation/ABI/testing/sysfs-class-mtd @@ -123,3 +123,15 @@ Description: half page, or a quarter page). In the case of ECC NOR, it is the ECC block size. + +What: /sys/class/mtd/mtdX/ecc_strength +Date: April 2012 +KernelVersion: 3.4 +Contact: linux-mtd@lists.infradead.org +Description: + Maximum number of bit errors that the device is capable of + correcting within each region covering an ecc step. This will + always be a non-negative integer. Note that some devices will + have multiple ecc steps within each writesize region. + + In the case of devices lacking any ECC capability, it is 0. |