V4L/DVB (6562): Make HVR900 to use also tveeprom

Hauppauge firmwares can be decoded using tveeprom. This patch adds HVR-900 as
a tveeprom client. It also adds xc3028 tuner entry to tveeprom.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2007-11-05 09:30:39 -03:00
parent 80b522085a
commit 98ae127cae
2 changed files with 8 additions and 2 deletions

View File

@ -587,11 +587,11 @@ void em28xx_card_setup(struct em28xx *dev)
/* request some modules */ /* request some modules */
switch (dev->model) { switch (dev->model) {
case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2:
case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
{ {
struct tveeprom tv; struct tveeprom tv;
#ifdef CONFIG_MODULES #ifdef CONFIG_MODULES
request_module("tveeprom"); request_module("tveeprom");
request_module("ir-kbd-i2c");
#endif #endif
/* Call first TVeeprom */ /* Call first TVeeprom */
@ -603,6 +603,12 @@ void em28xx_card_setup(struct em28xx *dev)
dev->i2s_speed = 2048000; dev->i2s_speed = 2048000;
dev->has_msp34xx = 1; dev->has_msp34xx = 1;
} }
#ifdef CONFIG_MODULES
if (tv.has_ir)
request_module("ir-kbd-i2c");
#endif
/* FIXME: Should also retrieve decoder processor type */
break; break;
} }
case EM2820_BOARD_KWORLD_PVRTV2800RF: case EM2820_BOARD_KWORLD_PVRTV2800RF:

View File

@ -226,7 +226,7 @@ hauppauge_tuner[] =
{ TUNER_ABSENT, "TCL M2523_3DI_E"}, { TUNER_ABSENT, "TCL M2523_3DI_E"},
{ TUNER_ABSENT, "Samsung THPD5222FG30A"}, { TUNER_ABSENT, "Samsung THPD5222FG30A"},
/* 120-129 */ /* 120-129 */
{ TUNER_ABSENT, "Xceive XC3028"}, { TUNER_XC2028, "Xceive XC3028"},
{ TUNER_ABSENT, "Philips FQ1216LME MK5"}, { TUNER_ABSENT, "Philips FQ1216LME MK5"},
{ TUNER_ABSENT, "Philips FQD1216LME"}, { TUNER_ABSENT, "Philips FQD1216LME"},
{ TUNER_ABSENT, "Conexant CX24118A"}, { TUNER_ABSENT, "Conexant CX24118A"},