aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/firesat/firesat_fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/firesat/firesat_fe.c')
-rw-r--r--drivers/media/dvb/firesat/firesat_fe.c41
1 files changed, 13 insertions, 28 deletions
diff --git a/drivers/media/dvb/firesat/firesat_fe.c b/drivers/media/dvb/firesat/firesat_fe.c
index 1c86c3e6137..ec614ea8de2 100644
--- a/drivers/media/dvb/firesat/firesat_fe.c
+++ b/drivers/media/dvb/firesat/firesat_fe.c
@@ -1,8 +1,8 @@
1/* 1/*
2 * FireSAT DVB driver 2 * FireDTV driver (formerly known as FireSAT)
3 * 3 *
4 * Copyright (c) ? 4 * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com>
5 * Copyright (c) 2008 Henrik Kurelid <henrik@kurelid.se> 5 * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se>
6 * 6 *
7 * This program is free software; you can redistribute it and/or 7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as 8 * modify it under the terms of the GNU General Public License as
@@ -10,26 +10,15 @@
10 * the License, or (at your option) any later version. 10 * the License, or (at your option) any later version.
11 */ 11 */
12 12
13#include <linux/init.h>
14#include <linux/slab.h>
15#include <linux/wait.h>
16#include <linux/module.h>
17#include <linux/delay.h>
18#include <linux/time.h>
19#include <linux/errno.h> 13#include <linux/errno.h>
20#include <linux/interrupt.h> 14#include <linux/kernel.h>
21#include <ieee1394_hotplug.h> 15#include <linux/types.h>
22#include <nodemgr.h> 16
23#include <highlevel.h> 17#include <dvb_frontend.h>
24#include <ohci1394.h>
25#include <hosts.h>
26#include <dvbdev.h>
27 18
28#include "firesat.h"
29#include "avc_api.h" 19#include "avc_api.h"
30#include "cmp.h" 20#include "cmp.h"
31#include "firesat-rc.h" 21#include "firesat.h"
32#include "firesat-ci.h"
33 22
34static int firesat_dvb_init(struct dvb_frontend *fe) 23static int firesat_dvb_init(struct dvb_frontend *fe)
35{ 24{
@@ -209,21 +198,17 @@ int firesat_frontend_attach(struct firesat *firesat, struct dvb_frontend *fe)
209{ 198{
210 switch (firesat->type) { 199 switch (firesat->type) {
211 case FireSAT_DVB_S: 200 case FireSAT_DVB_S:
212 firesat->model_name = "FireSAT DVB-S";
213 firesat->frontend_info = &firesat_S_frontend_info; 201 firesat->frontend_info = &firesat_S_frontend_info;
214 break; 202 break;
215 case FireSAT_DVB_C: 203 case FireSAT_DVB_C:
216 firesat->model_name = "FireSAT DVB-C";
217 firesat->frontend_info = &firesat_C_frontend_info; 204 firesat->frontend_info = &firesat_C_frontend_info;
218 break; 205 break;
219 case FireSAT_DVB_T: 206 case FireSAT_DVB_T:
220 firesat->model_name = "FireSAT DVB-T";
221 firesat->frontend_info = &firesat_T_frontend_info; 207 firesat->frontend_info = &firesat_T_frontend_info;
222 break; 208 break;
223 default: 209 default:
224 printk("%s: unknown model type 0x%x !\n", 210 printk(KERN_ERR "firedtv: no frontend for model type 0x%x\n",
225 __func__, firesat->type); 211 firesat->type);
226 firesat->model_name = "Unknown";
227 firesat->frontend_info = NULL; 212 firesat->frontend_info = NULL;
228 } 213 }
229 fe->ops = firesat_ops; 214 fe->ops = firesat_ops;
@@ -235,7 +220,7 @@ int firesat_frontend_attach(struct firesat *firesat, struct dvb_frontend *fe)
235 220
236static struct dvb_frontend_info firesat_S_frontend_info = { 221static struct dvb_frontend_info firesat_S_frontend_info = {
237 222
238 .name = "FireSAT DVB-S Frontend", 223 .name = "FireDTV DVB-S Frontend",
239 .type = FE_QPSK, 224 .type = FE_QPSK,
240 225
241 .frequency_min = 950000, 226 .frequency_min = 950000,
@@ -256,7 +241,7 @@ static struct dvb_frontend_info firesat_S_frontend_info = {
256 241
257static struct dvb_frontend_info firesat_C_frontend_info = { 242static struct dvb_frontend_info firesat_C_frontend_info = {
258 243
259 .name = "FireSAT DVB-C Frontend", 244 .name = "FireDTV DVB-C Frontend",
260 .type = FE_QAM, 245 .type = FE_QAM,
261 246
262 .frequency_min = 47000000, 247 .frequency_min = 47000000,
@@ -276,7 +261,7 @@ static struct dvb_frontend_info firesat_C_frontend_info = {
276 261
277static struct dvb_frontend_info firesat_T_frontend_info = { 262static struct dvb_frontend_info firesat_T_frontend_info = {
278 263
279 .name = "FireSAT DVB-T Frontend", 264 .name = "FireDTV DVB-T Frontend",
280 .type = FE_OFDM, 265 .type = FE_OFDM,
281 266
282 .frequency_min = 49000000, 267 .frequency_min = 49000000,