aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--Documentation/DocBook/media/dvb/dvbproperty.xml18
-rw-r--r--Documentation/DocBook/media/dvb/frontend.xml431
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml24
3 files changed, 24 insertions, 449 deletions
diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml
index 33274bcc8592..207e1a5bf8f0 100644
--- a/Documentation/DocBook/media/dvb/dvbproperty.xml
+++ b/Documentation/DocBook/media/dvb/dvbproperty.xml
@@ -82,15 +82,6 @@ struct dtv_properties {
82 </row></tbody></tgroup></informaltable> 82 </row></tbody></tgroup></informaltable>
83&return-value-dvb; 83&return-value-dvb;
84<informaltable><tgroup cols="2"><tbody><row> 84<informaltable><tgroup cols="2"><tbody><row>
85 <entry align="char"><para>EINVAL</para></entry>
86 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry>
87 </row><row>
88 <entry align="char"><para>ENOMEM</para></entry>
89 <entry align="char"><para>Out of memory.</para></entry>
90 </row><row>
91 <entry align="char"><para>EFAULT</para></entry>
92 <entry align="char"><para>Failure while copying data from/to userspace.</para></entry>
93 </row><row>
94 <entry align="char"><para>EOPNOTSUPP</para></entry> 85 <entry align="char"><para>EOPNOTSUPP</para></entry>
95 <entry align="char"><para>Property type not supported.</para></entry> 86 <entry align="char"><para>Property type not supported.</para></entry>
96 </row></tbody></tgroup></informaltable> 87 </row></tbody></tgroup></informaltable>
@@ -139,15 +130,6 @@ struct dtv_properties {
139 </row></tbody></tgroup></informaltable> 130 </row></tbody></tgroup></informaltable>
140&return-value-dvb; 131&return-value-dvb;
141<informaltable><tgroup cols="2"><tbody><row> 132<informaltable><tgroup cols="2"><tbody><row>
142 <entry align="char"><para>EINVAL</para></entry>
143 <entry align="char"><para>Invalid parameter(s) received or number of parameters out of the range.</para></entry>
144 </row><row>
145 <entry align="char"><para>ENOMEM</para></entry>
146 <entry align="char"><para>Out of memory.</para></entry>
147 </row><row>
148 <entry align="char"><para>EFAULT</para></entry>
149 <entry align="char"><para>Failure while copying data from/to userspace.</para></entry>
150 </row><row>
151 <entry align="char"><para>EOPNOTSUPP</para></entry> 133 <entry align="char"><para>EOPNOTSUPP</para></entry>
152 <entry align="char"><para>Property type not supported.</para></entry> 134 <entry align="char"><para>Property type not supported.</para></entry>
153 </row></tbody></tgroup></informaltable> 135 </row></tbody></tgroup></informaltable>
diff --git a/Documentation/DocBook/media/dvb/frontend.xml b/Documentation/DocBook/media/dvb/frontend.xml
index c5a5cb4051be..61407eaba020 100644
--- a/Documentation/DocBook/media/dvb/frontend.xml
+++ b/Documentation/DocBook/media/dvb/frontend.xml
@@ -575,7 +575,7 @@ typedef enum fe_hierarchy {
575<para>File descriptor returned by a previous call to open().</para> 575<para>File descriptor returned by a previous call to open().</para>
576</entry> 576</entry>
577 </row></tbody></tgroup></informaltable> 577 </row></tbody></tgroup></informaltable>
578&return-value-dvb; 578<para>RETURN VALUE</para>
579<informaltable><tgroup cols="2"><tbody><row><entry 579<informaltable><tgroup cols="2"><tbody><row><entry
580 align="char"> 580 align="char">
581<para>EBADF</para> 581<para>EBADF</para>
@@ -692,37 +692,8 @@ typedef enum fe_hierarchy {
692<para>The bit error rate is stored into *ber.</para> 692<para>The bit error rate is stored into *ber.</para>
693</entry> 693</entry>
694 </row></tbody></tgroup></informaltable> 694 </row></tbody></tgroup></informaltable>
695
695&return-value-dvb; 696&return-value-dvb;
696<informaltable><tgroup cols="2"><tbody><row><entry
697 align="char">
698<para>EBADF</para>
699</entry><entry
700 align="char">
701<para>fd is not a valid open file descriptor.</para>
702</entry>
703 </row><row><entry
704 align="char">
705<para>EFAULT</para>
706</entry><entry
707 align="char">
708<para>ber points to invalid address.</para>
709</entry>
710 </row><row><entry
711 align="char">
712<para>ENOSIGNAL</para>
713</entry><entry
714 align="char">
715<para>There is no signal, thus no meaningful bit error rate. Also
716 returned if the front-end is not turned on.</para>
717</entry>
718 </row><row><entry
719 align="char">
720<para>ENOSYS</para>
721</entry><entry
722 align="char">
723<para>Function not available for this device.</para>
724</entry>
725 </row></tbody></tgroup></informaltable>
726</section> 697</section>
727 698
728<section id="FE_READ_SNR"> 699<section id="FE_READ_SNR">
@@ -770,36 +741,6 @@ typedef enum fe_hierarchy {
770 </row></tbody></tgroup></informaltable> 741 </row></tbody></tgroup></informaltable>
771 742
772&return-value-dvb; 743&return-value-dvb;
773<informaltable><tgroup cols="2"><tbody><row><entry
774 align="char">
775<para>EBADF</para>
776</entry><entry
777 align="char">
778<para>fd is not a valid open file descriptor.</para>
779</entry>
780 </row><row><entry
781 align="char">
782<para>EFAULT</para>
783</entry><entry
784 align="char">
785<para>snr points to invalid address.</para>
786</entry>
787 </row><row><entry
788 align="char">
789<para>ENOSIGNAL</para>
790</entry><entry
791 align="char">
792<para>There is no signal, thus no meaningful signal strength
793 value. Also returned if front-end is not turned on.</para>
794</entry>
795 </row><row><entry
796 align="char">
797<para>ENOSYS</para>
798</entry><entry
799 align="char">
800<para>Function not available for this device.</para>
801</entry>
802 </row></tbody></tgroup></informaltable>
803</section> 744</section>
804 745
805<section id="FE_READ_SIGNAL_STRENGTH"> 746<section id="FE_READ_SIGNAL_STRENGTH">
@@ -846,37 +787,8 @@ typedef enum fe_hierarchy {
846<para>The signal strength value is stored into *strength.</para> 787<para>The signal strength value is stored into *strength.</para>
847</entry> 788</entry>
848 </row></tbody></tgroup></informaltable> 789 </row></tbody></tgroup></informaltable>
790
849&return-value-dvb; 791&return-value-dvb;
850<informaltable><tgroup cols="2"><tbody><row><entry
851 align="char">
852<para>EBADF</para>
853</entry><entry
854 align="char">
855<para>fd is not a valid open file descriptor.</para>
856</entry>
857 </row><row><entry
858 align="char">
859<para>EFAULT</para>
860</entry><entry
861 align="char">
862<para>status points to invalid address.</para>
863</entry>
864 </row><row><entry
865 align="char">
866<para>ENOSIGNAL</para>
867</entry><entry
868 align="char">
869<para>There is no signal, thus no meaningful signal strength
870 value. Also returned if front-end is not turned on.</para>
871</entry>
872 </row><row><entry
873 align="char">
874<para>ENOSYS</para>
875</entry><entry
876 align="char">
877<para>Function not available for this device.</para>
878</entry>
879 </row></tbody></tgroup></informaltable>
880</section> 792</section>
881 793
882<section id="FE_READ_UNCORRECTED_BLOCKS"> 794<section id="FE_READ_UNCORRECTED_BLOCKS">
@@ -930,29 +842,8 @@ typedef enum fe_hierarchy {
930 so far.</para> 842 so far.</para>
931</entry> 843</entry>
932 </row></tbody></tgroup></informaltable> 844 </row></tbody></tgroup></informaltable>
845
933&return-value-dvb; 846&return-value-dvb;
934<informaltable><tgroup cols="2"><tbody><row><entry
935 align="char">
936<para>EBADF</para>
937</entry><entry
938 align="char">
939<para>fd is not a valid open file descriptor.</para>
940</entry>
941 </row><row><entry
942 align="char">
943<para>EFAULT</para>
944</entry><entry
945 align="char">
946<para>ublocks points to invalid address.</para>
947</entry>
948 </row><row><entry
949 align="char">
950<para>ENOSYS</para>
951</entry><entry
952 align="char">
953<para>Function not available for this device.</para>
954</entry>
955 </row></tbody></tgroup></informaltable>
956</section> 847</section>
957 848
958<section id="FE_SET_FRONTEND"> 849<section id="FE_SET_FRONTEND">
@@ -1005,23 +896,10 @@ typedef enum fe_hierarchy {
1005<para>Points to parameters for tuning operation.</para> 896<para>Points to parameters for tuning operation.</para>
1006</entry> 897</entry>
1007 </row></tbody></tgroup></informaltable> 898 </row></tbody></tgroup></informaltable>
899
1008&return-value-dvb; 900&return-value-dvb;
1009<informaltable><tgroup cols="2"><tbody><row><entry 901<informaltable><tgroup cols="2"><tbody><row><entry
1010 align="char"> 902 align="char">
1011<para>EBADF</para>
1012</entry><entry
1013 align="char">
1014<para>fd is not a valid open file descriptor.</para>
1015</entry>
1016 </row><row><entry
1017 align="char">
1018<para>EFAULT</para>
1019</entry><entry
1020 align="char">
1021<para>p points to invalid address.</para>
1022</entry>
1023 </row><row><entry
1024 align="char">
1025<para>EINVAL</para> 903<para>EINVAL</para>
1026</entry><entry 904</entry><entry
1027 align="char"> 905 align="char">
@@ -1078,23 +956,8 @@ typedef enum fe_hierarchy {
1078 </row></tbody></tgroup></informaltable> 956 </row></tbody></tgroup></informaltable>
1079 957
1080&return-value-dvb; 958&return-value-dvb;
1081
1082<informaltable><tgroup cols="2"><tbody><row><entry 959<informaltable><tgroup cols="2"><tbody><row><entry
1083 align="char"> 960 align="char">
1084<para>EBADF</para>
1085</entry><entry
1086 align="char">
1087<para>fd is not a valid open file descriptor.</para>
1088</entry>
1089 </row><row><entry
1090 align="char">
1091<para>EFAULT</para>
1092</entry><entry
1093 align="char">
1094<para>p points to invalid address.</para>
1095</entry>
1096 </row><row><entry
1097 align="char">
1098<para>EINVAL</para> 961<para>EINVAL</para>
1099</entry><entry 962</entry><entry
1100 align="char"> 963 align="char">
@@ -1181,20 +1044,6 @@ typedef enum fe_hierarchy {
1181&return-value-dvb; 1044&return-value-dvb;
1182<informaltable><tgroup cols="2"><tbody><row><entry 1045<informaltable><tgroup cols="2"><tbody><row><entry
1183 align="char"> 1046 align="char">
1184<para>EBADF</para>
1185</entry><entry
1186 align="char">
1187<para>fd is not a valid open file descriptor.</para>
1188</entry>
1189 </row><row><entry
1190 align="char">
1191<para>EFAULT</para>
1192</entry><entry
1193 align="char">
1194<para>ev points to invalid address.</para>
1195</entry>
1196 </row><row><entry
1197 align="char">
1198<para>EWOULDBLOCK</para> 1047<para>EWOULDBLOCK</para>
1199</entry><entry 1048</entry><entry
1200 align="char"> 1049 align="char">
@@ -1206,11 +1055,6 @@ typedef enum fe_hierarchy {
1206<para>EOVERFLOW</para> 1055<para>EOVERFLOW</para>
1207</entry><entry 1056</entry><entry
1208 align="char"> 1057 align="char">
1209</entry>
1210 </row><row><entry
1211 align="char">
1212</entry><entry
1213 align="char">
1214<para>Overflow in event queue - one or more events were lost.</para> 1058<para>Overflow in event queue - one or more events were lost.</para>
1215</entry> 1059</entry>
1216</row></tbody></tgroup></informaltable> 1060</row></tbody></tgroup></informaltable>
@@ -1264,21 +1108,6 @@ typedef enum fe_hierarchy {
1264</entry> 1108</entry>
1265 </row></tbody></tgroup></informaltable> 1109 </row></tbody></tgroup></informaltable>
1266&return-value-dvb; 1110&return-value-dvb;
1267<informaltable><tgroup cols="2"><tbody><row><entry
1268 align="char">
1269<para>EBADF</para>
1270</entry><entry
1271 align="char">
1272<para>fd is not a valid open file descriptor.</para>
1273</entry>
1274 </row><row><entry
1275 align="char">
1276<para>EFAULT</para>
1277</entry><entry
1278 align="char">
1279<para>info points to invalid address.</para>
1280</entry>
1281</row></tbody></tgroup></informaltable>
1282</section> 1111</section>
1283 1112
1284<section id="FE_DISEQC_RESET_OVERLOAD"> 1113<section id="FE_DISEQC_RESET_OVERLOAD">
@@ -1322,28 +1151,6 @@ typedef enum fe_hierarchy {
1322 </row></tbody></tgroup></informaltable> 1151 </row></tbody></tgroup></informaltable>
1323 1152
1324&return-value-dvb; 1153&return-value-dvb;
1325<informaltable><tgroup cols="2"><tbody><row><entry
1326 align="char">
1327<para>EBADF</para>
1328</entry><entry
1329 align="char">
1330<para>fd is not a valid file descriptor.</para>
1331</entry>
1332 </row><row><entry
1333 align="char">
1334<para>EPERM</para>
1335</entry><entry
1336 align="char">
1337<para>Permission denied (needs read/write access).</para>
1338</entry>
1339 </row><row><entry
1340 align="char">
1341<para>EINTERNAL</para>
1342</entry><entry
1343 align="char">
1344<para>Internal error in the device driver.</para>
1345</entry>
1346</row></tbody></tgroup></informaltable>
1347</section> 1154</section>
1348 1155
1349<section id="FE_DISEQC_SEND_MASTER_CMD"> 1156<section id="FE_DISEQC_SEND_MASTER_CMD">
@@ -1394,43 +1201,6 @@ typedef enum fe_hierarchy {
1394 </row></tbody></tgroup></informaltable> 1201 </row></tbody></tgroup></informaltable>
1395 1202
1396&return-value-dvb; 1203&return-value-dvb;
1397<informaltable><tgroup cols="2"><tbody><row><entry
1398 align="char">
1399<para>EBADF</para>
1400</entry><entry
1401 align="char">
1402<para>fd is not a valid file descriptor.</para>
1403</entry>
1404 </row><row><entry
1405 align="char">
1406<para>EFAULT</para>
1407</entry><entry
1408 align="char">
1409<para>Seq points to an invalid address.</para>
1410</entry>
1411 </row><row><entry
1412 align="char">
1413<para>EINVAL</para>
1414</entry><entry
1415 align="char">
1416<para>The data structure referred to by seq is invalid in some
1417 way.</para>
1418</entry>
1419 </row><row><entry
1420 align="char">
1421<para>EPERM</para>
1422</entry><entry
1423 align="char">
1424<para>Permission denied (needs read/write access).</para>
1425</entry>
1426 </row><row><entry
1427 align="char">
1428<para>EINTERNAL</para>
1429</entry><entry
1430 align="char">
1431<para>Internal error in the device driver.</para>
1432</entry>
1433</row></tbody></tgroup></informaltable>
1434</section> 1204</section>
1435 1205
1436<section id="FE_DISEQC_RECV_SLAVE_REPLY"> 1206<section id="FE_DISEQC_RECV_SLAVE_REPLY">
@@ -1481,43 +1251,6 @@ typedef enum fe_hierarchy {
1481</entry> 1251</entry>
1482 </row></tbody></tgroup></informaltable> 1252 </row></tbody></tgroup></informaltable>
1483&return-value-dvb; 1253&return-value-dvb;
1484<informaltable><tgroup cols="2"><tbody><row><entry
1485 align="char">
1486<para>EBADF</para>
1487</entry><entry
1488 align="char">
1489<para>fd is not a valid file descriptor.</para>
1490</entry>
1491 </row><row><entry
1492 align="char">
1493<para>EFAULT</para>
1494</entry><entry
1495 align="char">
1496<para>Seq points to an invalid address.</para>
1497</entry>
1498 </row><row><entry
1499 align="char">
1500<para>EINVAL</para>
1501</entry><entry
1502 align="char">
1503<para>The data structure referred to by seq is invalid in some
1504 way.</para>
1505</entry>
1506 </row><row><entry
1507 align="char">
1508<para>EPERM</para>
1509</entry><entry
1510 align="char">
1511<para>Permission denied (needs read/write access).</para>
1512</entry>
1513 </row><row><entry
1514 align="char">
1515<para>EINTERNAL</para>
1516</entry><entry
1517 align="char">
1518<para>Internal error in the device driver.</para>
1519</entry>
1520 </row></tbody></tgroup></informaltable>
1521</section> 1254</section>
1522 1255
1523<section id="FE_DISEQC_SEND_BURST"> 1256<section id="FE_DISEQC_SEND_BURST">
@@ -1566,43 +1299,6 @@ typedef enum fe_hierarchy {
1566 </row></tbody></tgroup></informaltable> 1299 </row></tbody></tgroup></informaltable>
1567 1300
1568&return-value-dvb; 1301&return-value-dvb;
1569<informaltable><tgroup cols="2"><tbody><row><entry
1570 align="char">
1571<para>EBADF</para>
1572</entry><entry
1573 align="char">
1574<para>fd is not a valid file descriptor.</para>
1575</entry>
1576 </row><row><entry
1577 align="char">
1578<para>EFAULT</para>
1579</entry><entry
1580 align="char">
1581<para>Seq points to an invalid address.</para>
1582</entry>
1583 </row><row><entry
1584 align="char">
1585<para>EINVAL</para>
1586</entry><entry
1587 align="char">
1588<para>The data structure referred to by seq is invalid in some
1589 way.</para>
1590</entry>
1591 </row><row><entry
1592 align="char">
1593<para>EPERM</para>
1594</entry><entry
1595 align="char">
1596<para>Permission denied (needs read/write access).</para>
1597</entry>
1598 </row><row><entry
1599 align="char">
1600<para>EINTERNAL</para>
1601</entry><entry
1602 align="char">
1603<para>Internal error in the device driver.</para>
1604</entry>
1605</row></tbody></tgroup></informaltable>
1606</section> 1302</section>
1607 1303
1608<section id="FE_SET_TONE"> 1304<section id="FE_SET_TONE">
@@ -1649,42 +1345,6 @@ typedef enum fe_hierarchy {
1649</entry> 1345</entry>
1650 </row></tbody></tgroup></informaltable> 1346 </row></tbody></tgroup></informaltable>
1651&return-value-dvb; 1347&return-value-dvb;
1652<informaltable><tgroup cols="2"><tbody><row><entry
1653 align="char">
1654<para>ENODEV</para>
1655</entry><entry
1656 align="char">
1657<para>Device driver not loaded/available.</para>
1658</entry>
1659 </row><row><entry
1660 align="char">
1661<para>EBUSY</para>
1662</entry><entry
1663 align="char">
1664<para>Device or resource busy.</para>
1665</entry>
1666 </row><row><entry
1667 align="char">
1668<para>EINVAL</para>
1669</entry><entry
1670 align="char">
1671<para>Invalid argument.</para>
1672</entry>
1673 </row><row><entry
1674 align="char">
1675<para>EPERM</para>
1676</entry><entry
1677 align="char">
1678<para>File not opened with read permissions.</para>
1679</entry>
1680 </row><row><entry
1681 align="char">
1682<para>EINTERNAL</para>
1683</entry><entry
1684 align="char">
1685<para>Internal error in the device driver.</para>
1686</entry>
1687</row></tbody></tgroup></informaltable>
1688</section> 1348</section>
1689 1349
1690<section id="FE_SET_VOLTAGE"> 1350<section id="FE_SET_VOLTAGE">
@@ -1733,42 +1393,6 @@ typedef enum fe_hierarchy {
1733 </row></tbody></tgroup></informaltable> 1393 </row></tbody></tgroup></informaltable>
1734 1394
1735&return-value-dvb; 1395&return-value-dvb;
1736<informaltable><tgroup cols="2"><tbody><row><entry
1737 align="char">
1738<para>ENODEV</para>
1739</entry><entry
1740 align="char">
1741<para>Device driver not loaded/available.</para>
1742</entry>
1743 </row><row><entry
1744 align="char">
1745<para>EBUSY</para>
1746</entry><entry
1747 align="char">
1748<para>Device or resource busy.</para>
1749</entry>
1750 </row><row><entry
1751 align="char">
1752<para>EINVAL</para>
1753</entry><entry
1754 align="char">
1755<para>Invalid argument.</para>
1756</entry>
1757 </row><row><entry
1758 align="char">
1759<para>EPERM</para>
1760</entry><entry
1761 align="char">
1762<para>File not opened with read permissions.</para>
1763</entry>
1764 </row><row><entry
1765 align="char">
1766<para>EINTERNAL</para>
1767</entry><entry
1768 align="char">
1769<para>Internal error in the device driver.</para>
1770</entry>
1771 </row></tbody></tgroup></informaltable>
1772</section> 1396</section>
1773 1397
1774<section id="FE_ENABLE_HIGH_LNB_VOLTAGE"> 1398<section id="FE_ENABLE_HIGH_LNB_VOLTAGE">
@@ -1818,42 +1442,6 @@ typedef enum fe_hierarchy {
1818 </row></tbody></tgroup></informaltable> 1442 </row></tbody></tgroup></informaltable>
1819 1443
1820&return-value-dvb; 1444&return-value-dvb;
1821<informaltable><tgroup cols="2"><tbody><row><entry
1822 align="char">
1823<para>ENODEV</para>
1824</entry><entry
1825 align="char">
1826<para>Device driver not loaded/available.</para>
1827</entry>
1828 </row><row><entry
1829 align="char">
1830<para>EBUSY</para>
1831</entry><entry
1832 align="char">
1833<para>Device or resource busy.</para>
1834</entry>
1835 </row><row><entry
1836 align="char">
1837<para>EINVAL</para>
1838</entry><entry
1839 align="char">
1840<para>Invalid argument.</para>
1841</entry>
1842 </row><row><entry
1843 align="char">
1844<para>EPERM</para>
1845</entry><entry
1846 align="char">
1847<para>File not opened with read permissions.</para>
1848</entry>
1849 </row><row><entry
1850 align="char">
1851<para>EINTERNAL</para>
1852</entry><entry
1853 align="char">
1854<para>Internal error in the device driver.</para>
1855</entry>
1856 </row></tbody></tgroup></informaltable>
1857</section> 1445</section>
1858 1446
1859<section id="FE_SET_FRONTEND_TUNE_MODE"> 1447<section id="FE_SET_FRONTEND_TUNE_MODE">
@@ -1886,10 +1474,6 @@ FE_TUNE_MODE_ONESHOT When set, this flag will disable any zigzagging or other "n
1886 </row></tbody></tgroup></informaltable> 1474 </row></tbody></tgroup></informaltable>
1887 1475
1888&return-value-dvb; 1476&return-value-dvb;
1889<informaltable><tgroup cols="2"><tbody><row>
1890<entry align="char"><para>EINVAL</para></entry>
1891<entry align="char"><para>Invalid argument.</para></entry>
1892 </row></tbody></tgroup></informaltable>
1893</section> 1477</section>
1894 1478
1895<section id="FE_DISHNETWORK_SEND_LEGACY_CMD"> 1479<section id="FE_DISHNETWORK_SEND_LEGACY_CMD">
@@ -1924,11 +1508,6 @@ sends the specified raw cmd to the dish via DISEqC.
1924 </row></tbody></tgroup></informaltable> 1508 </row></tbody></tgroup></informaltable>
1925 1509
1926&return-value-dvb; 1510&return-value-dvb;
1927<informaltable><tgroup cols="1"><tbody><row>
1928<entry align="char">
1929 <para>There are no errors in use for this call</para>
1930</entry>
1931</row></tbody></tgroup></informaltable>
1932</section> 1511</section>
1933 1512
1934</section> 1513</section>
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index c9818799764d..7c1980e8747b 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>