[PATCH 3/4] vmbus: document sysfs ABI for bind/unbind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bind/unbind support was added by commit 381b803a68deb28
("vmbus: add support for dynamic device id's").

Signed-off-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
---
 Documentation/ABI/stable/sysfs-bus-vmbus | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/Documentation/ABI/stable/sysfs-bus-vmbus b/Documentation/ABI/stable/sysfs-bus-vmbus
index cc4beab180ff..183d14420152 100644
--- a/Documentation/ABI/stable/sysfs-bus-vmbus
+++ b/Documentation/ABI/stable/sysfs-bus-vmbus
@@ -41,3 +41,27 @@ KernelVersion:	4.5
 Contact:	K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
 Description:	The 16 bit vendor ID of the device
 Users:		tools/hv/lsvmbus and user level RDMA libraries
+
+What:		/sys/bus/vmbus/drivers/.../bind
+Date:		Nov. 2015
+KernelVersion:	4.9
+Contact:	Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
+Description:
+		Writing a device location to this file will cause
+		the driver to attempt to bind to the device found at
+		this location.	This is useful for overriding default
+		bindings.  The format is UUID format similar to
+		/sys/bus/vmbus/devices/. For example:
+		# echo f8615163-df3e-46c5-913f-f2d2f965ed0e > /sys/bus/pci/drivers/foo/bind
+
+What:		/sys/bus/vmbus/drivers/.../unbind
+Date:		Nov. 2015
+KernelVersion:	4.9
+Contact:	Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
+Description:
+		Writing a device location to this file will cause the
+		driver to attempt to unbind from the device found at
+		this location.	This may be useful when overriding default
+		bindings. The format is UUID format similar to
+		/sys/bus/vmbus/devices/. For example:
+		# echo f8615163-df3e-46c5-913f-f2d2f965ed0e > /sys/bus/pci/drivers/foo/unbind
-- 
2.11.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux