Commit 459702bf authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab

V4L/DVB (9070): S2API: Removed the typedef for the commands, used defines instead.

Signed-off-by: default avatarSteven Toth <stoth@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3e010845
...@@ -246,41 +246,28 @@ struct dvb_frontend_event { ...@@ -246,41 +246,28 @@ struct dvb_frontend_event {
struct dvb_frontend_parameters parameters; struct dvb_frontend_parameters parameters;
}; };
/* TODO: Turn this into a series of defines, so future maintainers /* S2API Commands */
* don't insert random new commands and break backwards #define DTV_UNDEFINED 0
* binary compatability. #define DTV_TUNE 1
*/ #define DTV_CLEAR 2
typedef enum dtv_cmd_types { #define DTV_FREQUENCY 3
DTV_UNDEFINED, #define DTV_MODULATION 4
DTV_TUNE, #define DTV_BANDWIDTH_HZ 5
DTV_CLEAR, #define DTV_INVERSION 6
#define DTV_DISEQC_MASTER 7
DTV_FREQUENCY, #define DTV_SYMBOL_RATE 8
DTV_MODULATION, #define DTV_INNER_FEC 9
#define DTV_VOLTAGE 10
/* XXX PB: I would like to have field which describes the #define DTV_TONE 11
* bandwidth of a channel in Hz or kHz - maybe we can remove the #define DTV_PILOT 12
* DTV_BANDWIDTH now and put a compat layer */ #define DTV_ROLLOFF 13
DTV_BANDWIDTH_HZ, #define DTV_DISEQC_SLAVE_REPLY 14
DTV_INVERSION, /* Basic enumeration set for querying unlimited capabilities */
DTV_DISEQC_MASTER, #define DTV_FE_CAPABILITY_COUNT 15
DTV_SYMBOL_RATE, #define DTV_FE_CAPABILITY 16
DTV_INNER_FEC, #define DTV_DELIVERY_SYSTEM 17
DTV_VOLTAGE,
DTV_TONE,
DTV_PILOT,
DTV_ROLLOFF,
DTV_DISEQC_SLAVE_REPLY,
/* Basic enumeration set for querying unlimited capabilities */
DTV_FE_CAPABILITY_COUNT,
DTV_FE_CAPABILITY,
/* New commands are always appended */
DTV_DELIVERY_SYSTEM,
} dtv_cmd_types_t;
typedef enum fe_pilot { typedef enum fe_pilot {
PILOT_ON, PILOT_ON,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment