media: ca.h: get rid of CA_SET_PID
This ioctl seems to be some attempt to support a feature at the bt8xx dst_ca driver. Yet, as said there, it "needs more work". Right now, the code there is just a boilerplate. At the end of the day, no driver uses this ioctl, nor it is documented anywhere (except for "needs more work"). So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
.. -*- coding: utf-8; mode: rst -*-
|
||||
|
||||
.. _CA_SET_PID:
|
||||
|
||||
==========
|
||||
CA_SET_PID
|
||||
==========
|
||||
|
||||
Name
|
||||
----
|
||||
|
||||
CA_SET_PID
|
||||
|
||||
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
.. c:function:: int ioctl(fd, CA_SET_PID, struct ca_pid *pid)
|
||||
:name: CA_SET_PID
|
||||
|
||||
|
||||
Arguments
|
||||
---------
|
||||
|
||||
``fd``
|
||||
File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
|
||||
|
||||
``pid``
|
||||
Pointer to struct :c:type:`ca_pid`.
|
||||
|
||||
.. c:type:: ca_pid
|
||||
|
||||
.. flat-table:: struct ca_pid
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
-
|
||||
- unsigned int
|
||||
- pid
|
||||
- Program ID
|
||||
|
||||
-
|
||||
- int
|
||||
- index
|
||||
- PID index. Use -1 to disable.
|
||||
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
.. note:: This ioctl is undocumented. Documentation is welcome.
|
||||
|
||||
|
||||
Return Value
|
||||
------------
|
||||
|
||||
On success 0 is returned, on error -1 and the ``errno`` variable is set
|
||||
appropriately. The generic error codes are described at the
|
||||
:ref:`Generic Error Codes <gen-errors>` chapter.
|
@@ -94,17 +94,3 @@ ca_descr_t
|
||||
unsigned int parity;
|
||||
unsigned char cw[8];
|
||||
} ca_descr_t;
|
||||
|
||||
|
||||
.. c:type:: ca_pid
|
||||
|
||||
ca-pid
|
||||
======
|
||||
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
typedef struct ca_pid {
|
||||
unsigned int pid;
|
||||
int index; /* -1 == disable*/
|
||||
} ca_pid_t;
|
||||
|
@@ -18,4 +18,3 @@ CA Function Calls
|
||||
ca-get-msg
|
||||
ca-send-msg
|
||||
ca-set-descr
|
||||
ca-set-pid
|
||||
|
Reference in New Issue
Block a user