Skip to content

Commit ff50574

Browse files
committed
[media] DocBook: Remove duplicated documentation for SEC_VOLTAGE_*
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>
1 parent 448bac1 commit ff50574

2 files changed

Lines changed: 26 additions & 35 deletions

File tree

‎Documentation/DocBook/media/dvb/dvbproperty.xml‎

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,31 @@ get/set up to 64 properties. The actual meaning of each property is described on
401401
the polarzation (horizontal/vertical). When using DiSEqC epuipment this
402402
voltage has to be switched consistently to the DiSEqC commands as
403403
described in the DiSEqC spec.</para>
404-
<programlisting>
405-
typedef enum fe_sec_voltage {
406-
SEC_VOLTAGE_13,
407-
SEC_VOLTAGE_18
408-
} fe_sec_voltage_t;
409-
</programlisting>
404+
405+
<table pgwide="1" frame="none" id="fe-sec-voltage">
406+
<title id="fe-sec-voltage-t">enum fe_sec_voltage</title>
407+
<tgroup cols="2">
408+
&cs-def;
409+
<thead>
410+
<row>
411+
<entry>ID</entry>
412+
<entry>Description</entry>
413+
</row>
414+
</thead>
415+
<tbody valign="top">
416+
<row>
417+
<entry align="char" id="SEC-VOLTAGE-13"><constant>SEC_VOLTAGE_13</constant></entry>
418+
<entry align="char">Set DC voltage level to 13V</entry>
419+
</row><row>
420+
<entry align="char" id="SEC-VOLTAGE-18"><constant>SEC_VOLTAGE_18</constant></entry>
421+
<entry align="char">Set DC voltage level to 18V</entry>
422+
</row><row>
423+
<entry align="char" id="SEC-VOLTAGE-OFF"><constant>SEC_VOLTAGE_OFF</constant></entry>
424+
<entry align="char">Don't send any voltage to the antenna</entry>
425+
</row>
426+
</tbody>
427+
</tgroup>
428+
</table>
410429
</section>
411430
<section id="DTV-TONE">
412431
<title><constant>DTV_TONE</constant></title>

‎Documentation/DocBook/media/dvb/fe-set-voltage.xml‎

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<term><parameter>voltage</parameter></term>
4040
<listitem>
4141
<para>pointer to &fe-sec-voltage;</para>
42+
<para>Valid values are described at &fe-sec-voltage;.</para>
4243
</listitem>
4344
</varlistentry>
4445
</variablelist>
@@ -65,33 +66,4 @@
6566
&return-value-dvb;
6667
</refsect1>
6768

68-
<refsect1 id="fe-sec-voltage-t">
69-
<title>enum fe_sec_voltage</title>
70-
71-
<table pgwide="1" frame="none" id="fe-sec-voltage">
72-
<title>enum fe_status</title>
73-
<tgroup cols="2">
74-
&cs-def;
75-
<thead>
76-
<row>
77-
<entry>ID</entry>
78-
<entry>Description</entry>
79-
</row>
80-
</thead>
81-
<tbody valign="top">
82-
<row>
83-
<entry align="char" id="SEC-VOLTAGE-13"><constant>SEC_VOLTAGE_13</constant></entry>
84-
<entry align="char">Set DC voltage level to 13V</entry>
85-
</row><row>
86-
<entry align="char" id="SEC-VOLTAGE-18"><constant>SEC_VOLTAGE_18</constant></entry>
87-
<entry align="char">Set DC voltage level to 18V</entry>
88-
</row><row>
89-
<entry align="char" id="SEC-VOLTAGE-OFF"><constant>SEC_VOLTAGE_OFF</constant></entry>
90-
<entry align="char">Don't send any voltage to the antenna</entry>
91-
</row>
92-
</tbody>
93-
</tgroup>
94-
</table>
95-
</refsect1>
96-
9769
</refentry>

0 commit comments

Comments
 (0)