Merge remote-tracking branch 'mfd/for-mfd-next'
[deliverable/linux.git] / Documentation / media / uapi / 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
cf8076c3
MCC
18.. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
19 :name: FE_DISHNETWORK_SEND_LEGACY_CMD
5377d91f 20
5377d91f 21
15e7d615 22Arguments
586027ce 23=========
5377d91f 24
cf8076c3
MCC
25``fd``
26 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
5377d91f 27
cf8076c3
MCC
28``cmd``
29 Sends the specified raw cmd to the dish via DISEqC.
5377d91f
MH
30
31
15e7d615 32Description
586027ce
MCC
33===========
34
706f8a99
MCC
35.. warning::
36 This is a very obscure legacy command, used only at stv0299
37 driver. Should not be used on newer drivers.
586027ce
MCC
38
39It provides a non-standard method for selecting Diseqc voltage on the
40frontend, for Dish Network legacy switches.
41
42As support for this ioctl were added in 2004, this means that such
43dishes were already legacy in 2004.
44
45
15e7d615 46Return Value
586027ce 47============
5377d91f
MH
48
49On success 0 is returned, on error -1 and the ``errno`` variable is set
50appropriately. The generic error codes are described at the
51:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.057434 seconds and 5 git commands to generate.