diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 8194be880b1a..95847b5a487b 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: cx88-dvb.c,v 1.50 2005/07/23 10:08:00 mkrufky Exp $ | 2 | * $Id: cx88-dvb.c,v 1.52 2005/07/24 22:12:47 mkrufky Exp $ |
3 | * | 3 | * |
4 | * device driver for Conexant 2388x based TV cards | 4 | * device driver for Conexant 2388x based TV cards |
5 | * MPEG Transport Stream (DVB) routines | 5 | * MPEG Transport Stream (DVB) routines |
@@ -35,17 +35,17 @@ | |||
35 | #include "cx88.h" | 35 | #include "cx88.h" |
36 | #include "dvb-pll.h" | 36 | #include "dvb-pll.h" |
37 | 37 | ||
38 | #ifdef CONFIG_DVB_MT352 | 38 | #ifdef HAVE_MT352 |
39 | # include "mt352.h" | 39 | # include "mt352.h" |
40 | # include "mt352_priv.h" | 40 | # include "mt352_priv.h" |
41 | #endif | 41 | #endif |
42 | #ifdef CONFIG_DVB_CX22702 | 42 | #ifdef HAVE_CX22702 |
43 | # include "cx22702.h" | 43 | # include "cx22702.h" |
44 | #endif | 44 | #endif |
45 | #ifdef CONFIG_DVB_OR51132 | 45 | #ifdef HAVE_OR51132 |
46 | # include "or51132.h" | 46 | # include "or51132.h" |
47 | #endif | 47 | #endif |
48 | #ifdef CONFIG_DVB_LGDT3302 | 48 | #ifdef HAVE_LGDT3302 |
49 | # include "lgdt3302.h" | 49 | # include "lgdt3302.h" |
50 | #endif | 50 | #endif |
51 | 51 | ||
@@ -104,7 +104,7 @@ static struct videobuf_queue_ops dvb_qops = { | |||
104 | 104 | ||
105 | /* ------------------------------------------------------------------ */ | 105 | /* ------------------------------------------------------------------ */ |
106 | 106 | ||
107 | #ifdef CONFIG_DVB_MT352 | 107 | #ifdef HAVE_MT352 |
108 | static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe) | 108 | static int dvico_fusionhdtv_demod_init(struct dvb_frontend* fe) |
109 | { | 109 | { |
110 | static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 }; | 110 | static u8 clock_config [] = { CLOCK_CTL, 0x38, 0x39 }; |
@@ -174,7 +174,7 @@ static struct mt352_config dntv_live_dvbt_config = { | |||
174 | }; | 174 | }; |
175 | #endif | 175 | #endif |
176 | 176 | ||
177 | #ifdef CONFIG_DVB_CX22702 | 177 | #ifdef HAVE_CX22702 |
178 | static struct cx22702_config connexant_refboard_config = { | 178 | static struct cx22702_config connexant_refboard_config = { |
179 | .demod_address = 0x43, | 179 | .demod_address = 0x43, |
180 | .output_mode = CX22702_SERIAL_OUTPUT, | 180 | .output_mode = CX22702_SERIAL_OUTPUT, |
@@ -190,7 +190,7 @@ static struct cx22702_config hauppauge_novat_config = { | |||
190 | }; | 190 | }; |
191 | #endif | 191 | #endif |
192 | 192 | ||
193 | #ifdef CONFIG_DVB_OR51132 | 193 | #ifdef HAVE_OR51132 |
194 | static int or51132_set_ts_param(struct dvb_frontend* fe, | 194 | static int or51132_set_ts_param(struct dvb_frontend* fe, |
195 | int is_punctured) | 195 | int is_punctured) |
196 | { | 196 | { |
@@ -207,7 +207,7 @@ static struct or51132_config pchdtv_hd3000 = { | |||
207 | }; | 207 | }; |
208 | #endif | 208 | #endif |
209 | 209 | ||
210 | #ifdef CONFIG_DVB_LGDT3302 | 210 | #ifdef HAVE_LGDT3302 |
211 | static int lgdt3302_pll_set(struct dvb_frontend* fe, | 211 | static int lgdt3302_pll_set(struct dvb_frontend* fe, |
212 | struct dvb_frontend_parameters* params, | 212 | struct dvb_frontend_parameters* params, |
213 | u8* pllbuf) | 213 | u8* pllbuf) |
@@ -258,7 +258,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
258 | 258 | ||
259 | /* init frontend */ | 259 | /* init frontend */ |
260 | switch (dev->core->board) { | 260 | switch (dev->core->board) { |
261 | #ifdef CONFIG_DVB_CX22702 | 261 | #ifdef HAVE_CX22702 |
262 | case CX88_BOARD_HAUPPAUGE_DVB_T1: | 262 | case CX88_BOARD_HAUPPAUGE_DVB_T1: |
263 | dev->dvb.frontend = cx22702_attach(&hauppauge_novat_config, | 263 | dev->dvb.frontend = cx22702_attach(&hauppauge_novat_config, |
264 | &dev->core->i2c_adap); | 264 | &dev->core->i2c_adap); |
@@ -269,7 +269,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
269 | &dev->core->i2c_adap); | 269 | &dev->core->i2c_adap); |
270 | break; | 270 | break; |
271 | #endif | 271 | #endif |
272 | #ifdef CONFIG_DVB_MT352 | 272 | #ifdef HAVE_MT352 |
273 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: | 273 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: |
274 | dev->core->pll_addr = 0x61; | 274 | dev->core->pll_addr = 0x61; |
275 | dev->core->pll_desc = &dvb_pll_lg_z201; | 275 | dev->core->pll_desc = &dvb_pll_lg_z201; |
@@ -291,13 +291,13 @@ static int dvb_register(struct cx8802_dev *dev) | |||
291 | &dev->core->i2c_adap); | 291 | &dev->core->i2c_adap); |
292 | break; | 292 | break; |
293 | #endif | 293 | #endif |
294 | #ifdef CONFIG_DVB_OR51132 | 294 | #ifdef HAVE_OR51132 |
295 | case CX88_BOARD_PCHDTV_HD3000: | 295 | case CX88_BOARD_PCHDTV_HD3000: |
296 | dev->dvb.frontend = or51132_attach(&pchdtv_hd3000, | 296 | dev->dvb.frontend = or51132_attach(&pchdtv_hd3000, |
297 | &dev->core->i2c_adap); | 297 | &dev->core->i2c_adap); |
298 | break; | 298 | break; |
299 | #endif | 299 | #endif |
300 | #ifdef CONFIG_DVB_LGDT3302 | 300 | #ifdef HAVE_LGDT3302 |
301 | case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q: | 301 | case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q: |
302 | dev->ts_gen_cntrl = 0x08; | 302 | dev->ts_gen_cntrl = 0x08; |
303 | { | 303 | { |