diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-09-25 23:04:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:11 -0400 |
commit | 459702bf98ae2bd20bad1e271c615aca4972c609 (patch) | |
tree | d533c5c425c12e712bfe65056f7e63c41a384f51 /include | |
parent | 3e01084519a678b410df247581a51eeb1bbf11d5 (diff) |
V4L/DVB (9070): S2API: Removed the typedef for the commands, used defines instead.
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dvb/frontend.h | 57 |
1 files changed, 22 insertions, 35 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index c822bc156c48..7c17c71edb59 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h | |||
@@ -246,41 +246,28 @@ struct dvb_frontend_event { | |||
246 | struct dvb_frontend_parameters parameters; | 246 | struct dvb_frontend_parameters parameters; |
247 | }; | 247 | }; |
248 | 248 | ||
249 | /* TODO: Turn this into a series of defines, so future maintainers | 249 | /* S2API Commands */ |
250 | * don't insert random new commands and break backwards | 250 | #define DTV_UNDEFINED 0 |
251 | * binary compatability. | 251 | #define DTV_TUNE 1 |
252 | */ | 252 | #define DTV_CLEAR 2 |
253 | typedef enum dtv_cmd_types { | 253 | #define DTV_FREQUENCY 3 |
254 | DTV_UNDEFINED, | 254 | #define DTV_MODULATION 4 |
255 | DTV_TUNE, | 255 | #define DTV_BANDWIDTH_HZ 5 |
256 | DTV_CLEAR, | 256 | #define DTV_INVERSION 6 |
257 | 257 | #define DTV_DISEQC_MASTER 7 | |
258 | DTV_FREQUENCY, | 258 | #define DTV_SYMBOL_RATE 8 |
259 | DTV_MODULATION, | 259 | #define DTV_INNER_FEC 9 |
260 | 260 | #define DTV_VOLTAGE 10 | |
261 | /* XXX PB: I would like to have field which describes the | 261 | #define DTV_TONE 11 |
262 | * bandwidth of a channel in Hz or kHz - maybe we can remove the | 262 | #define DTV_PILOT 12 |
263 | * DTV_BANDWIDTH now and put a compat layer */ | 263 | #define DTV_ROLLOFF 13 |
264 | DTV_BANDWIDTH_HZ, | 264 | #define DTV_DISEQC_SLAVE_REPLY 14 |
265 | 265 | ||
266 | DTV_INVERSION, | 266 | /* Basic enumeration set for querying unlimited capabilities */ |
267 | DTV_DISEQC_MASTER, | 267 | #define DTV_FE_CAPABILITY_COUNT 15 |
268 | DTV_SYMBOL_RATE, | 268 | #define DTV_FE_CAPABILITY 16 |
269 | DTV_INNER_FEC, | 269 | #define DTV_DELIVERY_SYSTEM 17 |
270 | DTV_VOLTAGE, | 270 | |
271 | DTV_TONE, | ||
272 | DTV_PILOT, | ||
273 | DTV_ROLLOFF, | ||
274 | |||
275 | DTV_DISEQC_SLAVE_REPLY, | ||
276 | |||
277 | /* Basic enumeration set for querying unlimited capabilities */ | ||
278 | DTV_FE_CAPABILITY_COUNT, | ||
279 | DTV_FE_CAPABILITY, | ||
280 | |||
281 | /* New commands are always appended */ | ||
282 | DTV_DELIVERY_SYSTEM, | ||
283 | } dtv_cmd_types_t; | ||
284 | 271 | ||
285 | typedef enum fe_pilot { | 272 | typedef enum fe_pilot { |
286 | PILOT_ON, | 273 | PILOT_ON, |