firewire: cdev: add new version of ABI to notify time stamp at request/response subac...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 29 May 2023 23:12:39 +0000 (08:12 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 29 May 2023 23:12:39 +0000 (08:12 +0900)
This commit adds new version of ABI for future new events with time stamp
for request/response subaction of asynchronous transaction to user
space.

Link: https://lore.kernel.org/r/20230529113406.986289-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-cdev.c
include/uapi/linux/firewire-cdev.h

index 2c16ee8fd842d3bb89de458e1049e4ffbcea2cec..88c8b5fac5e50c74f87996ee34b84bbc39732f18 100644 (file)
@@ -43,6 +43,7 @@
 #define FW_CDEV_VERSION_EVENT_REQUEST2         4
 #define FW_CDEV_VERSION_ALLOCATE_REGION_END    4
 #define FW_CDEV_VERSION_AUTO_FLUSH_ISO_OVERFLOW        5
+#define FW_CDEV_VERSION_EVENT_ASYNC_TSTAMP     6
 
 struct client {
        u32 version;
index 92be3ea3c6e0bcb9b81e0fac66a6e6ed0f2c45cc..76441eb551e5486628b2bf191249b8e0576476af 100644 (file)
@@ -457,6 +457,7 @@ union fw_cdev_event {
  *  5  (3.4)     - send %FW_CDEV_EVENT_ISO_INTERRUPT events when needed to
  *                 avoid dropping data
  *               - added %FW_CDEV_IOC_FLUSH_ISO
+ *  6  (6.5)     - added some event for subactions of asynchronous transaction with time stamp
  */
 
 /**