]> git.baikalelectronics.ru Git - kernel.git/commit
docs: ioctl-number.rst: reserve IIO subsystem ioctl() space
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 15 Feb 2021 10:40:26 +0000 (12:40 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:02 +0000 (20:47 +0000)
commit7eb7725d518e1667ad8727e906b88d9f7d587583
treee7c9ff74fa6d19c005a840632e400f30d7b9cd04
parentf4aaf407620e9151a4dc6a652d41f70e7aa3e61e
docs: ioctl-number.rst: reserve IIO subsystem ioctl() space

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>
Link: https://lore.kernel.org/r/20210215104043.91251-8-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/userspace-api/ioctl/ioctl-number.rst