doc-rst: linux_tv: use :cpp:function:: on all syscalls
[deliverable/linux.git] / Documentation / linux_tv / media / dvb / fe-dishnetwork-send-legacy-cmd.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_DISHNETWORK_SEND_LEGACY_CMD:
4
5******************************
6FE_DISHNETWORK_SEND_LEGACY_CMD
7******************************
8
15e7d615 9Name
586027ce 10====
5377d91f 11
586027ce 12FE_DISHNETWORK_SEND_LEGACY_CMD
5377d91f 13
15e7d615
MCC
14
15Synopsis
586027ce 16========
5377d91f 17
5929cb17 18.. cpp:function:: int ioctl(int fd, int request = FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
5377d91f 19
5377d91f 20
15e7d615 21Arguments
586027ce 22=========
5377d91f
MH
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
15e7d615 36Description
586027ce
MCC
37===========
38
39WARNING: This is a very obscure legacy command, used only at stv0299
40driver. Should not be used on newer drivers.
41
42It provides a non-standard method for selecting Diseqc voltage on the
43frontend, for Dish Network legacy switches.
44
45As support for this ioctl were added in 2004, this means that such
46dishes were already legacy in 2004.
47
48
15e7d615 49Return Value
586027ce 50============
5377d91f
MH
51
52On success 0 is returned, on error -1 and the ``errno`` variable is set
53appropriately. The generic error codes are described at the
54:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.03232 seconds and 5 git commands to generate.