diff options
author | Gerd Knorr <devnull@localhost> | 2004-11-17 18:47:47 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-11-17 18:47:47 +0000 |
commit | e0513c5a52d121e2790e6cc07c97ff59b7200c70 (patch) | |
tree | 789c62112009166162ae043afee80224d3d9f38c | |
parent | 173fb3335b542114718953d91826268db663f865 (diff) | |
download | mediapointer-dvb-s2-e0513c5a52d121e2790e6cc07c97ff59b7200c70.tar.gz mediapointer-dvb-s2-e0513c5a52d121e2790e6cc07c97ff59b7200c70.tar.bz2 |
- misc minor cleanups and card-specific fixes.
-rw-r--r-- | linux/drivers/media/video/bttv-i2c.c | 9 | ||||
-rw-r--r-- | linux/drivers/media/video/bttv-if.c | 14 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 8 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-core.c | 6 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 5 | ||||
-rw-r--r-- | v4l/scripts/update | 2 |
7 files changed, 29 insertions, 19 deletions
diff --git a/linux/drivers/media/video/bttv-i2c.c b/linux/drivers/media/video/bttv-i2c.c index 5d84a44c7..ce4845b31 100644 --- a/linux/drivers/media/video/bttv-i2c.c +++ b/linux/drivers/media/video/bttv-i2c.c @@ -1,5 +1,5 @@ /* - $Id: bttv-i2c.c,v 1.13 2004/11/07 13:17:15 kraxel Exp $ + $Id: bttv-i2c.c,v 1.14 2004/11/17 18:47:47 kraxel Exp $ bttv-i2c.c -- all the i2c code is here @@ -331,13 +331,6 @@ void bttv_call_i2c_clients(struct bttv *btv, unsigned int cmd, void *arg) i2c_clients_command(&btv->c.i2c_adap, cmd, arg); } -void bttv_i2c_call(unsigned int card, unsigned int cmd, void *arg) -{ - if (card >= bttv_num) - return; - bttv_call_i2c_clients(&bttvs[card], cmd, arg); -} - static struct i2c_client bttv_i2c_client_template = { I2C_DEVNAME("bttv internal"), .id = -1, diff --git a/linux/drivers/media/video/bttv-if.c b/linux/drivers/media/video/bttv-if.c index f96c33ae0..a71afec52 100644 --- a/linux/drivers/media/video/bttv-if.c +++ b/linux/drivers/media/video/bttv-if.c @@ -1,5 +1,5 @@ /* - $Id: bttv-if.c,v 1.3 2004/10/13 10:39:00 kraxel Exp $ + $Id: bttv-if.c,v 1.4 2004/11/17 18:47:47 kraxel Exp $ bttv-if.c -- old gpio interface to other kernel modules don't use in new code, will go away in 2.7 @@ -50,6 +50,8 @@ EXPORT_SYMBOL(bttv_i2c_call); int bttv_get_cardinfo(unsigned int card, int *type, unsigned *cardid) { + printk("The bttv_* interface is obsolete and will go away,\n" + "please use the new, sysfs based interface instead.\n"); if (card >= bttv_num) { return -1; } @@ -67,7 +69,8 @@ struct pci_dev* bttv_get_pcidev(unsigned int card) int bttv_get_id(unsigned int card) { - printk("bttv_get_id is obsolete, use bttv_get_cardinfo instead\n"); + printk("The bttv_* interface is obsolete and will go away,\n" + "please use the new, sysfs based interface instead.\n"); if (card >= bttv_num) { return -1; } @@ -154,6 +157,13 @@ wait_queue_head_t* bttv_get_gpio_queue(unsigned int card) return &btv->gpioq; } +void bttv_i2c_call(unsigned int card, unsigned int cmd, void *arg) +{ + if (card >= bttv_num) + return; + bttv_call_i2c_clients(&bttvs[card], cmd, arg); +} + /* * Local variables: * c-basic-offset: 8 diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index 0208a8a39..4dae5fd4a 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-blackbird.c,v 1.17 2004/11/07 13:17:15 kraxel Exp $ + * $Id: cx88-blackbird.c,v 1.18 2004/11/17 18:47:47 kraxel Exp $ * * Support for a cx23416 mpeg encoder via cx2388x host port. * "blackbird" reference design. @@ -363,7 +363,7 @@ static int blackbird_load_firmware(struct cx8802_dev *dev) } if (firmware->size != BLACKBIRD_FIRM_IMAGE_SIZE) { - dprintk(0, "ERROR: Firmware size mismatch (have %ld, expected %d)\n", + dprintk(0, "ERROR: Firmware size mismatch (have %zd, expected %d)\n", firmware->size, BLACKBIRD_FIRM_IMAGE_SIZE); return -1; } diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 01413b045..262a15fc9 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-cards.c,v 1.47 2004/11/03 09:04:50 kraxel Exp $ + * $Id: cx88-cards.c,v 1.48 2004/11/17 18:47:47 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -91,7 +91,7 @@ struct cx88_board cx88_boards[] = { }, [CX88_BOARD_PIXELVIEW] = { .name = "PixelView", - .tuner_type = UNSET, + .tuner_type = 5, .input = {{ .type = CX88_VMUX_TELEVISION, .vmux = 0, @@ -543,6 +543,10 @@ struct cx88_subid cx88_subids[] = { .subvendor = 0x18AC, .subdevice = 0xDB10, .card = CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS, + },{ + .subvendor = 0x1554, + .subdevice = 0x4811, + .card = CX88_BOARD_PIXELVIEW, } }; const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c index 36169c106..9b183166f 100644 --- a/linux/drivers/media/video/cx88/cx88-core.c +++ b/linux/drivers/media/video/cx88/cx88-core.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-core.c,v 1.15 2004/10/25 11:26:36 kraxel Exp $ + * $Id: cx88-core.c,v 1.16 2004/11/17 18:47:47 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * driver core @@ -468,6 +468,7 @@ int cx88_risc_decode(u32 risc) return incr[risc >> 28] ? incr[risc >> 28] : 1; } +#if 0 /* currently unused, but useful for debugging */ void cx88_risc_disasm(struct cx88_core *core, struct btcx_riscmem *risc) { @@ -485,6 +486,7 @@ void cx88_risc_disasm(struct cx88_core *core, break; } } +#endif void cx88_sram_channel_dump(struct cx88_core *core, struct sram_channel *ch) @@ -1205,8 +1207,6 @@ EXPORT_SYMBOL(cx88_risc_databuffer); EXPORT_SYMBOL(cx88_risc_stopper); EXPORT_SYMBOL(cx88_free_buffer); -EXPORT_SYMBOL(cx88_risc_disasm); - EXPORT_SYMBOL(cx88_sram_channels); EXPORT_SYMBOL(cx88_sram_channel_setup); EXPORT_SYMBOL(cx88_sram_channel_dump); diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index 3a7bc2735..18f974dd9 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-cards.c,v 1.38 2004/11/10 11:07:24 kraxel Exp $ + * $Id: saa7134-cards.c,v 1.39 2004/11/17 18:47:48 kraxel Exp $ * * device driver for philips saa7134 based TV cards * card-specific stuff. @@ -975,6 +975,9 @@ struct saa7134_board saa7134_boards[] = { .inputs = {{ .name = name_comp1, .vmux = 3, + },{ + .name = name_svideo, + .vmux = 8, }}, }, [SAA7134_BOARD_NOVAC_PRIMETV7133] = { diff --git a/v4l/scripts/update b/v4l/scripts/update index 173dfe1ee..9689bade1 100644 --- a/v4l/scripts/update +++ b/v4l/scripts/update @@ -77,7 +77,6 @@ xinsmod bttv bttv_debug=0 vbi_debug=0 irq_debug=0 \ xinsmod ir-kbd-gpio debug=0 # cx88 -xinsmod cx22702 debug=0 xinsmod cx88xx core_debug=0 audio_debug=0 i2c_debug=1 i2c_scan=1 xinsmod cx8800 video_debug=0 vbi_debug=0 xinsmod cx8801 @@ -89,6 +88,7 @@ xinsmod saa7134 audio_debug=0 i2c_scan=1 $saopt xinsmod saa7134-empress # dvb stuff +xinsmod cx22702 debug=0 xinsmod video-buf-dvb xinsmod cx88-dvb xinsmod saa7134-dvb |