[bootlin/training-materials updates] master: Kernel slides: add details about how to choice ioctl command numbers (ca5cbca2)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:36 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/ca5cbca29aee573985fce8eb34f1dfbbfb2a223b
>---------------------------------------------------------------
commit ca5cbca29aee573985fce8eb34f1dfbbfb2a223b
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Apr 26 16:45:57 2021 +0200
Kernel slides: add details about how to choice ioctl command numbers
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
Reported-by: Sascha Schröder <s.schroeder at avm.de>
>---------------------------------------------------------------
ca5cbca29aee573985fce8eb34f1dfbbfb2a223b
slides/kernel-frameworks2/kernel-frameworks2.tex | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/slides/kernel-frameworks2/kernel-frameworks2.tex b/slides/kernel-frameworks2/kernel-frameworks2.tex
index a2497bc5..8725dbd1 100644
--- a/slides/kernel-frameworks2/kernel-frameworks2.tex
+++ b/slides/kernel-frameworks2/kernel-frameworks2.tex
@@ -191,7 +191,9 @@ Many more operations exist. All of them are optional.
\item For example: changing the speed of a serial port, setting
video output format, querying a device serial number... Used
extensively in the V4L2 (video) and ALSA (sound) driver frameworks.
- \item \code{cmd} is a number identifying the operation to perform
+ \item \code{cmd} is a number identifying the operation to perform.\\
+ See \kdochtml{driver-api/ioctl} for the recommended way of choosing
+ \code{cmd} numbers.
\item \code{arg} is the optional argument passed as third argument
of the \code{ioctl()} system call. Can be an integer, an
address, etc.
More information about the training-materials-updates
mailing list