diff options
author | Gerd Knorr <devnull@localhost> | 2004-09-16 08:27:17 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-09-16 08:27:17 +0000 |
commit | 159ab1ffe030664789120bf8f03349b3fa21a757 (patch) | |
tree | ea83fa75a83d8b26584e40075d089008823a0293 /linux | |
parent | 27ac41a81334b527a570f1454dc4a54b16336bbf (diff) | |
download | mediapointer-dvb-s2-159ab1ffe030664789120bf8f03349b3fa21a757.tar.gz mediapointer-dvb-s2-159ab1ffe030664789120bf8f03349b3fa21a757.tar.bz2 |
- autoload frontends.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 9f2c03328..4c3f815d6 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.35 2004/09/15 16:15:24 kraxel Exp $ + * $Id: cx88-cards.c,v 1.36 2004/09/16 08:27:17 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -722,6 +722,7 @@ void cx88_card_list(struct cx88_core *core, struct pci_dev *pci) void cx88_card_setup(struct cx88_core *core) { static u8 eeprom[128]; + char *frontend = NULL; switch (core->board) { case CX88_BOARD_HAUPPAUGE: @@ -750,8 +751,15 @@ void cx88_card_setup(struct cx88_core *core) cx_clear(MO_GP0_IO, 0x00000001); msleep(1); cx_set(MO_GP0_IO, 0x00000101); + frontend = "mt352"; + break; + case CX88_BOARD_HAUPPAUGE_DVB_T1: + case CX88_BOARD_CONEXANT_DVB_T1: + frontend = "cx22702"; break; } + if (frontend) + request_module(frontend); } /* ------------------------------------------------------------------ */ |