diff options
author | Gerd Knorr <devnull@localhost> | 2004-03-31 20:24:27 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-03-31 20:24:27 +0000 |
commit | ef718af6bad86a546e1670c7dbbf09b550a03e8b (patch) | |
tree | d887d1f7414cc4eaf50bd5dbcf799babe1a16998 /linux/drivers/media/video/cx88 | |
parent | 3bf8c8eecd3ab551d20971918bcf4afa4386f852 (diff) | |
download | mediapointer-dvb-s2-ef718af6bad86a546e1670c7dbbf09b550a03e8b.tar.gz mediapointer-dvb-s2-ef718af6bad86a546e1670c7dbbf09b550a03e8b.tar.bz2 |
- tda9887 autoload for cx88.
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 5 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-video.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 1084deb3e..827893f9c 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -159,6 +159,10 @@ struct cx88_board cx88_boards[] = { .type = CX88_VMUX_COMPOSITE1, .vmux = 1, },{ + // temporarly for testing ... + .type = CX88_VMUX_COMPOSITE2, + .vmux = 2, + },{ .type = CX88_VMUX_SVIDEO, .vmux = 2, }}, @@ -169,6 +173,7 @@ struct cx88_board cx88_boards[] = { [CX88_BOARD_WINFAST_DV2000] = { .name = "Leadtek Winfast DV2000", .tuner_type = 38, + .needs_tda9887 = 1, .input = {{ .type = CX88_VMUX_TELEVISION, .vmux = 0, diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index f35b43894..bc6051192 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -2415,6 +2415,8 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, OOPS("configure i2c clients"); if (TUNER_ABSENT != dev->tuner_type) request_module("tuner"); + if (cx88_boards[dev->board].needs_tda9887) + request_module("tda9887"); if (dev->tuner_type != UNSET) cx8800_call_i2c_clients(dev,TUNER_SET_TYPE,&dev->tuner_type); diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index f06178e5a..277a71be1 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -163,6 +163,7 @@ struct cx88_input { struct cx88_board { char *name; unsigned int tuner_type; + int needs_tda9887:1; struct cx88_input input[8]; struct cx88_input radio; }; |