aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/gen-errors.xml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-06 12:42:08 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:38 -0400
commit66b30b5d510f46c47beb330932afdcb7943d1d78 (patch)
treed59dd5b5698f5c387ce4626785dcebe7eab0d5c7 /Documentation/DocBook/media/v4l/gen-errors.xml
parent16d6c0b02c555b93034ffef4bf1b2d8ae80d8102 (diff)
[media] DocBook/dvb: Use generic descriptions for the frontend API
Move generic stuff into gen-errors.xml, and remove them from DVB API. While here, removes two bogus error codes that aren't supported or used on Linux: EINTERNAL and ENOSIGNAL. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/gen-errors.xml')
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml24
1 files changed, 19 insertions, 5 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index c9818799764..7c1980e8747 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -8,7 +8,7 @@
8 <!-- Keep it ordered alphabetically --> 8 <!-- Keep it ordered alphabetically -->
9 <row> 9 <row>
10 <entry>EBADF</entry> 10 <entry>EBADF</entry>
11 <entry><parameter>fd</parameter> is not a valid open file descriptor.</entry> 11 <entry>The file descriptor is not a valid.</entry>
12 </row> 12 </row>
13 <row> 13 <row>
14 <entry>EBUSY</entry> 14 <entry>EBUSY</entry>
@@ -21,18 +21,21 @@
21 </row> 21 </row>
22 <row> 22 <row>
23 <entry>EFAULT</entry> 23 <entry>EFAULT</entry>
24 <entry><parameter>fd</parameter> is not a valid open file descriptor.</entry> 24 <entry>There was a failure while copying data from/to userspace,
25 probably caused by an invalid pointer reference.</entry>
25 </row> 26 </row>
26 <row> 27 <row>
27 <entry>EINVAL</entry> 28 <entry>EINVAL</entry>
28 <entry>One or more of the ioctl parameters are invalid. This is a widely 29 <entry>One or more of the ioctl parameters are invalid or out of the
29 used error code. See the individual ioctl requests for actual causes.</entry> 30 allowed range. This is a widely used error code. See the individual
31 ioctl requests for specific causes.</entry>
30 </row> 32 </row>
31 <row> 33 <row>
32 <entry>EINVAL or ENOTTY</entry> 34 <entry>EINVAL or ENOTTY</entry>
33 <entry>The ioctl is not supported by the driver, actually meaning that 35 <entry>The ioctl is not supported by the driver, actually meaning that
34 the required functionality is not available, or the file 36 the required functionality is not available, or the file
35 descriptor is not for a media device.</entry> 37 descriptor is not for a media device. The usage of EINVAL is
38 deprecated and will be fixed on a latter patch.</entry>
36 </row> 39 </row>
37 <row> 40 <row>
38 <entry>ENODEV</entry> 41 <entry>ENODEV</entry>
@@ -49,6 +52,17 @@
49 for periodic transfers (up to 80% of the USB bandwidth).</entry> 52 for periodic transfers (up to 80% of the USB bandwidth).</entry>
50 </row> 53 </row>
51 <row> 54 <row>
55 <entry>ENOSYS or EOPNOTSUPP</entry>
56 <entry>Function not available for this device (dvb API only. Will likely
57 be replaced anytime soon by ENOTTY).</entry>
58 </row>
59 <row>
60 <entry>EPERM</entry>
61 <entry>Permission denied. Can be returned if the device needs write
62 permission, or some special capabilities is needed
63 (e. g. root)</entry>
64 </row>
65 <row>
52 <entry>EWOULDBLOCK</entry> 66 <entry>EWOULDBLOCK</entry>
53 <entry>Operation would block. Used when the ioctl would need to wait 67 <entry>Operation would block. Used when the ioctl would need to wait
54 for an event, but the device was opened in non-blocking mode.</entry> 68 for an event, but the device was opened in non-blocking mode.</entry>