summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/block/capability.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/block/capability.txt')
-rw-r--r--kernel/Documentation/block/capability.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/Documentation/block/capability.txt b/kernel/Documentation/block/capability.txt
new file mode 100644
index 000000000..2f1729424
--- /dev/null
+++ b/kernel/Documentation/block/capability.txt
@@ -0,0 +1,15 @@
+Generic Block Device Capability
+===============================================================================
+This file documents the sysfs file block/<disk>/capability
+
+capability is a hex word indicating which capabilities a specific disk
+supports. For more information on bits not listed here, see
+include/linux/genhd.h
+
+Capability Value
+-------------------------------------------------------------------------------
+GENHD_FL_MEDIA_CHANGE_NOTIFY 4
+ When this bit is set, the disk supports Asynchronous Notification
+ of media change events. These events will be broadcast to user
+ space via kernel uevent.
+