3 * device driver for philips saa7134 based TV cards
6 * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #include <linux/init.h>
24 #include <linux/module.h>
26 #include "saa7134-reg.h"
29 /* commly used strings */
30 static char name_mute
[] = "mute";
31 static char name_radio
[] = "Radio";
32 static char name_tv
[] = "Television";
33 static char name_tv_mono
[] = "TV (mono only)";
34 static char name_comp1
[] = "Composite1";
35 static char name_comp2
[] = "Composite2";
36 static char name_comp3
[] = "Composite3";
37 static char name_comp4
[] = "Composite4";
38 static char name_svideo
[] = "S-Video";
40 /* ------------------------------------------------------------------ */
41 /* board config info */
43 struct saa7134_board saa7134_boards
[] = {
44 [SAA7134_BOARD_UNKNOWN
] = {
45 .name
= "UNKNOWN/GENERIC",
46 .audio_clock
= 0x00187de7,
47 .tuner_type
= TUNER_ABSENT
,
49 .tuner_addr
= ADDR_UNSET
,
50 .radio_addr
= ADDR_UNSET
,
58 [SAA7134_BOARD_PROTEUS_PRO
] = {
60 .name
= "Proteus Pro [philips reference design]",
61 .audio_clock
= 0x00187de7,
62 .tuner_type
= TUNER_PHILIPS_PAL
,
64 .tuner_addr
= ADDR_UNSET
,
65 .radio_addr
= ADDR_UNSET
,
87 [SAA7134_BOARD_FLYVIDEO3000
] = {
88 /* "Marco d'Itri" <md@Linux.IT> */
89 .name
= "LifeView FlyVIDEO3000",
90 .audio_clock
= 0x00200000,
91 .tuner_type
= TUNER_PHILIPS_PAL
,
93 .tuner_addr
= ADDR_UNSET
,
94 .radio_addr
= ADDR_UNSET
,
104 .name
= name_tv_mono
,
136 [SAA7134_BOARD_FLYVIDEO2000
] = {
137 /* "TC Wan" <tcwan@cs.usm.my> */
138 .name
= "LifeView FlyVIDEO2000",
139 .audio_clock
= 0x00200000,
140 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
142 .tuner_addr
= ADDR_UNSET
,
143 .radio_addr
= ADDR_UNSET
,
179 [SAA7134_BOARD_FLYTVPLATINUM_MINI
] = {
180 /* "Arnaud Quette" <aquette@free.fr> */
181 .name
= "LifeView FlyTV Platinum Mini",
182 .audio_clock
= 0x00200000,
183 .tuner_type
= TUNER_PHILIPS_TDA8290
,
185 .tuner_addr
= ADDR_UNSET
,
186 .radio_addr
= ADDR_UNSET
,
194 .name
= name_comp1
, /* Composite signal on S-Video input */
198 .name
= name_comp2
, /* Composite input */
207 [SAA7134_BOARD_FLYTVPLATINUM_FM
] = {
208 /* LifeView FlyTV Platinum FM (LR214WF) */
209 /* "Peter Missel <peter.missel@onlinehome.de> */
210 .name
= "LifeView FlyTV Platinum FM",
211 .audio_clock
= 0x00200000,
212 .tuner_type
= TUNER_PHILIPS_TDA8290
,
214 .tuner_addr
= ADDR_UNSET
,
215 .radio_addr
= ADDR_UNSET
,
217 .gpiomask
= 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
222 .gpio
= 0x10000, /* GP16=1 selects TV input */
225 /* .name = name_tv_mono,
231 */ .name
= name_comp1
, /* Composite signal on S-Video input */
234 /* .gpio = 0x4000, */
236 .name
= name_comp2
, /* Composite input */
239 /* .gpio = 0x4000, */
241 .name
= name_svideo
, /* S-Video signal on S-Video input */
244 /* .gpio = 0x4000, */
249 .gpio
= 0x00000, /* GP16=0 selects FM radio antenna */
257 [SAA7134_BOARD_EMPRESS
] = {
258 /* "Gert Vervoort" <gert.vervoort@philips.com> */
260 .audio_clock
= 0x00187de7,
261 .tuner_type
= TUNER_PHILIPS_PAL
,
263 .tuner_addr
= ADDR_UNSET
,
264 .radio_addr
= ADDR_UNSET
,
284 .mpeg
= SAA7134_MPEG_EMPRESS
,
285 .video_out
= CCIR656
,
287 [SAA7134_BOARD_MONSTERTV
] = {
288 /* "K.Ohta" <alpha292@bremen.or.jp> */
289 .name
= "SKNet Monster TV",
290 .audio_clock
= 0x00187de7,
291 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
293 .tuner_addr
= ADDR_UNSET
,
294 .radio_addr
= ADDR_UNSET
,
315 [SAA7134_BOARD_MD9717
] = {
316 .name
= "Tevion MD 9717",
317 .audio_clock
= 0x00200000,
318 .tuner_type
= TUNER_PHILIPS_PAL
,
320 .tuner_addr
= ADDR_UNSET
,
321 .radio_addr
= ADDR_UNSET
,
328 /* workaround for problems with normal TV sound */
329 .name
= name_tv_mono
,
351 [SAA7134_BOARD_TVSTATION_RDS
] = {
352 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
353 .name
= "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
354 .audio_clock
= 0x00200000,
355 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
357 .tuner_addr
= ADDR_UNSET
,
358 .radio_addr
= ADDR_UNSET
,
359 .tda9887_conf
= TDA9887_PRESENT
,
366 .name
= name_tv_mono
,
381 .name
= "CVid over SVid",
390 [SAA7134_BOARD_TVSTATION_DVR
] = {
391 .name
= "KNC One TV-Station DVR",
392 .audio_clock
= 0x00200000,
393 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
395 .tuner_addr
= ADDR_UNSET
,
396 .radio_addr
= ADDR_UNSET
,
397 .tda9887_conf
= TDA9887_PRESENT
,
398 .gpiomask
= 0x820000,
421 .mpeg
= SAA7134_MPEG_EMPRESS
,
422 .video_out
= CCIR656
,
424 [SAA7134_BOARD_CINERGY400
] = {
425 .name
= "Terratec Cinergy 400 TV",
426 .audio_clock
= 0x00200000,
427 .tuner_type
= TUNER_PHILIPS_PAL
,
429 .tuner_addr
= ADDR_UNSET
,
430 .radio_addr
= ADDR_UNSET
,
445 .name
= name_comp2
, /* CVideo over SVideo Connector */
450 [SAA7134_BOARD_MD5044
] = {
451 .name
= "Medion 5044",
452 .audio_clock
= 0x00187de7, /* was: 0x00200000, */
453 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
455 .tuner_addr
= ADDR_UNSET
,
456 .radio_addr
= ADDR_UNSET
,
457 .tda9887_conf
= TDA9887_PRESENT
,
464 /* workaround for problems with normal TV sound */
465 .name
= name_tv_mono
,
487 [SAA7134_BOARD_KWORLD
] = {
488 .name
= "Kworld/KuroutoShikou SAA7130-TVPCI",
489 .audio_clock
= 0x00187de7,
490 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
492 .tuner_addr
= ADDR_UNSET
,
493 .radio_addr
= ADDR_UNSET
,
509 [SAA7134_BOARD_CINERGY600
] = {
510 .name
= "Terratec Cinergy 600 TV",
511 .audio_clock
= 0x00200000,
512 .tuner_type
= TUNER_PHILIPS_PAL
,
514 .tuner_addr
= ADDR_UNSET
,
515 .radio_addr
= ADDR_UNSET
,
516 .tda9887_conf
= TDA9887_PRESENT
,
531 .name
= name_comp2
, /* CVideo over SVideo Connector */
540 [SAA7134_BOARD_MD7134
] = {
541 .name
= "Medion 7134",
542 .audio_clock
= 0x00187de7,
543 .tuner_type
= TUNER_PHILIPS_FMD1216ME_MK3
,
545 .tuner_addr
= ADDR_UNSET
,
546 .radio_addr
= ADDR_UNSET
,
547 .tda9887_conf
= TDA9887_PRESENT
,
548 .mpeg
= SAA7134_MPEG_DVB
,
568 [SAA7134_BOARD_TYPHOON_90031
] = {
569 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
570 /* Tom Zoerner <tomzo at users sourceforge net> */
571 .name
= "Typhoon TV+Radio 90031",
572 .audio_clock
= 0x00200000,
573 .tuner_type
= TUNER_PHILIPS_PAL
,
575 .tuner_addr
= ADDR_UNSET
,
576 .radio_addr
= ADDR_UNSET
,
577 .tda9887_conf
= TDA9887_PRESENT
,
597 [SAA7134_BOARD_ELSA
] = {
598 .name
= "ELSA EX-VISION 300TV",
599 .audio_clock
= 0x00187de7,
600 .tuner_type
= TUNER_HITACHI_NTSC
,
602 .tuner_addr
= ADDR_UNSET
,
603 .radio_addr
= ADDR_UNSET
,
619 [SAA7134_BOARD_ELSA_500TV
] = {
620 .name
= "ELSA EX-VISION 500TV",
621 .audio_clock
= 0x00187de7,
622 .tuner_type
= TUNER_HITACHI_NTSC
,
624 .tuner_addr
= ADDR_UNSET
,
625 .radio_addr
= ADDR_UNSET
,
636 .name
= name_tv_mono
,
642 [SAA7134_BOARD_ASUSTeK_TVFM7134
] = {
643 .name
= "ASUS TV-FM 7134",
644 .audio_clock
= 0x00187de7,
645 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
647 .tuner_addr
= ADDR_UNSET
,
648 .radio_addr
= ADDR_UNSET
,
649 .tda9887_conf
= TDA9887_PRESENT
,
669 [SAA7134_BOARD_ASUSTeK_TVFM7135
] = {
670 .name
= "ASUS TV-FM 7135",
671 .audio_clock
= 0x00187de7,
672 .tuner_type
= TUNER_PHILIPS_TDA8290
,
674 .tuner_addr
= ADDR_UNSET
,
675 .radio_addr
= ADDR_UNSET
,
676 .gpiomask
= 0x200000,
705 [SAA7134_BOARD_VA1000POWER
] = {
706 .name
= "AOPEN VA1000 POWER",
707 .audio_clock
= 0x00187de7,
708 .tuner_type
= TUNER_PHILIPS_NTSC
,
710 .tuner_addr
= ADDR_UNSET
,
711 .radio_addr
= ADDR_UNSET
,
727 [SAA7134_BOARD_10MOONSTVMASTER
] = {
728 /* "lilicheng" <llc@linuxfans.org> */
729 .name
= "10MOONS PCI TV CAPTURE CARD",
730 .audio_clock
= 0x00200000,
731 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
733 .tuner_addr
= ADDR_UNSET
,
734 .radio_addr
= ADDR_UNSET
,
769 [SAA7134_BOARD_BMK_MPEX_NOTUNER
] = {
770 /* "Andrew de Quincey" <adq@lidskialf.net> */
771 .name
= "BMK MPEX No Tuner",
772 .audio_clock
= 0x200000,
773 .tuner_type
= TUNER_ABSENT
,
775 .tuner_addr
= ADDR_UNSET
,
776 .radio_addr
= ADDR_UNSET
,
798 .mpeg
= SAA7134_MPEG_EMPRESS
,
799 .video_out
= CCIR656
,
801 [SAA7134_BOARD_VIDEOMATE_TV
] = {
802 .name
= "Compro VideoMate TV",
803 .audio_clock
= 0x00187de7,
804 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
806 .tuner_addr
= ADDR_UNSET
,
807 .radio_addr
= ADDR_UNSET
,
823 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS
] = {
824 .name
= "Compro VideoMate TV Gold+",
825 .audio_clock
= 0x00187de7,
826 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
827 .gpiomask
= 0x800c0000,
829 .tuner_addr
= ADDR_UNSET
,
830 .radio_addr
= ADDR_UNSET
,
847 }}, /* radio and probably mute is missing */
849 [SAA7134_BOARD_CRONOS_PLUS
] = {
858 .name
= "Matrox CronosPlus",
859 .tuner_type
= TUNER_ABSENT
,
861 .tuner_addr
= ADDR_UNSET
,
862 .radio_addr
= ADDR_UNSET
,
886 [SAA7134_BOARD_MD2819
] = {
887 .name
= "AverMedia M156 / Medion 2819",
888 .audio_clock
= 0x00187de7,
889 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
891 .tuner_addr
= ADDR_UNSET
,
892 .radio_addr
= ADDR_UNSET
,
893 .tda9887_conf
= TDA9887_PRESENT
,
917 [SAA7134_BOARD_BMK_MPEX_TUNER
] = {
918 /* "Greg Wickham <greg.wickham@grangenet.net> */
919 .name
= "BMK MPEX Tuner",
920 .audio_clock
= 0x200000,
921 .tuner_type
= TUNER_PHILIPS_PAL
,
923 .tuner_addr
= ADDR_UNSET
,
924 .radio_addr
= ADDR_UNSET
,
939 .mpeg
= SAA7134_MPEG_EMPRESS
,
940 .video_out
= CCIR656
,
942 [SAA7134_BOARD_ASUSTEK_TVFM7133
] = {
943 .name
= "ASUS TV-FM 7133",
944 .audio_clock
= 0x00187de7,
945 /* probably wrong, the 7133 one is the NTSC version ...
946 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
947 .tuner_type
= TUNER_LG_NTSC_NEW_TAPC
,
949 .tuner_addr
= ADDR_UNSET
,
950 .radio_addr
= ADDR_UNSET
,
951 .tda9887_conf
= TDA9887_PRESENT
,
972 [SAA7134_BOARD_PINNACLE_PCTV_STEREO
] = {
973 .name
= "Pinnacle PCTV Stereo (saa7134)",
974 .audio_clock
= 0x00187de7,
975 .tuner_type
= TUNER_MT2032
,
977 .tuner_addr
= ADDR_UNSET
,
978 .radio_addr
= ADDR_UNSET
,
979 .tda9887_conf
= TDA9887_PRESENT
| TDA9887_INTERCARRIER
| TDA9887_PORT2_ACTIVE
,
999 [SAA7134_BOARD_MANLI_MTV002
] = {
1000 /* Ognjen Nastic <ognjen@logosoft.ba> */
1001 .name
= "Manli MuchTV M-TV002/Behold TV 403 FM",
1002 .audio_clock
= 0x00200000,
1003 .tuner_type
= TUNER_PHILIPS_PAL
,
1004 .radio_type
= UNSET
,
1005 .tuner_addr
= ADDR_UNSET
,
1006 .radio_addr
= ADDR_UNSET
,
1008 .name
= name_svideo
,
1026 [SAA7134_BOARD_MANLI_MTV001
] = {
1027 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1028 .name
= "Manli MuchTV M-TV001/Behold TV 401",
1029 .audio_clock
= 0x00200000,
1030 .tuner_type
= TUNER_PHILIPS_PAL
,
1031 .radio_type
= UNSET
,
1032 .tuner_addr
= ADDR_UNSET
,
1033 .radio_addr
= ADDR_UNSET
,
1035 .name
= name_svideo
,
1053 [SAA7134_BOARD_TG3000TV
] = {
1054 /* TransGear 3000TV */
1055 .name
= "Nagase Sangyo TransGear 3000TV",
1056 .audio_clock
= 0x00187de7,
1057 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
1058 .radio_type
= UNSET
,
1059 .tuner_addr
= ADDR_UNSET
,
1060 .radio_addr
= ADDR_UNSET
,
1071 .name
= name_svideo
,
1076 [SAA7134_BOARD_ECS_TVP3XP
] = {
1077 .name
= "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1078 .audio_clock
= 0x187de7, /* xtal 32.1 MHz */
1079 .tuner_type
= TUNER_PHILIPS_PAL
,
1080 .radio_type
= UNSET
,
1081 .tuner_addr
= ADDR_UNSET
,
1082 .radio_addr
= ADDR_UNSET
,
1089 .name
= name_tv_mono
,
1098 .name
= name_svideo
,
1102 .name
= "CVid over SVid",
1111 [SAA7134_BOARD_ECS_TVP3XP_4CB5
] = {
1112 .name
= "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1113 .audio_clock
= 0x187de7,
1114 .tuner_type
= TUNER_PHILIPS_NTSC
,
1115 .radio_type
= UNSET
,
1116 .tuner_addr
= ADDR_UNSET
,
1117 .radio_addr
= ADDR_UNSET
,
1124 .name
= name_tv_mono
,
1133 .name
= name_svideo
,
1137 .name
= "CVid over SVid",
1146 [SAA7134_BOARD_AVACSSMARTTV
] = {
1147 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1148 .name
= "AVACS SmartTV",
1149 .audio_clock
= 0x00187de7,
1150 .tuner_type
= TUNER_PHILIPS_PAL
,
1151 .radio_type
= UNSET
,
1152 .tuner_addr
= ADDR_UNSET
,
1153 .radio_addr
= ADDR_UNSET
,
1160 .name
= name_tv_mono
,
1173 .name
= name_svideo
,
1183 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER
] = {
1184 /* Michael Smith <msmith@cbnco.com> */
1185 .name
= "AVerMedia DVD EZMaker",
1186 .audio_clock
= 0x00187de7,
1187 .tuner_type
= TUNER_ABSENT
,
1188 .radio_type
= UNSET
,
1189 .tuner_addr
= ADDR_UNSET
,
1190 .radio_addr
= ADDR_UNSET
,
1195 .name
= name_svideo
,
1199 [SAA7134_BOARD_NOVAC_PRIMETV7133
] = {
1200 /* toshii@netbsd.org */
1201 .name
= "Noval Prime TV 7133",
1202 .audio_clock
= 0x00200000,
1203 .tuner_type
= TUNER_ALPS_TSBH1_NTSC
,
1204 .radio_type
= UNSET
,
1205 .tuner_addr
= ADDR_UNSET
,
1206 .radio_addr
= ADDR_UNSET
,
1216 .name
= name_svideo
,
1220 [SAA7134_BOARD_AVERMEDIA_STUDIO_305
] = {
1221 .name
= "AverMedia AverTV Studio 305",
1222 .audio_clock
= 0x00187de7,
1223 .tuner_type
= TUNER_PHILIPS_FM1256_IH3
,
1224 .radio_type
= UNSET
,
1225 .tuner_addr
= ADDR_UNSET
,
1226 .radio_addr
= ADDR_UNSET
,
1227 .tda9887_conf
= TDA9887_PRESENT
,
1242 .name
= name_svideo
,
1255 [SAA7134_BOARD_UPMOST_PURPLE_TV
] = {
1256 .name
= "UPMOST PURPLE TV",
1257 .audio_clock
= 0x00187de7,
1258 .tuner_type
= TUNER_PHILIPS_FM1236_MK3
,
1259 .radio_type
= UNSET
,
1260 .tuner_addr
= ADDR_UNSET
,
1261 .radio_addr
= ADDR_UNSET
,
1262 .tda9887_conf
= TDA9887_PRESENT
,
1269 .name
= name_svideo
,
1274 [SAA7134_BOARD_ITEMS_MTV005
] = {
1275 /* Norman Jonas <normanjonas@arcor.de> */
1276 .name
= "Items MuchTV Plus / IT-005",
1277 .audio_clock
= 0x00187de7,
1278 .tuner_type
= TUNER_PHILIPS_PAL
,
1279 .radio_type
= UNSET
,
1280 .tuner_addr
= ADDR_UNSET
,
1281 .radio_addr
= ADDR_UNSET
,
1292 .name
= name_svideo
,
1301 [SAA7134_BOARD_CINERGY200
] = {
1302 .name
= "Terratec Cinergy 200 TV",
1303 .audio_clock
= 0x00200000,
1304 .tuner_type
= TUNER_PHILIPS_PAL
,
1305 .radio_type
= UNSET
,
1306 .tuner_addr
= ADDR_UNSET
,
1307 .radio_addr
= ADDR_UNSET
,
1318 .name
= name_svideo
,
1322 .name
= name_comp2
, /* CVideo over SVideo Connector */
1331 [SAA7134_BOARD_VIDEOMATE_TV_PVR
] = {
1332 /* Alain St-Denis <alain@topaze.homeip.net> */
1333 .name
= "Compro VideoMate TV PVR/FM",
1334 .audio_clock
= 0x00187de7,
1335 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
1336 .radio_type
= UNSET
,
1337 .tuner_addr
= ADDR_UNSET
,
1338 .radio_addr
= ADDR_UNSET
,
1339 .gpiomask
= 0x808c0080,
1341 .name
= name_svideo
,
1368 [SAA7134_BOARD_SABRENT_SBTTVFM
] = {
1369 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1370 .name
= "Sabrent SBT-TVFM (saa7130)",
1371 .audio_clock
= 0x00187de7,
1372 .tuner_type
= TUNER_PHILIPS_NTSC_M
,
1373 .radio_type
= UNSET
,
1374 .tuner_addr
= ADDR_UNSET
,
1375 .radio_addr
= ADDR_UNSET
,
1386 .name
= name_svideo
,
1395 [SAA7134_BOARD_ZOLID_XPERT_TV7134
] = {
1396 /* Helge Jensen <helge.jensen@slog.dk> */
1397 .name
= ":Zolid Xpert TV7134",
1398 .audio_clock
= 0x00187de7,
1399 .tuner_type
= TUNER_PHILIPS_NTSC
,
1400 .radio_type
= UNSET
,
1401 .tuner_addr
= ADDR_UNSET
,
1402 .radio_addr
= ADDR_UNSET
,
1404 .name
= name_svideo
,
1418 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE
] = {
1419 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1420 .name
= "Empire PCI TV-Radio LE",
1421 .audio_clock
= 0x00187de7,
1422 .tuner_type
= TUNER_PHILIPS_PAL
,
1423 .radio_type
= UNSET
,
1424 .tuner_addr
= ADDR_UNSET
,
1425 .radio_addr
= ADDR_UNSET
,
1428 .name
= name_tv_mono
,
1439 .name
= name_svideo
,
1455 [SAA7134_BOARD_AVERMEDIA_STUDIO_307
] = {
1457 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1458 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1460 .name
= "Avermedia AVerTV Studio 307",
1461 .audio_clock
= 0x00187de7,
1462 .tuner_type
= TUNER_PHILIPS_FM1256_IH3
,
1463 .radio_type
= UNSET
,
1464 .tuner_addr
= ADDR_UNSET
,
1465 .radio_addr
= ADDR_UNSET
,
1466 .tda9887_conf
= TDA9887_PRESENT
,
1485 .name
= name_svideo
,
1501 [SAA7134_BOARD_AVERMEDIA_GO_007_FM
] = {
1502 .name
= "Avermedia AVerTV GO 007 FM",
1503 .audio_clock
= 0x00187de7,
1504 .tuner_type
= TUNER_PHILIPS_TDA8290
,
1505 .radio_type
= UNSET
,
1506 .tuner_addr
= ADDR_UNSET
,
1507 .radio_addr
= ADDR_UNSET
,
1508 .gpiomask
= 0x00300003,
1509 /* .gpiomask = 0x8c240003, */
1522 .name
= name_svideo
,
1538 [SAA7134_BOARD_AVERMEDIA_CARDBUS
] = {
1539 /* Kees.Blom@cwi.nl */
1540 .name
= "AVerMedia Cardbus TV/Radio (E500)",
1541 .audio_clock
= 0x187de7,
1542 .tuner_type
= TUNER_PHILIPS_TDA8290
,
1543 .radio_type
= UNSET
,
1544 .tuner_addr
= ADDR_UNSET
,
1545 .radio_addr
= ADDR_UNSET
,
1556 .name
= name_svideo
,
1565 [SAA7134_BOARD_CINERGY400_CARDBUS
] = {
1566 .name
= "Terratec Cinergy 400 mobile",
1567 .audio_clock
= 0x187de7,
1568 .tuner_type
= TUNER_ALPS_TSBE5_PAL
,
1569 .radio_type
= UNSET
,
1570 .tuner_addr
= ADDR_UNSET
,
1571 .radio_addr
= ADDR_UNSET
,
1572 .tda9887_conf
= TDA9887_PRESENT
,
1579 .name
= name_tv_mono
,
1588 .name
= name_svideo
,
1593 [SAA7134_BOARD_CINERGY600_MK3
] = {
1594 .name
= "Terratec Cinergy 600 TV MK3",
1595 .audio_clock
= 0x00200000,
1596 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
1597 .radio_type
= UNSET
,
1598 .tuner_addr
= ADDR_UNSET
,
1599 .radio_addr
= ADDR_UNSET
,
1600 .tda9887_conf
= TDA9887_PRESENT
,
1611 .name
= name_svideo
,
1615 .name
= name_comp2
, /* CVideo over SVideo Connector */
1624 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS
] = {
1625 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1626 .name
= "Compro VideoMate Gold+ Pal",
1627 .audio_clock
= 0x00187de7,
1628 .tuner_type
= TUNER_PHILIPS_PAL
,
1629 .radio_type
= UNSET
,
1630 .tuner_addr
= ADDR_UNSET
,
1631 .radio_addr
= ADDR_UNSET
,
1632 .gpiomask
= 0x1ce780,
1634 .name
= name_svideo
,
1635 .vmux
= 0, /* CVideo over SVideo Connector - ok? */
1661 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL
] = {
1662 .name
= "Pinnacle PCTV 300i DVB-T + PAL",
1663 .audio_clock
= 0x00187de7,
1664 .tuner_type
= TUNER_MT2032
,
1665 .radio_type
= UNSET
,
1666 .tuner_addr
= ADDR_UNSET
,
1667 .radio_addr
= ADDR_UNSET
,
1668 .tda9887_conf
= TDA9887_PRESENT
| TDA9887_INTERCARRIER
,
1669 .mpeg
= SAA7134_MPEG_DVB
,
1684 .name
= name_svideo
,
1689 [SAA7134_BOARD_PROVIDEO_PV952
] = {
1690 /* andreas.kretschmer@web.de */
1691 .name
= "ProVideo PV952",
1692 .audio_clock
= 0x00187de7,
1693 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
1694 .radio_type
= UNSET
,
1695 .tuner_addr
= ADDR_UNSET
,
1696 .radio_addr
= ADDR_UNSET
,
1697 .tda9887_conf
= TDA9887_PRESENT
,
1708 .name
= name_tv_mono
,
1718 [SAA7134_BOARD_AVERMEDIA_305
] = {
1719 /* much like the "studio" version but without radio
1720 * and another tuner (sirspiritus@yandex.ru) */
1721 .name
= "AverMedia AverTV/305",
1722 .audio_clock
= 0x00187de7,
1723 .tuner_type
= TUNER_PHILIPS_FQ1216ME
,
1724 .radio_type
= UNSET
,
1725 .tuner_addr
= ADDR_UNSET
,
1726 .radio_addr
= ADDR_UNSET
,
1727 .tda9887_conf
= TDA9887_PRESENT
,
1742 .name
= name_svideo
,
1751 [SAA7134_BOARD_FLYDVBTDUO
] = {
1752 /* LifeView FlyDVB-T DUO */
1753 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1754 .name
= "LifeView FlyDVB-T DUO",
1755 .audio_clock
= 0x00200000,
1756 .tuner_type
= TUNER_PHILIPS_TDA8290
,
1757 .radio_type
= UNSET
,
1758 .tuner_addr
= ADDR_UNSET
,
1759 .radio_addr
= ADDR_UNSET
,
1760 .mpeg
= SAA7134_MPEG_DVB
,
1767 .name
= name_comp1
, /* Composite signal on S-Video input */
1771 .name
= name_comp2
, /* Composite input */
1775 .name
= name_svideo
, /* S-Video signal on S-Video input */
1780 [SAA7134_BOARD_PHILIPS_TOUGH
] = {
1781 .name
= "Philips TOUGH DVB-T reference design",
1782 .tuner_type
= TUNER_ABSENT
,
1783 .audio_clock
= 0x00187de7,
1784 .radio_type
= UNSET
,
1785 .tuner_addr
= ADDR_UNSET
,
1786 .radio_addr
= ADDR_UNSET
,
1787 .mpeg
= SAA7134_MPEG_DVB
,
1793 .name
= name_svideo
,
1798 [SAA7134_BOARD_AVERMEDIA_307
] = {
1800 Davydov Vladimir <vladimir@iqmedia.com>
1802 .name
= "Avermedia AVerTV 307",
1803 .audio_clock
= 0x00187de7,
1804 .tuner_type
= TUNER_PHILIPS_FQ1216ME
,
1805 .radio_type
= UNSET
,
1806 .tuner_addr
= ADDR_UNSET
,
1807 .radio_addr
= ADDR_UNSET
,
1808 .tda9887_conf
= TDA9887_PRESENT
,
1823 .name
= name_svideo
,
1828 [SAA7134_BOARD_ADS_INSTANT_TV
] = {
1829 .name
= "ADS Tech Instant TV (saa7135)",
1830 .audio_clock
= 0x00187de7,
1831 .tuner_type
= TUNER_PHILIPS_TDA8290
,
1832 .radio_type
= UNSET
,
1833 .tuner_addr
= ADDR_UNSET
,
1834 .radio_addr
= ADDR_UNSET
,
1845 .name
= name_svideo
,
1850 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT
] = {
1851 .name
= "Kworld/Tevion V-Stream Xpert TV PVR7134",
1852 .audio_clock
= 0x00187de7,
1853 .tuner_type
= TUNER_PHILIPS_PAL_I
,
1854 .radio_type
= UNSET
,
1855 .tuner_addr
= ADDR_UNSET
,
1856 .radio_addr
= ADDR_UNSET
,
1868 .gpio
= 0x200, /* gpio by DScaler */
1870 .name
= name_svideo
,
1886 [SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS
] = {
1887 .name
= "Typhoon DVB-T Duo Digital/Analog Cardbus",
1888 .audio_clock
= 0x00200000,
1889 .tuner_type
= TUNER_PHILIPS_TDA8290
,
1890 .radio_type
= UNSET
,
1891 .tuner_addr
= ADDR_UNSET
,
1892 .radio_addr
= ADDR_UNSET
,
1893 .mpeg
= SAA7134_MPEG_DVB
,
1894 /* .gpiomask = 0xe000, */
1899 /* .gpio = 0x0000, */
1902 .name
= name_comp1
, /* Composite signal on S-Video input */
1905 /* .gpio = 0x4000, */
1907 .name
= name_comp2
, /* Composite input */
1910 /* .gpio = 0x4000, */
1912 .name
= name_svideo
, /* S-Video signal on S-Video input */
1915 /* .gpio = 0x4000, */
1926 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII
] = {
1927 .name
= "Compro VideoMate TV Gold+II",
1928 .audio_clock
= 0x002187de7,
1929 .tuner_type
= TUNER_LG_PAL_NEW_TAPC
,
1930 .radio_type
= TUNER_TEA5767
,
1933 .gpiomask
= 0x8c1880,
1935 .name
= name_svideo
,
1962 [SAA7134_BOARD_KWORLD_XPERT
] = {
1965 - Remote control doesn't initialize properly.
1966 - Audio volume starts muted,
1967 then gradually increases after channel change.
1968 - Overlay scaling problems (application error?)
1969 - Composite S-Video untested.
1970 From: Konrad Rzepecki <hannibal@megapolis.pl>
1972 .name
= "Kworld Xpert TV PVR7134",
1973 .audio_clock
= 0x00187de7,
1974 .tuner_type
= TUNER_TENA_9533_DI
,
1975 .radio_type
= TUNER_TEA5767
,
1989 .gpio
= 0x200, /* gpio by DScaler */
1991 .name
= name_svideo
,
2007 [SAA7134_BOARD_FLYTV_DIGIMATRIX
] = {
2008 .name
= "FlyTV mini Asus Digimatrix",
2009 .audio_clock
= 0x00200000,
2010 .tuner_type
= TUNER_LG_NTSC_TALN_MINI
,
2011 .radio_type
= UNSET
,
2012 .tuner_addr
= ADDR_UNSET
,
2013 .radio_addr
= ADDR_UNSET
,
2020 .name
= name_tv_mono
,
2033 .name
= name_svideo
,
2038 .name
= name_radio
, /* radio unconfirmed */
2042 [SAA7134_BOARD_KWORLD_TERMINATOR
] = {
2043 /* Kworld V-Stream Studio TV Terminator */
2044 /* "James Webb <jrwebb@qwest.net> */
2045 .name
= "V-Stream Studio TV Terminator",
2046 .audio_clock
= 0x00187de7,
2047 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2048 .radio_type
= UNSET
,
2049 .tuner_addr
= ADDR_UNSET
,
2050 .radio_addr
= ADDR_UNSET
,
2051 .gpiomask
= 1 << 21,
2059 .name
= name_comp1
, /* Composite input */
2064 .name
= name_svideo
, /* S-Video input */
2075 [SAA7134_BOARD_YUAN_TUN900
] = {
2077 * S-Video and composite sources untested.
2078 * Radio not working.
2079 * Remote control not yet implemented.
2080 * From : codemaster@webgeeks.be */
2081 .name
= "Yuan TUN-900 (saa7135)",
2082 .audio_clock
= 0x00187de7,
2083 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2084 .radio_type
= UNSET
,
2085 .tuner_addr
= ADDR_UNSET
,
2086 .radio_addr
= ADDR_UNSET
,
2087 .gpiomask
= 0x00010003,
2100 .name
= name_svideo
,
2116 [SAA7134_BOARD_BEHOLD_409FM
] = {
2117 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2118 .name
= "Beholder BeholdTV 409 FM",
2119 .audio_clock
= 0x00187de7,
2120 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
2121 .radio_type
= UNSET
,
2122 .tuner_addr
= ADDR_UNSET
,
2123 .radio_addr
= ADDR_UNSET
,
2124 .tda9887_conf
= TDA9887_PRESENT
,
2135 .name
= name_svideo
,
2144 [SAA7134_BOARD_GOTVIEW_7135
] = {
2145 /* Mike Baikov <mike@baikov.com> */
2146 /* Andrey Cvetcov <ays14@yandex.ru> */
2147 .name
= "GoTView 7135 PCI",
2148 .audio_clock
= 0x00187de7,
2149 .tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
,
2150 .radio_type
= UNSET
,
2151 .tuner_addr
= ADDR_UNSET
,
2152 .radio_addr
= ADDR_UNSET
,
2153 .tda9887_conf
= TDA9887_PRESENT
,
2154 .gpiomask
= 0x00200003,
2162 .name
= name_tv_mono
,
2172 .name
= name_svideo
,
2188 [SAA7134_BOARD_PHILIPS_EUROPA
] = {
2189 .name
= "Philips EUROPA V3 reference design",
2190 .audio_clock
= 0x00187de7,
2191 .tuner_type
= TUNER_PHILIPS_TD1316
,
2192 .radio_type
= UNSET
,
2194 .radio_addr
= ADDR_UNSET
,
2195 .tda9887_conf
= TDA9887_PRESENT
,
2196 .mpeg
= SAA7134_MPEG_DVB
,
2207 .name
= name_svideo
,
2212 [SAA7134_BOARD_VIDEOMATE_DVBT_300
] = {
2213 .name
= "Compro Videomate DVB-T300",
2214 .audio_clock
= 0x00187de7,
2215 .tuner_type
= TUNER_PHILIPS_TD1316
,
2216 .radio_type
= UNSET
,
2218 .radio_addr
= ADDR_UNSET
,
2219 .tda9887_conf
= TDA9887_PRESENT
,
2220 .mpeg
= SAA7134_MPEG_DVB
,
2231 .name
= name_svideo
,
2236 [SAA7134_BOARD_VIDEOMATE_DVBT_200
] = {
2237 .name
= "Compro Videomate DVB-T200",
2238 .tuner_type
= TUNER_ABSENT
,
2239 .audio_clock
= 0x00187de7,
2240 .radio_type
= UNSET
,
2241 .tuner_addr
= ADDR_UNSET
,
2242 .radio_addr
= ADDR_UNSET
,
2243 .mpeg
= SAA7134_MPEG_DVB
,
2249 .name
= name_svideo
,
2254 [SAA7134_BOARD_RTD_VFG7350
] = {
2255 .name
= "RTD Embedded Technologies VFG7350",
2256 .audio_clock
= 0x00200000,
2257 .tuner_type
= TUNER_ABSENT
,
2258 .radio_type
= UNSET
,
2259 .tuner_addr
= ADDR_UNSET
,
2260 .radio_addr
= ADDR_UNSET
,
2262 .name
= "Composite 0",
2266 .name
= "Composite 1",
2270 .name
= "Composite 2",
2274 .name
= "Composite 3",
2278 .name
= "S-Video 0",
2282 .name
= "S-Video 1",
2286 .mpeg
= SAA7134_MPEG_EMPRESS
,
2287 .video_out
= CCIR656
,
2288 .vid_port_opts
= ( SET_T_CODE_POLARITY_NON_INVERTED
|
2289 SET_CLOCK_NOT_DELAYED
|
2290 SET_CLOCK_INVERTED
|
2293 [SAA7134_BOARD_RTD_VFG7330
] = {
2294 .name
= "RTD Embedded Technologies VFG7330",
2295 .audio_clock
= 0x00200000,
2296 .tuner_type
= TUNER_ABSENT
,
2297 .radio_type
= UNSET
,
2298 .tuner_addr
= ADDR_UNSET
,
2299 .radio_addr
= ADDR_UNSET
,
2301 .name
= "Composite 0",
2305 .name
= "Composite 1",
2309 .name
= "Composite 2",
2313 .name
= "Composite 3",
2317 .name
= "S-Video 0",
2321 .name
= "S-Video 1",
2326 [SAA7134_BOARD_FLYTVPLATINUM_MINI2
] = {
2327 .name
= "LifeView FlyTV Platinum Mini2",
2328 .audio_clock
= 0x00200000,
2329 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2330 .radio_type
= UNSET
,
2331 .tuner_addr
= ADDR_UNSET
,
2332 .radio_addr
= ADDR_UNSET
,
2340 .name
= name_comp1
, /* Composite signal on S-Video input */
2344 .name
= name_comp2
, /* Composite input */
2348 .name
= name_svideo
,
2353 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180
] = {
2354 /* Michael Krufky <mkrufky@m1k.net>
2355 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2356 * AFAIK, there is no analog demod, thus,
2357 * no support for analog television.
2359 .name
= "AVerMedia AVerTVHD MCE A180",
2360 .audio_clock
= 0x00187de7,
2361 .tuner_type
= TUNER_ABSENT
,
2362 .radio_type
= UNSET
,
2363 .tuner_addr
= ADDR_UNSET
,
2364 .radio_addr
= ADDR_UNSET
,
2365 .mpeg
= SAA7134_MPEG_DVB
,
2371 .name
= name_svideo
,
2376 [SAA7134_BOARD_MONSTERTV_MOBILE
] = {
2377 .name
= "SKNet MonsterTV Mobile",
2378 .audio_clock
= 0x00187de7,
2379 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2380 .radio_type
= UNSET
,
2381 .tuner_addr
= ADDR_UNSET
,
2382 .radio_addr
= ADDR_UNSET
,
2394 .name
= name_svideo
,
2399 [SAA7134_BOARD_PINNACLE_PCTV_110i
] = {
2400 .name
= "Pinnacle PCTV 110i (saa7133)",
2401 .audio_clock
= 0x00187de7,
2402 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2403 .radio_type
= UNSET
,
2404 .tuner_addr
= ADDR_UNSET
,
2405 .radio_addr
= ADDR_UNSET
,
2406 .gpiomask
= 0x080200000,
2417 .name
= name_svideo
,
2426 [SAA7134_BOARD_ASUSTeK_P7131_DUAL
] = {
2427 .name
= "ASUSTeK P7131 Dual",
2428 .audio_clock
= 0x00187de7,
2429 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2430 .radio_type
= UNSET
,
2431 .tuner_addr
= ADDR_UNSET
,
2432 .radio_addr
= ADDR_UNSET
,
2433 .gpiomask
= 1 << 21,
2434 .mpeg
= SAA7134_MPEG_DVB
,
2445 .name
= name_svideo
,
2455 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS
] = {
2456 /* Paul Tom Zalac <pzalac@gmail.com> */
2457 /* Pavel Mihaylov <bin@bash.info> */
2458 .name
= "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2459 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2460 .audio_clock
= 0x00187de7,
2461 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2462 .radio_type
= UNSET
,
2463 .tuner_addr
= ADDR_UNSET
,
2464 .radio_addr
= ADDR_UNSET
,
2465 .gpiomask
= 0xe880c0,
2476 .name
= name_svideo
,
2485 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV
] = {
2486 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2487 .name
= "ASUS Digimatrix TV",
2488 .audio_clock
= 0x00200000,
2489 .tuner_type
= TUNER_PHILIPS_FQ1216ME
,
2490 .tda9887_conf
= TDA9887_PRESENT
,
2491 .radio_type
= UNSET
,
2492 .tuner_addr
= ADDR_UNSET
,
2493 .radio_addr
= ADDR_UNSET
,
2504 .name
= name_svideo
,
2509 [SAA7134_BOARD_PHILIPS_TIGER
] = {
2510 .name
= "Philips Tiger reference design",
2511 .audio_clock
= 0x00187de7,
2512 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2513 .radio_type
= UNSET
,
2514 .tuner_addr
= ADDR_UNSET
,
2515 .radio_addr
= ADDR_UNSET
,
2516 .mpeg
= SAA7134_MPEG_DVB
,
2527 .name
= name_svideo
,
2532 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS
] = {
2533 .name
= "MSI TV@Anywhere plus",
2534 .audio_clock
= 0x00187de7,
2535 .tuner_type
= TUNER_PHILIPS_TDA8290
,
2536 .radio_type
= UNSET
,
2537 .tuner_addr
= ADDR_UNSET
,
2538 .radio_addr
= ADDR_UNSET
,
2549 .name
= name_svideo
,
2560 const unsigned int saa7134_bcount
= ARRAY_SIZE(saa7134_boards
);
2562 /* ------------------------------------------------------------------ */
2563 /* PCI ids + subsystem IDs */
2565 struct pci_device_id saa7134_pci_tbl
[] = {
2567 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2568 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2569 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2570 .subdevice
= 0x2001,
2571 .driver_data
= SAA7134_BOARD_PROTEUS_PRO
,
2573 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2574 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2575 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2576 .subdevice
= 0x2001,
2577 .driver_data
= SAA7134_BOARD_PROTEUS_PRO
,
2579 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2580 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2581 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2582 .subdevice
= 0x6752,
2583 .driver_data
= SAA7134_BOARD_EMPRESS
,
2585 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2586 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2587 .subvendor
= 0x1131,
2588 .subdevice
= 0x4e85,
2589 .driver_data
= SAA7134_BOARD_MONSTERTV
,
2591 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2592 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2593 .subvendor
= 0x153b,
2594 .subdevice
= 0x1142,
2595 .driver_data
= SAA7134_BOARD_CINERGY400
,
2597 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2598 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2599 .subvendor
= 0x153b,
2600 .subdevice
= 0x1143,
2601 .driver_data
= SAA7134_BOARD_CINERGY600
,
2603 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2604 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2605 .subvendor
= 0x153b,
2606 .subdevice
= 0x1158,
2607 .driver_data
= SAA7134_BOARD_CINERGY600_MK3
,
2609 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2610 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2611 .subvendor
= 0x153b,
2612 .subdevice
= 0x1162,
2613 .driver_data
= SAA7134_BOARD_CINERGY400_CARDBUS
,
2615 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2616 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2617 .subvendor
= 0x5168,
2618 .subdevice
= 0x0138,
2619 .driver_data
= SAA7134_BOARD_FLYVIDEO3000
,
2621 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2622 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2623 .subvendor
= 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
2624 .subdevice
= 0x0138,
2625 .driver_data
= SAA7134_BOARD_FLYVIDEO3000
,
2627 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2628 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2629 .subvendor
= 0x5168,
2630 .subdevice
= 0x0138,
2631 .driver_data
= SAA7134_BOARD_FLYVIDEO2000
,
2633 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2634 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2635 .subvendor
= 0x5168,
2636 .subdevice
= 0x0212, /* minipci, LR212 */
2637 .driver_data
= SAA7134_BOARD_FLYTVPLATINUM_MINI
,
2639 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2640 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2641 .subvendor
= 0x14c0,
2642 .subdevice
= 0x1212, /* minipci, LR1212 */
2643 .driver_data
= SAA7134_BOARD_FLYTVPLATINUM_MINI2
,
2645 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2646 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2647 .subvendor
= 0x4e42,
2648 .subdevice
= 0x0212, /* OEM minipci, LR212 */
2649 .driver_data
= SAA7134_BOARD_FLYTVPLATINUM_MINI
,
2651 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2652 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2653 .subvendor
= 0x5168, /* Animation Technologies (LifeView) */
2654 .subdevice
= 0x0214, /* Standard PCI, LR214WF */
2655 .driver_data
= SAA7134_BOARD_FLYTVPLATINUM_FM
,
2657 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2658 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2659 .subvendor
= 0x1489, /* KYE */
2660 .subdevice
= 0x0214, /* Genius VideoWonder ProTV */
2661 .driver_data
= SAA7134_BOARD_FLYTVPLATINUM_FM
, /* is an LR214WF actually */
2663 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2664 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2665 .subvendor
= 0x16be,
2666 .subdevice
= 0x0003,
2667 .driver_data
= SAA7134_BOARD_MD7134
,
2669 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2670 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2671 .subvendor
= 0x1048,
2672 .subdevice
= 0x226b,
2673 .driver_data
= SAA7134_BOARD_ELSA
,
2675 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2676 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2677 .subvendor
= 0x1048,
2678 .subdevice
= 0x226b,
2679 .driver_data
= SAA7134_BOARD_ELSA_500TV
,
2681 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2682 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2683 .subvendor
= PCI_VENDOR_ID_ASUSTEK
,
2684 .subdevice
= 0x4842,
2685 .driver_data
= SAA7134_BOARD_ASUSTeK_TVFM7134
,
2687 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2688 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2689 .subvendor
= PCI_VENDOR_ID_ASUSTEK
,
2690 .subdevice
= 0x4845,
2691 .driver_data
= SAA7134_BOARD_ASUSTeK_TVFM7135
,
2693 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2694 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2695 .subvendor
= PCI_VENDOR_ID_ASUSTEK
,
2696 .subdevice
= 0x4830,
2697 .driver_data
= SAA7134_BOARD_ASUSTeK_TVFM7134
,
2699 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2700 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2701 .subvendor
= PCI_VENDOR_ID_ASUSTEK
,
2702 .subdevice
= 0x4843,
2703 .driver_data
= SAA7134_BOARD_ASUSTEK_TVFM7133
,
2705 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2706 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2707 .subvendor
= PCI_VENDOR_ID_ASUSTEK
,
2708 .subdevice
= 0x4840,
2709 .driver_data
= SAA7134_BOARD_ASUSTeK_TVFM7134
,
2711 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2712 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2713 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2714 .subdevice
= 0xfe01,
2715 .driver_data
= SAA7134_BOARD_TVSTATION_RDS
,
2717 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2718 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2719 .subvendor
= 0x1894,
2720 .subdevice
= 0xfe01,
2721 .driver_data
= SAA7134_BOARD_TVSTATION_RDS
,
2723 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2724 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2725 .subvendor
= 0x1894,
2726 .subdevice
= 0xa006,
2727 .driver_data
= SAA7134_BOARD_TVSTATION_DVR
,
2729 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2730 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2731 .subvendor
= 0x1131,
2732 .subdevice
= 0x7133,
2733 .driver_data
= SAA7134_BOARD_VA1000POWER
,
2735 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2736 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2737 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2738 .subdevice
= 0x2001,
2739 .driver_data
= SAA7134_BOARD_10MOONSTVMASTER
,
2741 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2742 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2743 .subvendor
= 0x185b,
2744 .subdevice
= 0xc100,
2745 .driver_data
= SAA7134_BOARD_VIDEOMATE_TV
,
2747 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2748 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2749 .subvendor
= 0x185b,
2750 .subdevice
= 0xc100,
2751 .driver_data
= SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS
,
2753 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2754 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2755 .subvendor
= PCI_VENDOR_ID_MATROX
,
2756 .subdevice
= 0x48d0,
2757 .driver_data
= SAA7134_BOARD_CRONOS_PLUS
,
2759 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2760 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2761 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2762 .subdevice
= 0xa70b,
2763 .driver_data
= SAA7134_BOARD_MD2819
,
2765 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2766 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2767 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2768 .subdevice
= 0x2115,
2769 .driver_data
= SAA7134_BOARD_AVERMEDIA_STUDIO_305
,
2771 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2772 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2773 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2774 .subdevice
= 0x2108,
2775 .driver_data
= SAA7134_BOARD_AVERMEDIA_305
,
2777 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2778 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2779 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2780 .subdevice
= 0x10ff,
2781 .driver_data
= SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER
,
2783 /* AVerMedia CardBus */
2784 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2785 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2786 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2787 .subdevice
= 0xd6ee,
2788 .driver_data
= SAA7134_BOARD_AVERMEDIA_CARDBUS
,
2790 /* TransGear 3000TV */
2791 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2792 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2793 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2794 .subdevice
= 0x050c,
2795 .driver_data
= SAA7134_BOARD_TG3000TV
,
2797 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2798 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2799 .subvendor
= 0x11bd,
2800 .subdevice
= 0x002b,
2801 .driver_data
= SAA7134_BOARD_PINNACLE_PCTV_STEREO
,
2803 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2804 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2805 .subvendor
= 0x11bd,
2806 .subdevice
= 0x002d,
2807 .driver_data
= SAA7134_BOARD_PINNACLE_300I_DVBT_PAL
,
2809 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2810 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2811 .subvendor
= 0x1019,
2812 .subdevice
= 0x4cb4,
2813 .driver_data
= SAA7134_BOARD_ECS_TVP3XP
,
2815 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2816 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2817 .subvendor
= 0x1019,
2818 .subdevice
= 0x4cb5,
2819 .driver_data
= SAA7134_BOARD_ECS_TVP3XP_4CB5
,
2821 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2822 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2823 .subvendor
= 0x12ab,
2824 .subdevice
= 0x0800,
2825 .driver_data
= SAA7134_BOARD_UPMOST_PURPLE_TV
,
2827 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2828 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2829 .subvendor
= 0x153b,
2830 .subdevice
= 0x1152,
2831 .driver_data
= SAA7134_BOARD_CINERGY200
,
2833 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2834 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2835 .subvendor
= 0x185b,
2836 .subdevice
= 0xc100,
2837 .driver_data
= SAA7134_BOARD_VIDEOMATE_TV_PVR
,
2839 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2840 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2841 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2842 .subdevice
= 0x9715,
2843 .driver_data
= SAA7134_BOARD_AVERMEDIA_STUDIO_307
,
2845 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2846 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2847 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2848 .subdevice
= 0xa70a,
2849 .driver_data
= SAA7134_BOARD_AVERMEDIA_307
,
2851 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2852 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2853 .subvendor
= 0x185b,
2854 .subdevice
= 0xc200,
2855 .driver_data
= SAA7134_BOARD_VIDEOMATE_GOLD_PLUS
,
2857 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2858 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2859 .subvendor
= 0x1540,
2860 .subdevice
= 0x9524,
2861 .driver_data
= SAA7134_BOARD_PROVIDEO_PV952
,
2864 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2865 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2866 .subvendor
= 0x5168,
2867 .subdevice
= 0x0502, /* Cardbus version */
2868 .driver_data
= SAA7134_BOARD_FLYDVBTDUO
,
2870 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2871 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2872 .subvendor
= 0x5168,
2873 .subdevice
= 0x0306, /* PCI version */
2874 .driver_data
= SAA7134_BOARD_FLYDVBTDUO
,
2876 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2877 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2878 .subvendor
= 0x1461, /* Avermedia Technologies Inc */
2879 .subdevice
= 0xf31f,
2880 .driver_data
= SAA7134_BOARD_AVERMEDIA_GO_007_FM
,
2883 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2884 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2885 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2886 .subdevice
= 0x2004,
2887 .driver_data
= SAA7134_BOARD_PHILIPS_TOUGH
,
2889 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2890 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2891 .subvendor
= 0x1421,
2892 .subdevice
= 0x0350, /* PCI version */
2893 .driver_data
= SAA7134_BOARD_ADS_INSTANT_TV
,
2895 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2896 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2897 .subvendor
= 0x1421,
2898 .subdevice
= 0x0370, /* cardbus version */
2899 .driver_data
= SAA7134_BOARD_ADS_INSTANT_TV
,
2901 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2902 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2903 .subvendor
= 0x1421,
2904 .subdevice
= 0x1370, /* cardbus version */
2905 .driver_data
= SAA7134_BOARD_ADS_INSTANT_TV
,
2907 },{ /* Typhoon DVB-T Duo Digital/Analog Cardbus */
2908 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2909 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2910 .subvendor
= 0x4e42,
2911 .subdevice
= 0x0502,
2912 .driver_data
= SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS
,
2914 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2915 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2916 .subvendor
= 0x1043,
2917 .subdevice
= 0x0210, /* mini pci NTSC version */
2918 .driver_data
= SAA7134_BOARD_FLYTV_DIGIMATRIX
,
2920 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2921 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2922 .subvendor
= 0x1043,
2923 .subdevice
= 0x0210, /* mini pci PAL/SECAM version */
2924 .driver_data
= SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV
,
2927 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2928 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2929 .subvendor
= 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
2930 .subdevice
= 0x4091,
2931 .driver_data
= SAA7134_BOARD_BEHOLD_409FM
,
2933 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2934 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2935 .subvendor
= 0x5456, /* GoTView */
2936 .subdevice
= 0x7135,
2937 .driver_data
= SAA7134_BOARD_GOTVIEW_7135
,
2939 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2940 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2941 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2942 .subdevice
= 0x2004,
2943 .driver_data
= SAA7134_BOARD_PHILIPS_EUROPA
,
2945 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2946 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
2947 .subvendor
= 0x185b,
2948 .subdevice
= 0xc900,
2949 .driver_data
= SAA7134_BOARD_VIDEOMATE_DVBT_300
,
2951 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2952 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
2953 .subvendor
= 0x185b,
2954 .subdevice
= 0xc901,
2955 .driver_data
= SAA7134_BOARD_VIDEOMATE_DVBT_200
,
2957 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2958 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2959 .subvendor
= 0x1435,
2960 .subdevice
= 0x7350,
2961 .driver_data
= SAA7134_BOARD_RTD_VFG7350
,
2963 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2964 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2965 .subvendor
= 0x1435,
2966 .subdevice
= 0x7330,
2967 .driver_data
= SAA7134_BOARD_RTD_VFG7330
,
2969 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2970 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2971 .subvendor
= 0x1461,
2972 .subdevice
= 0x1044,
2973 .driver_data
= SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180
,
2975 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2976 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2977 .subvendor
= 0x1131,
2978 .subdevice
= 0x4ee9,
2979 .driver_data
= SAA7134_BOARD_MONSTERTV_MOBILE
,
2981 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2982 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2983 .subvendor
= 0x11bd,
2984 .subdevice
= 0x002e,
2985 .driver_data
= SAA7134_BOARD_PINNACLE_PCTV_110i
,
2987 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2988 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2989 .subvendor
= 0x1043,
2990 .subdevice
= 0x4862,
2991 .driver_data
= SAA7134_BOARD_ASUSTeK_P7131_DUAL
,
2993 .vendor
= PCI_VENDOR_ID_PHILIPS
,
2994 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
2995 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
2996 .subdevice
= 0x2018,
2997 .driver_data
= SAA7134_BOARD_PHILIPS_TIGER
,
2999 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3000 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
3001 .subvendor
= 0x1462,
3002 .subdevice
= 0x6231,
3003 .driver_data
= SAA7134_BOARD_MSI_TVATANYWHERE_PLUS
,
3005 /* --- boards without eeprom + subsystem ID --- */
3006 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3007 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
3008 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
3010 .driver_data
= SAA7134_BOARD_NOAUTO
,
3012 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3013 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
3014 .subvendor
= PCI_VENDOR_ID_PHILIPS
,
3016 .driver_data
= SAA7134_BOARD_NOAUTO
,
3019 /* --- default catch --- */
3020 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3021 .device
= PCI_DEVICE_ID_PHILIPS_SAA7130
,
3022 .subvendor
= PCI_ANY_ID
,
3023 .subdevice
= PCI_ANY_ID
,
3024 .driver_data
= SAA7134_BOARD_UNKNOWN
,
3026 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3027 .device
= PCI_DEVICE_ID_PHILIPS_SAA7133
,
3028 .subvendor
= PCI_ANY_ID
,
3029 .subdevice
= PCI_ANY_ID
,
3030 .driver_data
= SAA7134_BOARD_UNKNOWN
,
3032 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3033 .device
= PCI_DEVICE_ID_PHILIPS_SAA7134
,
3034 .subvendor
= PCI_ANY_ID
,
3035 .subdevice
= PCI_ANY_ID
,
3036 .driver_data
= SAA7134_BOARD_UNKNOWN
,
3038 .vendor
= PCI_VENDOR_ID_PHILIPS
,
3039 .device
= PCI_DEVICE_ID_PHILIPS_SAA7135
,
3040 .subvendor
= PCI_ANY_ID
,
3041 .subdevice
= PCI_ANY_ID
,
3042 .driver_data
= SAA7134_BOARD_UNKNOWN
,
3044 /* --- end of list --- */
3047 MODULE_DEVICE_TABLE(pci
, saa7134_pci_tbl
);
3049 /* ----------------------------------------------------------- */
3050 /* flyvideo tweaks */
3053 static void board_flyvideo(struct saa7134_dev
*dev
)
3055 printk("%s: there are different flyvideo cards with different tuners\n"
3056 "%s: out there, you might have to use the tuner=<nr> insmod\n"
3057 "%s: option to override the default value.\n",
3058 dev
->name
, dev
->name
, dev
->name
);
3061 /* ----------------------------------------------------------- */
3063 int saa7134_board_init1(struct saa7134_dev
*dev
)
3065 /* Always print gpio, often manufacturers encode tuner type and other info. */
3066 saa_writel(SAA7134_GPIO_GPMODE0
>> 2, 0);
3067 dev
->gpio_value
= saa_readl(SAA7134_GPIO_GPSTATUS0
>> 2);
3068 printk(KERN_INFO
"%s: board init: gpio is %x\n", dev
->name
, dev
->gpio_value
);
3070 switch (dev
->board
) {
3071 case SAA7134_BOARD_FLYVIDEO2000
:
3072 case SAA7134_BOARD_FLYVIDEO3000
:
3073 dev
->has_remote
= SAA7134_REMOTE_GPIO
;
3074 board_flyvideo(dev
);
3076 case SAA7134_BOARD_FLYTVPLATINUM_MINI2
:
3077 case SAA7134_BOARD_FLYTVPLATINUM_FM
:
3078 case SAA7134_BOARD_CINERGY400
:
3079 case SAA7134_BOARD_CINERGY600
:
3080 case SAA7134_BOARD_CINERGY600_MK3
:
3081 case SAA7134_BOARD_ECS_TVP3XP
:
3082 case SAA7134_BOARD_ECS_TVP3XP_4CB5
:
3083 case SAA7134_BOARD_MD2819
:
3084 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT
:
3085 case SAA7134_BOARD_KWORLD_XPERT
:
3086 case SAA7134_BOARD_AVERMEDIA_STUDIO_305
:
3087 case SAA7134_BOARD_AVERMEDIA_305
:
3088 case SAA7134_BOARD_AVERMEDIA_STUDIO_307
:
3089 case SAA7134_BOARD_AVERMEDIA_307
:
3090 case SAA7134_BOARD_AVERMEDIA_GO_007_FM
:
3091 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
3092 case SAA7134_BOARD_VIDEOMATE_TV_PVR
:
3093 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII
:
3094 case SAA7134_BOARD_VIDEOMATE_DVBT_300
:
3095 case SAA7134_BOARD_VIDEOMATE_DVBT_200
:
3096 case SAA7134_BOARD_MANLI_MTV001
:
3097 case SAA7134_BOARD_MANLI_MTV002
:
3098 case SAA7134_BOARD_BEHOLD_409FM
:
3099 case SAA7134_BOARD_AVACSSMARTTV
:
3100 case SAA7134_BOARD_GOTVIEW_7135
:
3101 case SAA7134_BOARD_KWORLD_TERMINATOR
:
3102 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS
:
3103 dev
->has_remote
= SAA7134_REMOTE_GPIO
;
3105 case SAA7134_BOARD_MD5044
:
3106 printk("%s: seems there are two different versions of the MD5044\n"
3107 "%s: (with the same ID) out there. If sound doesn't work for\n"
3108 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
3109 dev
->name
,dev
->name
,dev
->name
);
3111 case SAA7134_BOARD_CINERGY400_CARDBUS
:
3112 /* power-up tuner chip */
3113 saa_andorl(SAA7134_GPIO_GPMODE0
>> 2, 0x00040000, 0x00040000);
3114 saa_andorl(SAA7134_GPIO_GPSTATUS0
>> 2, 0x00040000, 0x00000000);
3115 case SAA7134_BOARD_MONSTERTV_MOBILE
:
3116 /* power-up tuner chip */
3117 saa_andorl(SAA7134_GPIO_GPMODE0
>> 2, 0x00040000, 0x00040000);
3118 saa_andorl(SAA7134_GPIO_GPSTATUS0
>> 2, 0x00040000, 0x00000004);
3120 case SAA7134_BOARD_FLYDVBTDUO
:
3121 case SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS
:
3122 /* turn the fan on */
3123 saa_writeb(SAA7134_GPIO_GPMODE3
, 0x08);
3124 saa_writeb(SAA7134_GPIO_GPSTATUS3
, 0x06);
3126 case SAA7134_BOARD_AVERMEDIA_CARDBUS
:
3127 /* power-up tuner chip */
3128 saa_andorl(SAA7134_GPIO_GPMODE0
>> 2, 0xffffffff, 0xffffffff);
3129 saa_andorl(SAA7134_GPIO_GPSTATUS0
>> 2, 0xffffffff, 0xffffffff);
3132 case SAA7134_BOARD_RTD_VFG7350
:
3135 * Make sure Production Test Register at offset 0x1D1 is cleared
3136 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
3137 * prevents pin 105 from remaining low; keeping pin 105 low
3138 * continually resets the SAA6752 chip.
3141 saa_writeb (SAA7134_PRODUCTION_TEST_MODE
, 0x00);
3144 case SAA7134_BOARD_PINNACLE_PCTV_110i
:
3145 case SAA7134_BOARD_UPMOST_PURPLE_TV
:
3146 dev
->has_remote
= SAA7134_REMOTE_I2C
;
3152 /* stuff which needs working i2c */
3153 int saa7134_board_init2(struct saa7134_dev
*dev
)
3158 switch (dev
->board
) {
3159 case SAA7134_BOARD_BMK_MPEX_NOTUNER
:
3160 case SAA7134_BOARD_BMK_MPEX_TUNER
:
3161 dev
->i2c_client
.addr
= 0x60;
3162 board
= (i2c_master_recv(&dev
->i2c_client
,&buf
,0) < 0)
3163 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
3164 : SAA7134_BOARD_BMK_MPEX_TUNER
;
3165 if (board
== dev
->board
)
3168 printk("%s: board type fixup: %s\n", dev
->name
,
3169 saa7134_boards
[dev
->board
].name
);
3170 dev
->tuner_type
= saa7134_boards
[dev
->board
].tuner_type
;
3172 if (TUNER_ABSENT
!= dev
->tuner_type
) {
3173 struct tuner_setup tun_setup
;
3175 tun_setup
.mode_mask
= T_RADIO
| T_ANALOG_TV
| T_DIGITAL_TV
;
3176 tun_setup
.type
= dev
->tuner_type
;
3177 tun_setup
.addr
= ADDR_UNSET
;
3179 saa7134_i2c_call_clients (dev
, TUNER_SET_TYPE_ADDR
, &tun_setup
);
3182 case SAA7134_BOARD_MD7134
:
3184 struct tuner_setup tun_setup
;
3189 struct i2c_msg msg
[] = {{.addr
=0x50, .flags
=0, .buf
=&subaddr
, .len
= 1},
3190 {.addr
=0x50, .flags
=I2C_M_RD
, .buf
=data
, .len
= 3}};
3193 ret
= i2c_transfer(&dev
->i2c_adap
, msg
, 2);
3195 printk(KERN_ERR
"EEPROM read failure\n");
3196 } else if ((data
[0] != 0) && (data
[0] != 0xff)) {
3197 /* old config structure */
3198 subaddr
= data
[0] + 2;
3200 i2c_transfer(&dev
->i2c_adap
, msg
, 2);
3201 tuner_t
= (data
[0] << 8) + data
[1];
3204 dev
->tuner_type
= TUNER_PHILIPS_PAL
;
3207 dev
->tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
;
3210 printk(KERN_ERR
"%s Cant determine tuner type %x from EEPROM\n", dev
->name
, tuner_t
);
3212 } else if ((data
[1] != 0) && (data
[1] != 0xff)) {
3213 /* new config structure */
3214 subaddr
= data
[1] + 1;
3216 i2c_transfer(&dev
->i2c_adap
, msg
, 2);
3217 subaddr
= data
[0] + 1;
3219 i2c_transfer(&dev
->i2c_adap
, msg
, 2);
3220 tuner_t
= (data
[1] << 8) + data
[0];
3223 dev
->tuner_type
= TUNER_PHILIPS_FM1216ME_MK3
;
3226 dev
->tuner_type
= TUNER_PHILIPS_FMD1216ME_MK3
;
3227 printk(KERN_INFO
"%s Board has DVB-T\n", dev
->name
);
3230 printk(KERN_ERR
"%s Cant determine tuner type %x from EEPROM\n", dev
->name
, tuner_t
);
3233 printk(KERN_ERR
"%s unexpected config structure\n", dev
->name
);
3236 printk(KERN_INFO
"%s Tuner type is %d\n", dev
->name
, dev
->tuner_type
);
3237 if (dev
->tuner_type
== TUNER_PHILIPS_FMD1216ME_MK3
) {
3238 dev
->tda9887_conf
= TDA9887_PRESENT
| TDA9887_PORT1_ACTIVE
| TDA9887_PORT2_ACTIVE
;
3239 saa7134_i2c_call_clients(dev
,TDA9887_SET_CONFIG
, &dev
->tda9887_conf
);
3242 tun_setup
.mode_mask
= T_RADIO
| T_ANALOG_TV
| T_DIGITAL_TV
;
3243 tun_setup
.type
= dev
->tuner_type
;
3244 tun_setup
.addr
= ADDR_UNSET
;
3246 saa7134_i2c_call_clients (dev
, TUNER_SET_TYPE_ADDR
,&tun_setup
);
3249 case SAA7134_BOARD_PHILIPS_EUROPA
:
3250 case SAA7134_BOARD_VIDEOMATE_DVBT_300
:
3251 /* The Philips EUROPA based hybrid boards have the tuner connected through
3252 * the channel decoder. We have to make it transparent to find it
3255 struct tuner_setup tun_setup
;
3256 u8 data
[] = { 0x07, 0x02};
3257 struct i2c_msg msg
= {.addr
=0x08, .flags
=0, .buf
=data
, .len
= sizeof(data
)};
3258 i2c_transfer(&dev
->i2c_adap
, &msg
, 1);
3260 tun_setup
.mode_mask
= T_ANALOG_TV
| T_DIGITAL_TV
;
3261 tun_setup
.type
= dev
->tuner_type
;
3262 tun_setup
.addr
= dev
->tuner_addr
;
3264 saa7134_i2c_call_clients (dev
, TUNER_SET_TYPE_ADDR
,&tun_setup
);
3267 case SAA7134_BOARD_PHILIPS_TIGER
:
3268 case SAA7134_BOARD_ASUSTeK_P7131_DUAL
:
3269 /* this is a hybrid board, initialize to analog mode */
3271 u8 data
[] = { 0x3c, 0x33, 0x68};
3272 struct i2c_msg msg
= {.addr
=0x08, .flags
=0, .buf
=data
, .len
= sizeof(data
)};
3273 i2c_transfer(&dev
->i2c_adap
, &msg
, 1);
3280 /* ----------------------------------------------------------- */