diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2008-04-22 13:42:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:43 -0400 |
commit | 6ab465a821756691009e58a51f1b4543cf1ae21a (patch) | |
tree | cd00e442a8f95b2a8d34469b7d9af972a8eecf5c /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | 4b1431ca1c98e26569c9b6cd6d06265cef9495ec (diff) |
V4L/DVB (7226): saa7134: add support for the NXP Snake DVB-S reference design
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 72fd9fed8a34..5d20ec06e48d 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include "tda827x.h" | 44 | #include "tda827x.h" |
45 | #include "isl6421.h" | 45 | #include "isl6421.h" |
46 | #include "isl6405.h" | 46 | #include "isl6405.h" |
47 | #include "lnbp21.h" | ||
47 | 48 | ||
48 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 49 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
49 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
@@ -1080,6 +1081,18 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1080 | case SAA7134_BOARD_TWINHAN_DTV_DVB_3056: | 1081 | case SAA7134_BOARD_TWINHAN_DTV_DVB_3056: |
1081 | configure_tda827x_fe(dev, &twinhan_dtv_dvb_3056_config); | 1082 | configure_tda827x_fe(dev, &twinhan_dtv_dvb_3056_config); |
1082 | break; | 1083 | break; |
1084 | case SAA7134_BOARD_PHILIPS_SNAKE: | ||
1085 | dev->dvb.frontend = dvb_attach(tda10086_attach, &flydvbs, | ||
1086 | &dev->i2c_adap); | ||
1087 | if (dev->dvb.frontend) { | ||
1088 | if (dvb_attach(tda826x_attach, dev->dvb.frontend, 0x60, | ||
1089 | &dev->i2c_adap, 0) == NULL) | ||
1090 | wprintk("%s: No tda826x found!\n", __FUNCTION__); | ||
1091 | if (dvb_attach(lnbp21_attach, dev->dvb.frontend, | ||
1092 | &dev->i2c_adap, 0, 0) == NULL) | ||
1093 | wprintk("%s: No lnbp21 found!\n", __FUNCTION__); | ||
1094 | } | ||
1095 | break; | ||
1083 | default: | 1096 | default: |
1084 | wprintk("Huh? unknown DVB card?\n"); | 1097 | wprintk("Huh? unknown DVB card?\n"); |
1085 | break; | 1098 | break; |