Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261416
b: refs/heads/master
c: 6d17249
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 59a6f27 commit 71c3276
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28720944d86b4d187360daa8be67dd22cb4e897b
refs/heads/master: 6d1724925d4da49b84161f1440912205576b7935
2 changes: 2 additions & 0 deletions trunk/Documentation/DocBook/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
*.dvi
*.log
*.out
*.png
*.gif
media-indices.tmpl
media-entities.tmpl
42 changes: 39 additions & 3 deletions trunk/Documentation/DocBook/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,59 @@ STRUCTS = \
$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/linux/v4l2-mediabus.h)

ERRORS = \
E2BIG \
EACCES \
EAGAIN \
EBADF \
EBADFD \
EBADR \
EBADRQC \
EBUSY \
ECHILD \
ECONNRESET \
EDEADLK \
EDOM \
EEXIST \
EFAULT \
EIO \
EFBIG \
EILSEQ \
EINIT \
EINPROGRESS \
EINTR \
EINVAL \
EIO \
EMFILE \
ENFILE \
ENOBUFS \
ENODATA \
ENODEV \
ENOENT \
ENOIOCTLCMD \
ENOMEM \
ENOSPC \
ENOSR \
ENOSYS \
ENOTSUP \
ENOTSUPP \
ENOTTY \
ENXIO \
EMFILE \
EOPNOTSUPP \
EOVERFLOW \
EPERM \
ERANGE \
EPIPE \
EPROTO \
ERANGE \
EREMOTE \
EREMOTEIO \
ERESTART \
ERESTARTSYS \
ESHUTDOWN \
ESPIPE \
ETIME \
ETIMEDOUT \
EUSERS \
EWOULDBLOCK \
EXDEV \

ESCAPE = \
-e "s/&/\\&/g" \
Expand Down
17 changes: 17 additions & 0 deletions trunk/Documentation/DocBook/media/v4l/gen-errors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<title>Generic Error Codes</title>

<table frame="none" pgwide="1" id="gen-errors">
<title>Generic error codes</title>
<tgroup cols="2">
&cs-str;
<tbody valign="top">
<row>
<entry>EBUSY</entry>
<entry>The ioctl can't be handled because the device is busy. This is
typically return while device is streaming, and an ioctl tried to
change something that would affect the stream, or would require the
usage of a hardware resource that was already allocated.</entry>
</row>
</tbody>
</tgroup>
</table>
7 changes: 6 additions & 1 deletion trunk/Documentation/DocBook/media_api.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!ENTITY ie "i.&nbsp;e.">
<!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>.">
<!ENTITY i2c "I<superscript>2</superscript>C">
<!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately:</para>">
<!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>">
<!ENTITY manvol "<manvolnum>2</manvolnum>">

<!-- Table templates: structs, structs w/union, defines. -->
Expand Down Expand Up @@ -110,6 +110,11 @@ Foundation. A copy of the license is included in the chapter entitled
&sub-media-controller;
</part>

<chapter id="gen_errors">
&sub-gen-errors;
</chapter>


&sub-fdl-appendix;

</book>

0 comments on commit 71c3276

Please sign in to comment.