[PATCH] char/bsr: add sysfs interface documentation

From: Aishwarya Pant
Date: Thu Mar 01 2018 - 13:26:17 EST


Descriptions have collected from code comments and by reading through
code.

Signed-off-by: Aishwarya Pant <aishpant@xxxxxxxxx>
---
Documentation/ABI/testing/sysfs-class-bsr | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-bsr

diff --git a/Documentation/ABI/testing/sysfs-class-bsr b/Documentation/ABI/testing/sysfs-class-bsr
new file mode 100644
index 000000000000..7bf145d32cbc
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-bsr
@@ -0,0 +1,25 @@
+What: /sys/class/bsr/bsr*/bsr_size
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <arnd@xxxxxxxx>,
+ Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
+Description:
+ (RO) Size of the barrier-synchronization register (BSR)
+ register in bytes.
+
+What: /sys/class/bsr/bsr*/bsr_length
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <arnd@xxxxxxxx>,
+ Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
+Description:
+ (RO) The length of memory region that can be mapped in bytes.
+
+What: /sys/class/bsr/bsr*/bsr_stride
+Date: Jul, 2008
+KernelVersion: 2.6.27
+Contact: Arnd Bergmann <arnd@xxxxxxxx>,
+ Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
+Description:
+ (RO) The stride or the interval at which the allocated BSR bytes
+ repeat within the mapping.
--
2.16.2