Merge tag 'metag-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / fe-dishnetwork-send-legacy-cmd.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _FE_DISHNETWORK_SEND_LEGACY_CMD:
4
5 ******************************
6 FE_DISHNETWORK_SEND_LEGACY_CMD
7 ******************************
8
9 Name
10 ====
11
12 FE_DISHNETWORK_SEND_LEGACY_CMD
13
14
15 Synopsis
16 ========
17
18 .. cpp:function:: int  ioctl(int fd, int request = FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
19
20
21 Arguments
22 =========
23
24 .. flat-table::
25     :header-rows:  0
26     :stub-columns: 0
27
28
29     -  .. row 1
30
31        -  unsigned long cmd
32
33        -  sends the specified raw cmd to the dish via DISEqC.
34
35
36 Description
37 ===========
38
39 .. warning::
40    This is a very obscure legacy command, used only at stv0299
41    driver. Should not be used on newer drivers.
42
43 It provides a non-standard method for selecting Diseqc voltage on the
44 frontend, for Dish Network legacy switches.
45
46 As support for this ioctl were added in 2004, this means that such
47 dishes were already legacy in 2004.
48
49
50 Return Value
51 ============
52
53 On success 0 is returned, on error -1 and the ``errno`` variable is set
54 appropriately. The generic error codes are described at the
55 :ref:`Generic Error Codes <gen-errors>` chapter.