diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-05 14:53:01 -0500 |
---|---|---|
committer | Steven Toth <stoth@hauppauge.com> | 2008-01-05 14:53:01 -0500 |
commit | 1fb17dcd6513daf99c761c3fbf1d0de8a0170d43 (patch) | |
tree | b6f931b356b2cfbbb7c7bfdb0c7bd5b2d261c6bb /linux/drivers/media/video/cx88/cx88-i2c.c | |
parent | 0ff72a9f6b16aacf4796b7cc828a8e6ef23d21f6 (diff) | |
download | mediapointer-dvb-s2-1fb17dcd6513daf99c761c3fbf1d0de8a0170d43.tar.gz mediapointer-dvb-s2-1fb17dcd6513daf99c761c3fbf1d0de8a0170d43.tar.bz2 |
New card supported(partially): Pinnacle 800i
From: Steven Toth <stoth@hauppauge.com>
From Zhang: This patch continues the support for the Pinnacle HD 800i.
Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
Patch committed as-is, cleanups to follow ... Steve
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-i2c.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-i2c.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-i2c.c b/linux/drivers/media/video/cx88/cx88-i2c.c index 04fb4852b..20185aeca 100644 --- a/linux/drivers/media/video/cx88/cx88-i2c.c +++ b/linux/drivers/media/video/cx88/cx88-i2c.c @@ -117,20 +117,20 @@ static int attach_inform(struct i2c_client *client) if (core->board.radio_type != UNSET) { if ((core->board.radio_addr==ADDR_UNSET)||(core->board.radio_addr==client->addr)) { - tun_setup.mode_mask = T_RADIO; - tun_setup.type = core->board.radio_type; - tun_setup.addr = core->board.radio_addr; - + tun_setup.mode_mask = T_RADIO; + tun_setup.type = core->board.radio_type; + tun_setup.addr = core->board.radio_addr; + tun_setup.tuner_callback = cx88_tuner_callback; client->driver->command (client, TUNER_SET_TYPE_ADDR, &tun_setup); } } if (core->board.tuner_type != UNSET) { if ((core->board.tuner_addr==ADDR_UNSET)||(core->board.tuner_addr==client->addr)) { - tun_setup.mode_mask = T_ANALOG_TV; - tun_setup.type = core->board.tuner_type; - tun_setup.addr = core->board.tuner_addr; - + tun_setup.mode_mask = T_ANALOG_TV; + tun_setup.type = core->board.tuner_type; + tun_setup.addr = core->board.tuner_addr; + tun_setup.tuner_callback = cx88_tuner_callback; client->driver->command (client,TUNER_SET_TYPE_ADDR, &tun_setup); } } @@ -190,6 +190,7 @@ static char *i2c_devs[128] = { [ 0xa0 >> 1 ] = "eeprom", [ 0xc0 >> 1 ] = "tuner (analog)", [ 0xc2 >> 1 ] = "tuner (analog/dvb)", + [ 0xc8 >> 1 ] = "xc5000", }; static void do_i2c_scan(char *name, struct i2c_client *c) |