Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

+26 -35
+25 -6
Documentation/DocBook/media/dvb/dvbproperty.xml
··· 401 401 the polarzation (horizontal/vertical). When using DiSEqC epuipment this 402 402 voltage has to be switched consistently to the DiSEqC commands as 403 403 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> 410 429 </section> 411 430 <section id="DTV-TONE"> 412 431 <title><constant>DTV_TONE</constant></title>
+1 -29
Documentation/DocBook/media/dvb/fe-set-voltage.xml
··· 39 39 <term><parameter>voltage</parameter></term> 40 40 <listitem> 41 41 <para>pointer to &fe-sec-voltage;</para> 42 + <para>Valid values are described at &fe-sec-voltage;.</para> 42 43 </listitem> 43 44 </varlistentry> 44 45 </variablelist> ··· 64 63 used is recommended.</para> 65 64 66 65 &return-value-dvb; 67 - </refsect1> 68 - 69 - <refsect1 id="fe-sec-voltage-t"> 70 - <title>enum fe_sec_voltage</title> 71 - 72 - <table pgwide="1" frame="none" id="fe-sec-voltage"> 73 - <title>enum fe_status</title> 74 - <tgroup cols="2"> 75 - &cs-def; 76 - <thead> 77 - <row> 78 - <entry>ID</entry> 79 - <entry>Description</entry> 80 - </row> 81 - </thead> 82 - <tbody valign="top"> 83 - <row> 84 - <entry align="char" id="SEC-VOLTAGE-13"><constant>SEC_VOLTAGE_13</constant></entry> 85 - <entry align="char">Set DC voltage level to 13V</entry> 86 - </row><row> 87 - <entry align="char" id="SEC-VOLTAGE-18"><constant>SEC_VOLTAGE_18</constant></entry> 88 - <entry align="char">Set DC voltage level to 18V</entry> 89 - </row><row> 90 - <entry align="char" id="SEC-VOLTAGE-OFF"><constant>SEC_VOLTAGE_OFF</constant></entry> 91 - <entry align="char">Don't send any voltage to the antenna</entry> 92 - </row> 93 - </tbody> 94 - </tgroup> 95 - </table> 96 66 </refsect1> 97 67 98 68 </refentry>