lkml.org 
[lkml]   [2021]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 01/17] docs: ioctl-number.rst: reserve IIO subsystem ioctl() space
    Date
    Currently, only the 'i' 0x90 ioctl() actually exists and is defined in
    'include/uapi/linux/iio/events.h'.

    It's the IIO_GET_EVENT_FD_IOCTL, which is used to retrieve and FD for
    reading events from an IIO device.
    We will want to add more ioct() numbers, so with this change the 'i'
    0x90-0x9F space is reserved for IIO ioctl() calls.

    Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
    ---
    Documentation/userspace-api/ioctl/ioctl-number.rst | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst
    index a4c75a28c839..179783aac8dd 100644
    --- a/Documentation/userspace-api/ioctl/ioctl-number.rst
    +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
    @@ -245,6 +245,7 @@ Code Seq# Include File Comments
    'i' 00-3F linux/i2o-dev.h conflict!
    'i' 0B-1F linux/ipmi.h conflict!
    'i' 80-8F linux/i8k.h
    +'i' 90-9F `linux/iio/*.h` IIO
    'j' 00-3F linux/joystick.h
    'k' 00-0F linux/spi/spidev.h conflict!
    'k' 00-05 video/kyro.h conflict!
    --
    2.17.1
    \
     
     \ /
      Last update: 2021-02-10 11:10    [W:2.192 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site