diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx88/Makefile | 8 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 26 | ||||
-rw-r--r-- | drivers/media/video/saa7134/Makefile | 4 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 16 |
4 files changed, 27 insertions, 27 deletions
diff --git a/drivers/media/video/cx88/Makefile b/drivers/media/video/cx88/Makefile index 2f4b26d2186b..000f4c3454da 100644 --- a/drivers/media/video/cx88/Makefile +++ b/drivers/media/video/cx88/Makefile | |||
@@ -10,14 +10,14 @@ EXTRA_CFLAGS += -I$(src)/.. | |||
10 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core | 10 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core |
11 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends | 11 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends |
12 | ifneq ($(CONFIG_DVB_CX22702),n) | 12 | ifneq ($(CONFIG_DVB_CX22702),n) |
13 | EXTRA_CFLAGS += -DCONFIG_DVB_CX22702=1 | 13 | EXTRA_CFLAGS += -DHAVE_CX22702=1 |
14 | endif | 14 | endif |
15 | ifneq ($(CONFIG_DVB_OR51132),n) | 15 | ifneq ($(CONFIG_DVB_OR51132),n) |
16 | EXTRA_CFLAGS += -DCONFIG_DVB_OR51132=1 | 16 | EXTRA_CFLAGS += -DHAVE_OR51132=1 |
17 | endif | 17 | endif |
18 | ifneq ($(CONFIG_DVB_LGDT3302),n) | 18 | ifneq ($(CONFIG_DVB_LGDT3302),n) |
19 | EXTRA_CFLAGS += -DCONFIG_DVB_LGDT3302=1 | 19 | EXTRA_CFLAGS += -DHAVE_LGDT3302=1 |
20 | endif | 20 | endif |
21 | ifneq ($(CONFIG_DVB_MT352),n) | 21 | ifneq ($(CONFIG_DVB_MT352),n) |
22 | EXTRA_CFLAGS += -DCONFIG_DVB_MT352=1 | 22 | EXTRA_CFLAGS += -DHAVE_MT352=1 |
23 | endif | 23 | endif |
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 | { |
diff --git a/drivers/media/video/saa7134/Makefile b/drivers/media/video/saa7134/Makefile index 68c8c9698e08..b778ffd94e65 100644 --- a/drivers/media/video/saa7134/Makefile +++ b/drivers/media/video/saa7134/Makefile | |||
@@ -10,8 +10,8 @@ EXTRA_CFLAGS += -I$(src)/.. | |||
10 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core | 10 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core |
11 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends | 11 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/frontends |
12 | ifneq ($(CONFIG_DVB_MT352),n) | 12 | ifneq ($(CONFIG_DVB_MT352),n) |
13 | EXTRA_CFLAGS += -DCONFIG_DVB_MT352=1 | 13 | EXTRA_CFLAGS += -DHAVE_MT352=1 |
14 | endif | 14 | endif |
15 | ifneq ($(CONFIG_DVB_TDA1004X),n) | 15 | ifneq ($(CONFIG_DVB_TDA1004X),n) |
16 | EXTRA_CFLAGS += -DCONFIG_DVB_TDA1004X=1 | 16 | EXTRA_CFLAGS += -DHAVE_TDA1004X=1 |
17 | endif | 17 | endif |
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 8d7b205fa515..8be6a90358c8 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: saa7134-dvb.c,v 1.22 2005/07/23 10:08:00 mkrufky Exp $ | 2 | * $Id: saa7134-dvb.c,v 1.23 2005/07/24 22:12:47 mkrufky Exp $ |
3 | * | 3 | * |
4 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] | 4 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] |
5 | * | 5 | * |
@@ -35,11 +35,11 @@ | |||
35 | #include "saa7134-reg.h" | 35 | #include "saa7134-reg.h" |
36 | #include "saa7134.h" | 36 | #include "saa7134.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" /* FIXME */ | 40 | # include "mt352_priv.h" /* FIXME */ |
41 | #endif | 41 | #endif |
42 | #ifdef CONFIG_DVB_TDA1004X | 42 | #ifdef HAVE_TDA1004X |
43 | # include "tda1004x.h" | 43 | # include "tda1004x.h" |
44 | #endif | 44 | #endif |
45 | 45 | ||
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(antenna_pwr,"enable antenna power (Pinnacle 300i)"); | |||
53 | 53 | ||
54 | /* ------------------------------------------------------------------ */ | 54 | /* ------------------------------------------------------------------ */ |
55 | 55 | ||
56 | #ifdef CONFIG_DVB_MT352 | 56 | #ifdef HAVE_MT352 |
57 | static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on) | 57 | static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on) |
58 | { | 58 | { |
59 | u32 ok; | 59 | u32 ok; |
@@ -152,7 +152,7 @@ static struct mt352_config pinnacle_300i = { | |||
152 | 152 | ||
153 | /* ------------------------------------------------------------------ */ | 153 | /* ------------------------------------------------------------------ */ |
154 | 154 | ||
155 | #ifdef CONFIG_DVB_TDA1004X | 155 | #ifdef HAVE_TDA1004X |
156 | static int philips_tu1216_pll_init(struct dvb_frontend *fe) | 156 | static int philips_tu1216_pll_init(struct dvb_frontend *fe) |
157 | { | 157 | { |
158 | struct saa7134_dev *dev = fe->dvb->priv; | 158 | struct saa7134_dev *dev = fe->dvb->priv; |
@@ -384,7 +384,7 @@ static int philips_fmd1216_pll_set(struct dvb_frontend *fe, struct dvb_frontend_ | |||
384 | return 0; | 384 | return 0; |
385 | } | 385 | } |
386 | 386 | ||
387 | #ifdef CONFIG_DVB_TDA1004X | 387 | #ifdef HAVE_TDA1004X |
388 | static struct tda1004x_config medion_cardbus = { | 388 | static struct tda1004x_config medion_cardbus = { |
389 | .demod_address = 0x08, | 389 | .demod_address = 0x08, |
390 | .invert = 1, | 390 | .invert = 1, |
@@ -547,14 +547,14 @@ static int dvb_init(struct saa7134_dev *dev) | |||
547 | dev); | 547 | dev); |
548 | 548 | ||
549 | switch (dev->board) { | 549 | switch (dev->board) { |
550 | #ifdef CONFIG_DVB_MT352 | 550 | #ifdef HAVE_MT352 |
551 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: | 551 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: |
552 | printk("%s: pinnacle 300i dvb setup\n",dev->name); | 552 | printk("%s: pinnacle 300i dvb setup\n",dev->name); |
553 | dev->dvb.frontend = mt352_attach(&pinnacle_300i, | 553 | dev->dvb.frontend = mt352_attach(&pinnacle_300i, |
554 | &dev->i2c_adap); | 554 | &dev->i2c_adap); |
555 | break; | 555 | break; |
556 | #endif | 556 | #endif |
557 | #ifdef CONFIG_DVB_TDA1004X | 557 | #ifdef HAVE_TDA1004X |
558 | case SAA7134_BOARD_MD7134: | 558 | case SAA7134_BOARD_MD7134: |
559 | dev->dvb.frontend = tda10046_attach(&medion_cardbus, | 559 | dev->dvb.frontend = tda10046_attach(&medion_cardbus, |
560 | &dev->i2c_adap); | 560 | &dev->i2c_adap); |