Skip to contentSkip to conversation

USB: document ioctl USBDEVFS_GET_SPEED

PATCH New Oliver Neukum 1 participant 1 message Jul 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: document ioctl USBDEVFS_GET_SPEED

Documenting this ioctl along with the other
ioctls

Fixes c01b244ad848a ("USB: add usbfs ioctl to retrieve the connection speed")
---
 Documentation/driver-api/usb/usb.rst | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/driver-api/usb/usb.rst +6 -0
index 2c94ff2f4385..0fcd75ee5897 100644
@@ -420,6 +420,12 @@ USBDEVFS_CONNECTINFO
     know the devnum value already, it's the DDD value of the device file
     name.
 
+USBDEVFS_GET_SPEED
+    Returns the speed of the device. The speed is returned as a
+    nummerical value in accordance with enum usb_device_speed
+
+    File modification time is not updated by this request.
+
 USBDEVFS_GETDRIVER
     Returns the name of the kernel driver bound to a given interface (a
     string). Parameter is a pointer to this structure, which is
Signature · 1 line
2.41.0