OSDN Git Service

[media] DocBook: Remove duplicated documentation for SEC_VOLTAGE_*
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 7 Jun 2015 14:34:12 +0000 (11:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 9 Jun 2015 20:47:33 +0000 (17:47 -0300)
The table were documented at the legacy ioctl call. Move it
to the DVBv5 ioctl, and add a cross ref link on the legacy
section.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/dvb/dvbproperty.xml
Documentation/DocBook/media/dvb/fe-set-voltage.xml

index e31d945..e1d1e24 100644 (file)
@@ -401,12 +401,31 @@ get/set up to 64 properties. The actual meaning of each property is described on
        the polarzation (horizontal/vertical). When using DiSEqC epuipment this
        voltage has to be switched consistently to the DiSEqC commands as
        described in the DiSEqC spec.</para>
-       <programlisting>
-               typedef enum fe_sec_voltage {
-               SEC_VOLTAGE_13,
-               SEC_VOLTAGE_18
-               } fe_sec_voltage_t;
-       </programlisting>
+
+<table pgwide="1" frame="none" id="fe-sec-voltage">
+    <title id="fe-sec-voltage-t">enum fe_sec_voltage</title>
+    <tgroup cols="2">
+       &cs-def;
+       <thead>
+       <row>
+           <entry>ID</entry>
+           <entry>Description</entry>
+       </row>
+       </thead>
+       <tbody valign="top">
+       <row>
+           <entry align="char" id="SEC-VOLTAGE-13"><constant>SEC_VOLTAGE_13</constant></entry>
+           <entry align="char">Set DC voltage level to 13V</entry>
+       </row><row>
+           <entry align="char" id="SEC-VOLTAGE-18"><constant>SEC_VOLTAGE_18</constant></entry>
+           <entry align="char">Set DC voltage level to 18V</entry>
+       </row><row>
+           <entry align="char" id="SEC-VOLTAGE-OFF"><constant>SEC_VOLTAGE_OFF</constant></entry>
+           <entry align="char">Don't send any voltage to the antenna</entry>
+       </row>
+        </tbody>
+    </tgroup>
+</table>
        </section>
        <section id="DTV-TONE">
        <title><constant>DTV_TONE</constant></title>
index 053c4cb..c89a6f7 100644 (file)
@@ -39,6 +39,7 @@
        <term><parameter>voltage</parameter></term>
        <listitem>
          <para>pointer to &fe-sec-voltage;</para>
+         <para>Valid values are described at &fe-sec-voltage;.</para>
        </listitem>
       </varlistentry>
     </variablelist>
 &return-value-dvb;
 </refsect1>
 
-<refsect1 id="fe-sec-voltage-t">
-<title>enum fe_sec_voltage</title>
-
-<table pgwide="1" frame="none" id="fe-sec-voltage">
-    <title>enum fe_status</title>
-    <tgroup cols="2">
-       &cs-def;
-       <thead>
-       <row>
-           <entry>ID</entry>
-           <entry>Description</entry>
-       </row>
-       </thead>
-       <tbody valign="top">
-       <row>
-           <entry align="char" id="SEC-VOLTAGE-13"><constant>SEC_VOLTAGE_13</constant></entry>
-           <entry align="char">Set DC voltage level to 13V</entry>
-       </row><row>
-           <entry align="char" id="SEC-VOLTAGE-18"><constant>SEC_VOLTAGE_18</constant></entry>
-           <entry align="char">Set DC voltage level to 18V</entry>
-       </row><row>
-           <entry align="char" id="SEC-VOLTAGE-OFF"><constant>SEC_VOLTAGE_OFF</constant></entry>
-           <entry align="char">Don't send any voltage to the antenna</entry>
-       </row>
-        </tbody>
-    </tgroup>
-</table>
-</refsect1>
-
 </refentry>