aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-06-28 17:30:36 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:27 -0400
commit8c2c0dfe4da28a152c0de2c2ca3a66c1bc2fef7c (patch)
treebcaf1a96eb716f8d3f50a11d8dfdcdce6fd73875 /drivers
parentac7dc84584310a836d13236767d71545f5b695b3 (diff)
V4L/DVB (5806): Bttv: Be consistent in using symbolic names instead of constants
For svhs, tuner, and tuner_type, be consistent in using UNSET instead of -1. For tuner_type also consistently use the existing constants: 0 => TUNER_TEMIC_PAL 1 => TUNER_PHILIPS_PAL_I 2 => TUNER_PHILIPS_NTSC 4 => TUNER_ABSENT 5 => TUNER_PHILIPS_PAL 21 => TUNER_TEMIC_4039FR5_NTSC 25 => TUNER_LG_PAL_I_FM Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/bt8xx/bttv-cards.c364
1 files changed, 182 insertions, 182 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c
index e6cdc9989e12..2aea09c72093 100644
--- a/drivers/media/video/bt8xx/bttv-cards.c
+++ b/drivers/media/video/bt8xx/bttv-cards.c
@@ -330,7 +330,7 @@ struct tvcard bttv_tvcards[] = {
330 .tuner = 0, 330 .tuner = 0,
331 .svhs = 2, 331 .svhs = 2,
332 .muxsel = { 2, 3, 1, 0 }, 332 .muxsel = { 2, 3, 1, 0 },
333 .tuner_type = -1, 333 .tuner_type = UNSET,
334 .tuner_addr = ADDR_UNSET, 334 .tuner_addr = ADDR_UNSET,
335 .radio_addr = ADDR_UNSET, 335 .radio_addr = ADDR_UNSET,
336 }, 336 },
@@ -345,7 +345,7 @@ struct tvcard bttv_tvcards[] = {
345 .gpiomux = { 2, 0, 0, 0 }, 345 .gpiomux = { 2, 0, 0, 0 },
346 .gpiomute = 10, 346 .gpiomute = 10,
347 .needs_tvaudio = 1, 347 .needs_tvaudio = 1,
348 .tuner_type = -1, 348 .tuner_type = UNSET,
349 .tuner_addr = ADDR_UNSET, 349 .tuner_addr = ADDR_UNSET,
350 .radio_addr = ADDR_UNSET, 350 .radio_addr = ADDR_UNSET,
351 }, 351 },
@@ -360,7 +360,7 @@ struct tvcard bttv_tvcards[] = {
360 .gpiomux = { 0, 1, 2, 3 }, 360 .gpiomux = { 0, 1, 2, 3 },
361 .gpiomute = 4, 361 .gpiomute = 4,
362 .needs_tvaudio = 1, 362 .needs_tvaudio = 1,
363 .tuner_type = -1, 363 .tuner_type = UNSET,
364 .tuner_addr = ADDR_UNSET, 364 .tuner_addr = ADDR_UNSET,
365 .radio_addr = ADDR_UNSET, 365 .radio_addr = ADDR_UNSET,
366 }, 366 },
@@ -388,13 +388,13 @@ struct tvcard bttv_tvcards[] = {
388 .name = "Intel Create and Share PCI/ Smart Video Recorder III", 388 .name = "Intel Create and Share PCI/ Smart Video Recorder III",
389 .video_inputs = 4, 389 .video_inputs = 4,
390 .audio_inputs = 0, 390 .audio_inputs = 0,
391 .tuner = -1, 391 .tuner = UNSET,
392 .svhs = 2, 392 .svhs = 2,
393 .gpiomask = 0, 393 .gpiomask = 0,
394 .muxsel = { 2, 3, 1, 1 }, 394 .muxsel = { 2, 3, 1, 1 },
395 .gpiomux = { 0 }, 395 .gpiomux = { 0 },
396 .needs_tvaudio = 0, 396 .needs_tvaudio = 0,
397 .tuner_type = 4, 397 .tuner_type = TUNER_ABSENT,
398 .tuner_addr = ADDR_UNSET, 398 .tuner_addr = ADDR_UNSET,
399 .radio_addr = ADDR_UNSET, 399 .radio_addr = ADDR_UNSET,
400 }, 400 },
@@ -409,7 +409,7 @@ struct tvcard bttv_tvcards[] = {
409 .gpiomux = { 0, 1, 0, 1 }, 409 .gpiomux = { 0, 1, 0, 1 },
410 .gpiomute = 3, 410 .gpiomute = 3,
411 .needs_tvaudio = 1, 411 .needs_tvaudio = 1,
412 .tuner_type = -1, 412 .tuner_type = UNSET,
413 .tuner_addr = ADDR_UNSET, 413 .tuner_addr = ADDR_UNSET,
414 .radio_addr = ADDR_UNSET, 414 .radio_addr = ADDR_UNSET,
415 }, 415 },
@@ -424,7 +424,7 @@ struct tvcard bttv_tvcards[] = {
424 .gpiomux = { 0x0c, 0x04, 0x08, 0x04 }, 424 .gpiomux = { 0x0c, 0x04, 0x08, 0x04 },
425 /* 0x04 for some cards ?? */ 425 /* 0x04 for some cards ?? */
426 .needs_tvaudio = 1, 426 .needs_tvaudio = 1,
427 .tuner_type = -1, 427 .tuner_type = UNSET,
428 .tuner_addr = ADDR_UNSET, 428 .tuner_addr = ADDR_UNSET,
429 .radio_addr = ADDR_UNSET, 429 .radio_addr = ADDR_UNSET,
430 .audio_hook = avermedia_tvphone_audio, 430 .audio_hook = avermedia_tvphone_audio,
@@ -434,13 +434,13 @@ struct tvcard bttv_tvcards[] = {
434 .name = "MATRIX-Vision MV-Delta", 434 .name = "MATRIX-Vision MV-Delta",
435 .video_inputs = 5, 435 .video_inputs = 5,
436 .audio_inputs = 1, 436 .audio_inputs = 1,
437 .tuner = -1, 437 .tuner = UNSET,
438 .svhs = 3, 438 .svhs = 3,
439 .gpiomask = 0, 439 .gpiomask = 0,
440 .muxsel = { 2, 3, 1, 0, 0 }, 440 .muxsel = { 2, 3, 1, 0, 0 },
441 .gpiomux = { 0 }, 441 .gpiomux = { 0 },
442 .needs_tvaudio = 1, 442 .needs_tvaudio = 1,
443 .tuner_type = -1, 443 .tuner_type = UNSET,
444 .tuner_addr = ADDR_UNSET, 444 .tuner_addr = ADDR_UNSET,
445 .radio_addr = ADDR_UNSET, 445 .radio_addr = ADDR_UNSET,
446 }, 446 },
@@ -458,7 +458,7 @@ struct tvcard bttv_tvcards[] = {
458 .gpiomute = 0xc00, 458 .gpiomute = 0xc00,
459 .needs_tvaudio = 1, 459 .needs_tvaudio = 1,
460 .pll = PLL_28, 460 .pll = PLL_28,
461 .tuner_type = -1, 461 .tuner_type = UNSET,
462 .tuner_addr = ADDR_UNSET, 462 .tuner_addr = ADDR_UNSET,
463 .radio_addr = ADDR_UNSET, 463 .radio_addr = ADDR_UNSET,
464 }, 464 },
@@ -489,7 +489,7 @@ struct tvcard bttv_tvcards[] = {
489 .gpiomute = 4, 489 .gpiomute = 4,
490 .needs_tvaudio = 1, 490 .needs_tvaudio = 1,
491 .pll = PLL_28, 491 .pll = PLL_28,
492 .tuner_type = -1, 492 .tuner_type = UNSET,
493 .tuner_addr = ADDR_UNSET, 493 .tuner_addr = ADDR_UNSET,
494 .radio_addr = ADDR_UNSET, 494 .radio_addr = ADDR_UNSET,
495 }, 495 },
@@ -504,7 +504,7 @@ struct tvcard bttv_tvcards[] = {
504 .gpiomux = { 0x20001,0x10001, 0, 0 }, 504 .gpiomux = { 0x20001,0x10001, 0, 0 },
505 .gpiomute = 10, 505 .gpiomute = 10,
506 .needs_tvaudio = 1, 506 .needs_tvaudio = 1,
507 .tuner_type = -1, 507 .tuner_type = UNSET,
508 .tuner_addr = ADDR_UNSET, 508 .tuner_addr = ADDR_UNSET,
509 .radio_addr = ADDR_UNSET, 509 .radio_addr = ADDR_UNSET,
510 }, 510 },
@@ -520,7 +520,7 @@ struct tvcard bttv_tvcards[] = {
520 .muxsel = { 2, 3, 1, 1 }, 520 .muxsel = { 2, 3, 1, 1 },
521 .gpiomux = { 13, 14, 11, 7 }, 521 .gpiomux = { 13, 14, 11, 7 },
522 .needs_tvaudio = 1, 522 .needs_tvaudio = 1,
523 .tuner_type = -1, 523 .tuner_type = UNSET,
524 .tuner_addr = ADDR_UNSET, 524 .tuner_addr = ADDR_UNSET,
525 .radio_addr = ADDR_UNSET, 525 .radio_addr = ADDR_UNSET,
526 }, 526 },
@@ -554,7 +554,7 @@ struct tvcard bttv_tvcards[] = {
554 .gpiomute = 4, 554 .gpiomute = 4,
555 .needs_tvaudio = 1, 555 .needs_tvaudio = 1,
556 .pll = PLL_28, 556 .pll = PLL_28,
557 .tuner_type = -1, 557 .tuner_type = UNSET,
558 .tuner_addr = ADDR_UNSET, 558 .tuner_addr = ADDR_UNSET,
559 .radio_addr = ADDR_UNSET, 559 .radio_addr = ADDR_UNSET,
560 }, 560 },
@@ -569,7 +569,7 @@ struct tvcard bttv_tvcards[] = {
569 .gpiomux = { 0, 0, 1, 0 }, 569 .gpiomux = { 0, 0, 1, 0 },
570 .gpiomute = 10, 570 .gpiomute = 10,
571 .needs_tvaudio = 1, 571 .needs_tvaudio = 1,
572 .tuner_type = -1, 572 .tuner_type = UNSET,
573 .tuner_addr = ADDR_UNSET, 573 .tuner_addr = ADDR_UNSET,
574 .radio_addr = ADDR_UNSET, 574 .radio_addr = ADDR_UNSET,
575 }, 575 },
@@ -588,7 +588,7 @@ struct tvcard bttv_tvcards[] = {
588 .gpiomute = 0x002000, 588 .gpiomute = 0x002000,
589 .needs_tvaudio = 1, 589 .needs_tvaudio = 1,
590 .pll = PLL_28, 590 .pll = PLL_28,
591 .tuner_type = -1, 591 .tuner_type = UNSET,
592 }, 592 },
593 [BTTV_BOARD_WINVIEW_601] = { 593 [BTTV_BOARD_WINVIEW_601] = {
594 .name = "Leadtek WinView 601", 594 .name = "Leadtek WinView 601",
@@ -601,7 +601,7 @@ struct tvcard bttv_tvcards[] = {
601 .gpiomux = { 0x4fa007,0xcfa007,0xcfa007,0xcfa007 }, 601 .gpiomux = { 0x4fa007,0xcfa007,0xcfa007,0xcfa007 },
602 .gpiomute = 0xcfa007, 602 .gpiomute = 0xcfa007,
603 .needs_tvaudio = 1, 603 .needs_tvaudio = 1,
604 .tuner_type = -1, 604 .tuner_type = UNSET,
605 .tuner_addr = ADDR_UNSET, 605 .tuner_addr = ADDR_UNSET,
606 .radio_addr = ADDR_UNSET, 606 .radio_addr = ADDR_UNSET,
607 .audio_hook = winview_audio, 607 .audio_hook = winview_audio,
@@ -617,7 +617,7 @@ struct tvcard bttv_tvcards[] = {
617 .muxsel = { 2, 3, 1, 1 }, 617 .muxsel = { 2, 3, 1, 1 },
618 .gpiomux = { 1, 0, 0, 0 }, 618 .gpiomux = { 1, 0, 0, 0 },
619 .needs_tvaudio = 1, 619 .needs_tvaudio = 1,
620 .tuner_type = -1, 620 .tuner_type = UNSET,
621 .tuner_addr = ADDR_UNSET, 621 .tuner_addr = ADDR_UNSET,
622 .radio_addr = ADDR_UNSET, 622 .radio_addr = ADDR_UNSET,
623 }, 623 },
@@ -625,13 +625,13 @@ struct tvcard bttv_tvcards[] = {
625 .name = "Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only)", 625 .name = "Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only)",
626 .video_inputs = 4, 626 .video_inputs = 4,
627 .audio_inputs = 1, 627 .audio_inputs = 1,
628 .tuner = -1, 628 .tuner = UNSET,
629 .svhs = -1, 629 .svhs = UNSET,
630 .gpiomask = 0x8dff00, 630 .gpiomask = 0x8dff00,
631 .muxsel = { 2, 3, 1, 1 }, 631 .muxsel = { 2, 3, 1, 1 },
632 .gpiomux = { 0 }, 632 .gpiomux = { 0 },
633 .no_msp34xx = 1, 633 .no_msp34xx = 1,
634 .tuner_type = -1, 634 .tuner_type = UNSET,
635 .tuner_addr = ADDR_UNSET, 635 .tuner_addr = ADDR_UNSET,
636 .radio_addr = ADDR_UNSET, 636 .radio_addr = ADDR_UNSET,
637 }, 637 },
@@ -644,7 +644,7 @@ struct tvcard bttv_tvcards[] = {
644 .tuner = 0, 644 .tuner = 0,
645 .svhs = 2, 645 .svhs = 2,
646 .muxsel = { 2, 3, 1, 1 }, 646 .muxsel = { 2, 3, 1, 1 },
647 .tuner_type = -1, 647 .tuner_type = UNSET,
648 .tuner_addr = ADDR_UNSET, 648 .tuner_addr = ADDR_UNSET,
649 .radio_addr = ADDR_UNSET, 649 .radio_addr = ADDR_UNSET,
650 }, 650 },
@@ -675,7 +675,7 @@ struct tvcard bttv_tvcards[] = {
675 .gpiomute = 0xc00, 675 .gpiomute = 0xc00,
676 .needs_tvaudio = 1, 676 .needs_tvaudio = 1,
677 .pll = PLL_28, 677 .pll = PLL_28,
678 .tuner_type = -1, 678 .tuner_type = UNSET,
679 .tuner_addr = ADDR_UNSET, 679 .tuner_addr = ADDR_UNSET,
680 .radio_addr = ADDR_UNSET, 680 .radio_addr = ADDR_UNSET,
681 }, 681 },
@@ -684,7 +684,7 @@ struct tvcard bttv_tvcards[] = {
684 .video_inputs = 3, 684 .video_inputs = 3,
685 .audio_inputs = 1, 685 .audio_inputs = 1,
686 .tuner = 0, 686 .tuner = 0,
687 .svhs = -1, 687 .svhs = UNSET,
688 .gpiomask = 7, 688 .gpiomask = 7,
689 .muxsel = { 2, 3, -1 }, 689 .muxsel = { 2, 3, -1 },
690 .digital_mode = DIGITAL_MODE_CAMERA, 690 .digital_mode = DIGITAL_MODE_CAMERA,
@@ -709,7 +709,7 @@ struct tvcard bttv_tvcards[] = {
709 .gpiomute = 0xc00, 709 .gpiomute = 0xc00,
710 .needs_tvaudio = 1, 710 .needs_tvaudio = 1,
711 .pll = PLL_28, 711 .pll = PLL_28,
712 .tuner_type = -1, 712 .tuner_type = UNSET,
713 .tuner_addr = ADDR_UNSET, 713 .tuner_addr = ADDR_UNSET,
714 .radio_addr = ADDR_UNSET, 714 .radio_addr = ADDR_UNSET,
715 .has_remote = 1, 715 .has_remote = 1,
@@ -741,7 +741,7 @@ struct tvcard bttv_tvcards[] = {
741 .gpiomux = { 0, 1, 2, 3 }, 741 .gpiomux = { 0, 1, 2, 3 },
742 .gpiomute = 4, 742 .gpiomute = 4,
743 .needs_tvaudio = 1, 743 .needs_tvaudio = 1,
744 .tuner_type = -1, 744 .tuner_type = UNSET,
745 .tuner_addr = ADDR_UNSET, 745 .tuner_addr = ADDR_UNSET,
746 .radio_addr = ADDR_UNSET, 746 .radio_addr = ADDR_UNSET,
747 }, 747 },
@@ -814,13 +814,13 @@ struct tvcard bttv_tvcards[] = {
814 .name = "Imagenation PXC200", 814 .name = "Imagenation PXC200",
815 .video_inputs = 5, 815 .video_inputs = 5,
816 .audio_inputs = 1, 816 .audio_inputs = 1,
817 .tuner = -1, 817 .tuner = UNSET,
818 .svhs = 1, /* was: 4 */ 818 .svhs = 1, /* was: 4 */
819 .gpiomask = 0, 819 .gpiomask = 0,
820 .muxsel = { 2, 3, 1, 0, 0}, 820 .muxsel = { 2, 3, 1, 0, 0},
821 .gpiomux = { 0 }, 821 .gpiomux = { 0 },
822 .needs_tvaudio = 1, 822 .needs_tvaudio = 1,
823 .tuner_type = -1, 823 .tuner_type = UNSET,
824 .tuner_addr = ADDR_UNSET, 824 .tuner_addr = ADDR_UNSET,
825 .radio_addr = ADDR_UNSET, 825 .radio_addr = ADDR_UNSET,
826 .muxsel_hook = PXC200_muxsel, 826 .muxsel_hook = PXC200_muxsel,
@@ -837,7 +837,7 @@ struct tvcard bttv_tvcards[] = {
837 .gpiomux = { 0, 0x0800, 0x1000, 0x1000 }, 837 .gpiomux = { 0, 0x0800, 0x1000, 0x1000 },
838 .gpiomute = 0x1800, 838 .gpiomute = 0x1800,
839 .pll = PLL_28, 839 .pll = PLL_28,
840 .tuner_type = -1, 840 .tuner_type = UNSET,
841 .tuner_addr = ADDR_UNSET, 841 .tuner_addr = ADDR_UNSET,
842 .radio_addr = ADDR_UNSET, 842 .radio_addr = ADDR_UNSET,
843 }, 843 },
@@ -861,13 +861,13 @@ struct tvcard bttv_tvcards[] = {
861 .name = "Intel Create and Share PCI/ Smart Video Recorder III", 861 .name = "Intel Create and Share PCI/ Smart Video Recorder III",
862 .video_inputs = 4, 862 .video_inputs = 4,
863 .audio_inputs = 0, 863 .audio_inputs = 0,
864 .tuner = -1, 864 .tuner = UNSET,
865 .svhs = 2, 865 .svhs = 2,
866 .gpiomask = 0, 866 .gpiomask = 0,
867 .muxsel = { 2, 3, 1, 1 }, 867 .muxsel = { 2, 3, 1, 1 },
868 .gpiomux = { 0 }, 868 .gpiomux = { 0 },
869 .needs_tvaudio = 0, 869 .needs_tvaudio = 0,
870 .tuner_type = 4, 870 .tuner_type = TUNER_ABSENT,
871 .tuner_addr = ADDR_UNSET, 871 .tuner_addr = ADDR_UNSET,
872 .radio_addr = ADDR_UNSET, 872 .radio_addr = ADDR_UNSET,
873 }, 873 },
@@ -912,7 +912,7 @@ struct tvcard bttv_tvcards[] = {
912 .needs_tvaudio = 0, 912 .needs_tvaudio = 0,
913 .pll = PLL_28, 913 .pll = PLL_28,
914 .has_radio = 1, 914 .has_radio = 1,
915 .tuner_type = 5, /* default for now, gpio reads BFFF06 for Pal bg+dk */ 915 .tuner_type = TUNER_PHILIPS_PAL, /* default for now, gpio reads BFFF06 for Pal bg+dk */
916 .tuner_addr = ADDR_UNSET, 916 .tuner_addr = ADDR_UNSET,
917 .radio_addr = ADDR_UNSET, 917 .radio_addr = ADDR_UNSET,
918 .audio_hook = winfast2000_audio, 918 .audio_hook = winfast2000_audio,
@@ -929,7 +929,7 @@ struct tvcard bttv_tvcards[] = {
929 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 929 .gpiomux = { 0, 0x800, 0x1000, 0x1000 },
930 .gpiomute = 0x1800, 930 .gpiomute = 0x1800,
931 .pll = PLL_28, 931 .pll = PLL_28,
932 .tuner_type = -1, 932 .tuner_type = UNSET,
933 .tuner_addr = ADDR_UNSET, 933 .tuner_addr = ADDR_UNSET,
934 .radio_addr = ADDR_UNSET, 934 .radio_addr = ADDR_UNSET,
935 }, 935 },
@@ -946,7 +946,7 @@ struct tvcard bttv_tvcards[] = {
946 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 946 .gpiomux = { 0, 0x800, 0x1000, 0x1000 },
947 .gpiomute = 0x1800, 947 .gpiomute = 0x1800,
948 .pll = PLL_28, 948 .pll = PLL_28,
949 .tuner_type = -1, 949 .tuner_type = UNSET,
950 .tuner_addr = ADDR_UNSET, 950 .tuner_addr = ADDR_UNSET,
951 .radio_addr = ADDR_UNSET, 951 .radio_addr = ADDR_UNSET,
952 .has_radio = 1, 952 .has_radio = 1,
@@ -963,7 +963,7 @@ struct tvcard bttv_tvcards[] = {
963 .gpiomute = 0x29, 963 .gpiomute = 0x29,
964 .no_msp34xx = 1, 964 .no_msp34xx = 1,
965 .pll = PLL_28, 965 .pll = PLL_28,
966 .tuner_type = -1, 966 .tuner_type = UNSET,
967 .tuner_addr = ADDR_UNSET, 967 .tuner_addr = ADDR_UNSET,
968 .radio_addr = ADDR_UNSET, 968 .radio_addr = ADDR_UNSET,
969 }, 969 },
@@ -979,7 +979,7 @@ struct tvcard bttv_tvcards[] = {
979 .gpiomute = 0x551c00, 979 .gpiomute = 0x551c00,
980 .needs_tvaudio = 1, 980 .needs_tvaudio = 1,
981 .pll = PLL_28, 981 .pll = PLL_28,
982 .tuner_type = 1, 982 .tuner_type = TUNER_PHILIPS_PAL_I,
983 .tuner_addr = ADDR_UNSET, 983 .tuner_addr = ADDR_UNSET,
984 .radio_addr = ADDR_UNSET, 984 .radio_addr = ADDR_UNSET,
985 .has_remote = 1, 985 .has_remote = 1,
@@ -996,7 +996,7 @@ struct tvcard bttv_tvcards[] = {
996 .gpiomute = 1, 996 .gpiomute = 1,
997 .needs_tvaudio = 0, 997 .needs_tvaudio = 0,
998 .pll = PLL_28, 998 .pll = PLL_28,
999 .tuner_type = -1, 999 .tuner_type = UNSET,
1000 .tuner_addr = ADDR_UNSET, 1000 .tuner_addr = ADDR_UNSET,
1001 .radio_addr = ADDR_UNSET, 1001 .radio_addr = ADDR_UNSET,
1002 }, 1002 },
@@ -1031,7 +1031,7 @@ struct tvcard bttv_tvcards[] = {
1031 .gpiomux = { 13, 4, 11, 7 }, 1031 .gpiomux = { 13, 4, 11, 7 },
1032 .needs_tvaudio = 1, 1032 .needs_tvaudio = 1,
1033 .pll = PLL_28, 1033 .pll = PLL_28,
1034 .tuner_type = -1, 1034 .tuner_type = UNSET,
1035 .tuner_addr = ADDR_UNSET, 1035 .tuner_addr = ADDR_UNSET,
1036 .radio_addr = ADDR_UNSET, 1036 .radio_addr = ADDR_UNSET,
1037 .has_radio = 1, 1037 .has_radio = 1,
@@ -1049,7 +1049,7 @@ struct tvcard bttv_tvcards[] = {
1049 .needs_tvaudio = 1, 1049 .needs_tvaudio = 1,
1050 .no_msp34xx = 1, 1050 .no_msp34xx = 1,
1051 .pll = PLL_28, 1051 .pll = PLL_28,
1052 .tuner_type = 1, 1052 .tuner_type = TUNER_PHILIPS_PAL_I,
1053 .tuner_addr = ADDR_UNSET, 1053 .tuner_addr = ADDR_UNSET,
1054 .radio_addr = ADDR_UNSET, 1054 .radio_addr = ADDR_UNSET,
1055 }, 1055 },
@@ -1064,7 +1064,7 @@ struct tvcard bttv_tvcards[] = {
1064 .gpiomux = { 0xff9ff6, 0xff9ff6, 0xff1ff7, 0 }, 1064 .gpiomux = { 0xff9ff6, 0xff9ff6, 0xff1ff7, 0 },
1065 .gpiomute = 0xff3ffc, 1065 .gpiomute = 0xff3ffc,
1066 .no_msp34xx = 1, 1066 .no_msp34xx = 1,
1067 .tuner_type = -1, 1067 .tuner_type = UNSET,
1068 .tuner_addr = ADDR_UNSET, 1068 .tuner_addr = ADDR_UNSET,
1069 .radio_addr = ADDR_UNSET, 1069 .radio_addr = ADDR_UNSET,
1070 }, 1070 },
@@ -1075,14 +1075,14 @@ struct tvcard bttv_tvcards[] = {
1075 .video_inputs = 2, 1075 .video_inputs = 2,
1076 .audio_inputs = 1, 1076 .audio_inputs = 1,
1077 .tuner = 0, 1077 .tuner = 0,
1078 .svhs = -1, 1078 .svhs = UNSET,
1079 .gpiomask = 3, 1079 .gpiomask = 3,
1080 .muxsel = { 2, 3, 1, 1 }, 1080 .muxsel = { 2, 3, 1, 1 },
1081 .gpiomux = { 1, 1, 0, 2 }, 1081 .gpiomux = { 1, 1, 0, 2 },
1082 .gpiomute = 3, 1082 .gpiomute = 3,
1083 .no_msp34xx = 1, 1083 .no_msp34xx = 1,
1084 .pll = PLL_NONE, 1084 .pll = PLL_NONE,
1085 .tuner_type = -1, 1085 .tuner_type = UNSET,
1086 .tuner_addr = ADDR_UNSET, 1086 .tuner_addr = ADDR_UNSET,
1087 .radio_addr = ADDR_UNSET, 1087 .radio_addr = ADDR_UNSET,
1088 }, 1088 },
@@ -1090,14 +1090,14 @@ struct tvcard bttv_tvcards[] = {
1090 .name = "MATRIX-Vision MV-Delta 2", 1090 .name = "MATRIX-Vision MV-Delta 2",
1091 .video_inputs = 5, 1091 .video_inputs = 5,
1092 .audio_inputs = 1, 1092 .audio_inputs = 1,
1093 .tuner = -1, 1093 .tuner = UNSET,
1094 .svhs = 3, 1094 .svhs = 3,
1095 .gpiomask = 0, 1095 .gpiomask = 0,
1096 .muxsel = { 2, 3, 1, 0, 0 }, 1096 .muxsel = { 2, 3, 1, 0, 0 },
1097 .gpiomux = { 0 }, 1097 .gpiomux = { 0 },
1098 .no_msp34xx = 1, 1098 .no_msp34xx = 1,
1099 .pll = PLL_28, 1099 .pll = PLL_28,
1100 .tuner_type = -1, 1100 .tuner_type = UNSET,
1101 .tuner_addr = ADDR_UNSET, 1101 .tuner_addr = ADDR_UNSET,
1102 .radio_addr = ADDR_UNSET, 1102 .radio_addr = ADDR_UNSET,
1103 }, 1103 },
@@ -1113,7 +1113,7 @@ struct tvcard bttv_tvcards[] = {
1113 .gpiomute = 0xbcb03f, 1113 .gpiomute = 0xbcb03f,
1114 .no_msp34xx = 1, 1114 .no_msp34xx = 1,
1115 .pll = PLL_28, 1115 .pll = PLL_28,
1116 .tuner_type = 21, 1116 .tuner_type = TUNER_TEMIC_4039FR5_NTSC,
1117 .tuner_addr = ADDR_UNSET, 1117 .tuner_addr = ADDR_UNSET,
1118 .radio_addr = ADDR_UNSET, 1118 .radio_addr = ADDR_UNSET,
1119 }, 1119 },
@@ -1130,7 +1130,7 @@ struct tvcard bttv_tvcards[] = {
1130 .needs_tvaudio = 1, 1130 .needs_tvaudio = 1,
1131 .no_msp34xx = 1, 1131 .no_msp34xx = 1,
1132 .pll = PLL_35, 1132 .pll = PLL_35,
1133 .tuner_type = 1, 1133 .tuner_type = TUNER_PHILIPS_PAL_I,
1134 .tuner_addr = ADDR_UNSET, 1134 .tuner_addr = ADDR_UNSET,
1135 .radio_addr = ADDR_UNSET, 1135 .radio_addr = ADDR_UNSET,
1136 .has_radio = 1, 1136 .has_radio = 1,
@@ -1149,7 +1149,7 @@ struct tvcard bttv_tvcards[] = {
1149 .gpiomute = 1, 1149 .gpiomute = 1,
1150 .needs_tvaudio = 1, 1150 .needs_tvaudio = 1,
1151 .pll = PLL_28, 1151 .pll = PLL_28,
1152 .tuner_type = -1, 1152 .tuner_type = UNSET,
1153 .tuner_addr = ADDR_UNSET, 1153 .tuner_addr = ADDR_UNSET,
1154 .radio_addr = ADDR_UNSET, 1154 .radio_addr = ADDR_UNSET,
1155 }, 1155 },
@@ -1207,7 +1207,7 @@ struct tvcard bttv_tvcards[] = {
1207 .gpiomux = { 0, 1, 2, 3 }, 1207 .gpiomux = { 0, 1, 2, 3 },
1208 .gpiomute = 4, 1208 .gpiomute = 4,
1209 .pll = PLL_28, 1209 .pll = PLL_28,
1210 .tuner_type = -1 /* TUNER_ALPS_TMDH2_NTSC */, 1210 .tuner_type = UNSET /* TUNER_ALPS_TMDH2_NTSC */,
1211 .tuner_addr = ADDR_UNSET, 1211 .tuner_addr = ADDR_UNSET,
1212 .radio_addr = ADDR_UNSET, 1212 .radio_addr = ADDR_UNSET,
1213 }, 1213 },
@@ -1235,7 +1235,7 @@ struct tvcard bttv_tvcards[] = {
1235 1= FM stereo Radio from Tuner */ 1235 1= FM stereo Radio from Tuner */
1236 .needs_tvaudio = 0, 1236 .needs_tvaudio = 0,
1237 .pll = PLL_28, 1237 .pll = PLL_28,
1238 .tuner_type = -1, 1238 .tuner_type = UNSET,
1239 .tuner_addr = ADDR_UNSET, 1239 .tuner_addr = ADDR_UNSET,
1240 .radio_addr = ADDR_UNSET, 1240 .radio_addr = ADDR_UNSET,
1241 }, 1241 },
@@ -1278,7 +1278,7 @@ struct tvcard bttv_tvcards[] = {
1278 0x0080: Tuner A2 SAP (second audio program = Zweikanalton) 1278 0x0080: Tuner A2 SAP (second audio program = Zweikanalton)
1279 0x0880: Tuner A2 stereo */ 1279 0x0880: Tuner A2 stereo */
1280 .pll = PLL_28, 1280 .pll = PLL_28,
1281 .tuner_type = -1, 1281 .tuner_type = UNSET,
1282 .tuner_addr = ADDR_UNSET, 1282 .tuner_addr = ADDR_UNSET,
1283 .radio_addr = ADDR_UNSET, 1283 .radio_addr = ADDR_UNSET,
1284 }, 1284 },
@@ -1314,7 +1314,7 @@ struct tvcard bttv_tvcards[] = {
1314 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 1314 .gpiomux = { 0, 0x800, 0x1000, 0x1000 },
1315 .gpiomute = 0x1800, 1315 .gpiomute = 0x1800,
1316 .pll = PLL_28, 1316 .pll = PLL_28,
1317 .tuner_type = 5, 1317 .tuner_type = TUNER_PHILIPS_PAL,
1318 .tuner_addr = ADDR_UNSET, 1318 .tuner_addr = ADDR_UNSET,
1319 .radio_addr = ADDR_UNSET, 1319 .radio_addr = ADDR_UNSET,
1320 }, 1320 },
@@ -1325,7 +1325,7 @@ struct tvcard bttv_tvcards[] = {
1325 .name = "GrandTec 'Grand Video Capture' (Bt848)", 1325 .name = "GrandTec 'Grand Video Capture' (Bt848)",
1326 .video_inputs = 2, 1326 .video_inputs = 2,
1327 .audio_inputs = 0, 1327 .audio_inputs = 0,
1328 .tuner = -1, 1328 .tuner = UNSET,
1329 .svhs = 1, 1329 .svhs = 1,
1330 .gpiomask = 0, 1330 .gpiomask = 0,
1331 .muxsel = { 3, 1 }, 1331 .muxsel = { 3, 1 },
@@ -1333,7 +1333,7 @@ struct tvcard bttv_tvcards[] = {
1333 .needs_tvaudio = 0, 1333 .needs_tvaudio = 0,
1334 .no_msp34xx = 1, 1334 .no_msp34xx = 1,
1335 .pll = PLL_35, 1335 .pll = PLL_35,
1336 .tuner_type = -1, 1336 .tuner_type = UNSET,
1337 .tuner_addr = ADDR_UNSET, 1337 .tuner_addr = ADDR_UNSET,
1338 .radio_addr = ADDR_UNSET, 1338 .radio_addr = ADDR_UNSET,
1339 }, 1339 },
@@ -1366,7 +1366,7 @@ struct tvcard bttv_tvcards[] = {
1366 .gpiomux = { 2, 0, 0, 0 }, 1366 .gpiomux = { 2, 0, 0, 0 },
1367 .gpiomute = 1, 1367 .gpiomute = 1,
1368 .pll = PLL_28, 1368 .pll = PLL_28,
1369 .tuner_type = 0, 1369 .tuner_type = TUNER_TEMIC_PAL,
1370 .tuner_addr = ADDR_UNSET, 1370 .tuner_addr = ADDR_UNSET,
1371 .radio_addr = ADDR_UNSET, 1371 .radio_addr = ADDR_UNSET,
1372 }, 1372 },
@@ -1378,7 +1378,7 @@ struct tvcard bttv_tvcards[] = {
1378 .video_inputs = 2, 1378 .video_inputs = 2,
1379 .audio_inputs = 2, 1379 .audio_inputs = 2,
1380 .tuner = 0, 1380 .tuner = 0,
1381 .svhs = -1, 1381 .svhs = UNSET,
1382 .gpiomask = 11, 1382 .gpiomask = 11,
1383 .muxsel = { 2, 3, 1, 1 }, 1383 .muxsel = { 2, 3, 1, 1 },
1384 .gpiomux = { 2, 0, 0, 1 }, 1384 .gpiomux = { 2, 0, 0, 1 },
@@ -1393,7 +1393,7 @@ struct tvcard bttv_tvcards[] = {
1393 .name = "AG Electronics GMV1", 1393 .name = "AG Electronics GMV1",
1394 .video_inputs = 2, 1394 .video_inputs = 2,
1395 .audio_inputs = 0, 1395 .audio_inputs = 0,
1396 .tuner = -1, 1396 .tuner = UNSET,
1397 .svhs = 1, 1397 .svhs = 1,
1398 .gpiomask = 0xF, 1398 .gpiomask = 0xF,
1399 .muxsel = { 2, 2 }, 1399 .muxsel = { 2, 2 },
@@ -1401,7 +1401,7 @@ struct tvcard bttv_tvcards[] = {
1401 .no_msp34xx = 1, 1401 .no_msp34xx = 1,
1402 .needs_tvaudio = 0, 1402 .needs_tvaudio = 0,
1403 .pll = PLL_28, 1403 .pll = PLL_28,
1404 .tuner_type = -1, 1404 .tuner_type = UNSET,
1405 .tuner_addr = ADDR_UNSET, 1405 .tuner_addr = ADDR_UNSET,
1406 .radio_addr = ADDR_UNSET, 1406 .radio_addr = ADDR_UNSET,
1407 }, 1407 },
@@ -1448,7 +1448,7 @@ struct tvcard bttv_tvcards[] = {
1448 .video_inputs = 2, 1448 .video_inputs = 2,
1449 .audio_inputs = 1, 1449 .audio_inputs = 1,
1450 .tuner = 0, 1450 .tuner = 0,
1451 .svhs = -1, 1451 .svhs = UNSET,
1452 .gpiomask = 1, 1452 .gpiomask = 1,
1453 .muxsel = { 2, 3, 0, 1 }, 1453 .muxsel = { 2, 3, 0, 1 },
1454 .gpiomux = { 0, 0, 1, 0 }, 1454 .gpiomux = { 0, 0, 1, 0 },
@@ -1477,7 +1477,7 @@ struct tvcard bttv_tvcards[] = {
1477 .no_tda9875 = 1, 1477 .no_tda9875 = 1,
1478 .needs_tvaudio = 1, 1478 .needs_tvaudio = 1,
1479 .pll = PLL_28, 1479 .pll = PLL_28,
1480 .tuner_type = 5, 1480 .tuner_type = TUNER_PHILIPS_PAL,
1481 .tuner_addr = ADDR_UNSET, 1481 .tuner_addr = ADDR_UNSET,
1482 .radio_addr = ADDR_UNSET, 1482 .radio_addr = ADDR_UNSET,
1483 }, 1483 },
@@ -1524,7 +1524,7 @@ struct tvcard bttv_tvcards[] = {
1524 .video_inputs = 4, 1524 .video_inputs = 4,
1525 .audio_inputs = 1, 1525 .audio_inputs = 1,
1526 .tuner = 0, 1526 .tuner = 0,
1527 .svhs = -1, 1527 .svhs = UNSET,
1528 .gpiomask = 0x4f8a00, 1528 .gpiomask = 0x4f8a00,
1529 /* 0x100000: 1=MSP enabled (0=disable again) 1529 /* 0x100000: 1=MSP enabled (0=disable again)
1530 * 0x010000: Connected to "S0" on tda9880 (0=Pal/BG, 1=NTSC) */ 1530 * 0x010000: Connected to "S0" on tda9880 (0=Pal/BG, 1=NTSC) */
@@ -1546,7 +1546,7 @@ struct tvcard bttv_tvcards[] = {
1546 .video_inputs = 4, 1546 .video_inputs = 4,
1547 .audio_inputs = 1, 1547 .audio_inputs = 1,
1548 .tuner = 0, 1548 .tuner = 0,
1549 .svhs = -1, 1549 .svhs = UNSET,
1550 .gpiomask = 0x4f8a00, 1550 .gpiomask = 0x4f8a00,
1551 /* 0x100000: 1=MSP enabled (0=disable again) 1551 /* 0x100000: 1=MSP enabled (0=disable again)
1552 * 0x010000: Connected to "S0" on tda9880 (0=Pal/BG, 1=NTSC) */ 1552 * 0x010000: Connected to "S0" on tda9880 (0=Pal/BG, 1=NTSC) */
@@ -1566,8 +1566,8 @@ struct tvcard bttv_tvcards[] = {
1566 .name = "Active Imaging AIMMS", 1566 .name = "Active Imaging AIMMS",
1567 .video_inputs = 1, 1567 .video_inputs = 1,
1568 .audio_inputs = 0, 1568 .audio_inputs = 0,
1569 .tuner = -1, 1569 .tuner = UNSET,
1570 .tuner_type = -1, 1570 .tuner_type = UNSET,
1571 .tuner_addr = ADDR_UNSET, 1571 .tuner_addr = ADDR_UNSET,
1572 .radio_addr = ADDR_UNSET, 1572 .radio_addr = ADDR_UNSET,
1573 .pll = PLL_28, 1573 .pll = PLL_28,
@@ -1587,7 +1587,7 @@ struct tvcard bttv_tvcards[] = {
1587 .gpiomute = 13, 1587 .gpiomute = 13,
1588 .needs_tvaudio = 1, 1588 .needs_tvaudio = 1,
1589 .pll = PLL_28, 1589 .pll = PLL_28,
1590 .tuner_type = 25, 1590 .tuner_type = TUNER_LG_PAL_I_FM,
1591 .tuner_addr = ADDR_UNSET, 1591 .tuner_addr = ADDR_UNSET,
1592 .radio_addr = ADDR_UNSET, 1592 .radio_addr = ADDR_UNSET,
1593 .has_remote = 1, 1593 .has_remote = 1,
@@ -1603,7 +1603,7 @@ struct tvcard bttv_tvcards[] = {
1603 .name = "Lifeview FlyVideo 98EZ (capture only) LR51", 1603 .name = "Lifeview FlyVideo 98EZ (capture only) LR51",
1604 .video_inputs = 4, 1604 .video_inputs = 4,
1605 .audio_inputs = 0, 1605 .audio_inputs = 0,
1606 .tuner = -1, 1606 .tuner = UNSET,
1607 .svhs = 2, 1607 .svhs = 2,
1608 .muxsel = { 2, 3, 1, 1 }, /* AV1, AV2, SVHS, CVid adapter on SVHS */ 1608 .muxsel = { 2, 3, 1, 1 }, /* AV1, AV2, SVHS, CVid adapter on SVHS */
1609 .pll = PLL_28, 1609 .pll = PLL_28,
@@ -1629,7 +1629,7 @@ struct tvcard bttv_tvcards[] = {
1629 .no_msp34xx = 1, 1629 .no_msp34xx = 1,
1630 .no_tda9875 = 1, 1630 .no_tda9875 = 1,
1631 .pll = PLL_28, 1631 .pll = PLL_28,
1632 .tuner_type = 5, 1632 .tuner_type = TUNER_PHILIPS_PAL,
1633 .tuner_addr = ADDR_UNSET, 1633 .tuner_addr = ADDR_UNSET,
1634 .radio_addr = ADDR_UNSET, 1634 .radio_addr = ADDR_UNSET,
1635 .audio_hook = pvbt878p9b_audio, /* Note: not all cards have stereo */ 1635 .audio_hook = pvbt878p9b_audio, /* Note: not all cards have stereo */
@@ -1649,13 +1649,13 @@ struct tvcard bttv_tvcards[] = {
1649 .name = "Sensoray 311", 1649 .name = "Sensoray 311",
1650 .video_inputs = 5, 1650 .video_inputs = 5,
1651 .audio_inputs = 0, 1651 .audio_inputs = 0,
1652 .tuner = -1, 1652 .tuner = UNSET,
1653 .svhs = 4, 1653 .svhs = 4,
1654 .gpiomask = 0, 1654 .gpiomask = 0,
1655 .muxsel = { 2, 3, 1, 0, 0 }, 1655 .muxsel = { 2, 3, 1, 0, 0 },
1656 .gpiomux = { 0 }, 1656 .gpiomux = { 0 },
1657 .needs_tvaudio = 0, 1657 .needs_tvaudio = 0,
1658 .tuner_type = -1, 1658 .tuner_type = UNSET,
1659 .tuner_addr = ADDR_UNSET, 1659 .tuner_addr = ADDR_UNSET,
1660 .radio_addr = ADDR_UNSET, 1660 .radio_addr = ADDR_UNSET,
1661 }, 1661 },
@@ -1664,15 +1664,15 @@ struct tvcard bttv_tvcards[] = {
1664 .name = "RemoteVision MX (RV605)", 1664 .name = "RemoteVision MX (RV605)",
1665 .video_inputs = 16, 1665 .video_inputs = 16,
1666 .audio_inputs = 0, 1666 .audio_inputs = 0,
1667 .tuner = -1, 1667 .tuner = UNSET,
1668 .svhs = -1, 1668 .svhs = UNSET,
1669 .gpiomask = 0x00, 1669 .gpiomask = 0x00,
1670 .gpiomask2 = 0x07ff, 1670 .gpiomask2 = 0x07ff,
1671 .muxsel = { 0x33, 0x13, 0x23, 0x43, 0xf3, 0x73, 0xe3, 0x03, 1671 .muxsel = { 0x33, 0x13, 0x23, 0x43, 0xf3, 0x73, 0xe3, 0x03,
1672 0xd3, 0xb3, 0xc3, 0x63, 0x93, 0x53, 0x83, 0xa3 }, 1672 0xd3, 0xb3, 0xc3, 0x63, 0x93, 0x53, 0x83, 0xa3 },
1673 .no_msp34xx = 1, 1673 .no_msp34xx = 1,
1674 .no_tda9875 = 1, 1674 .no_tda9875 = 1,
1675 .tuner_type = -1, 1675 .tuner_type = UNSET,
1676 .tuner_addr = ADDR_UNSET, 1676 .tuner_addr = ADDR_UNSET,
1677 .radio_addr = ADDR_UNSET, 1677 .radio_addr = ADDR_UNSET,
1678 .muxsel_hook = rv605_muxsel, 1678 .muxsel_hook = rv605_muxsel,
@@ -1716,15 +1716,15 @@ struct tvcard bttv_tvcards[] = {
1716 .name = "GrandTec Multi Capture Card (Bt878)", 1716 .name = "GrandTec Multi Capture Card (Bt878)",
1717 .video_inputs = 4, 1717 .video_inputs = 4,
1718 .audio_inputs = 0, 1718 .audio_inputs = 0,
1719 .tuner = -1, 1719 .tuner = UNSET,
1720 .svhs = -1, 1720 .svhs = UNSET,
1721 .gpiomask = 0, 1721 .gpiomask = 0,
1722 .muxsel = { 2, 3, 1, 0 }, 1722 .muxsel = { 2, 3, 1, 0 },
1723 .gpiomux = { 0 }, 1723 .gpiomux = { 0 },
1724 .needs_tvaudio = 0, 1724 .needs_tvaudio = 0,
1725 .no_msp34xx = 1, 1725 .no_msp34xx = 1,
1726 .pll = PLL_28, 1726 .pll = PLL_28,
1727 .tuner_type = -1, 1727 .tuner_type = UNSET,
1728 .tuner_addr = ADDR_UNSET, 1728 .tuner_addr = ADDR_UNSET,
1729 .radio_addr = ADDR_UNSET, 1729 .radio_addr = ADDR_UNSET,
1730 }, 1730 },
@@ -1747,7 +1747,7 @@ struct tvcard bttv_tvcards[] = {
1747 .needs_tvaudio = 0, 1747 .needs_tvaudio = 0,
1748 .no_msp34xx = 1, 1748 .no_msp34xx = 1,
1749 .pll = PLL_28, 1749 .pll = PLL_28,
1750 .tuner_type = 5, 1750 .tuner_type = TUNER_PHILIPS_PAL,
1751 .tuner_addr = ADDR_UNSET, 1751 .tuner_addr = ADDR_UNSET,
1752 .radio_addr = ADDR_UNSET, 1752 .radio_addr = ADDR_UNSET,
1753 /* Samsung TCPA9095PC27A (BG+DK), philips compatible, w/FM, stereo and 1753 /* Samsung TCPA9095PC27A (BG+DK), philips compatible, w/FM, stereo and
@@ -1767,10 +1767,10 @@ struct tvcard bttv_tvcards[] = {
1767 /* Arthur Tetzlaff-Deas, DSP Design Ltd <software@dspdesign.com> */ 1767 /* Arthur Tetzlaff-Deas, DSP Design Ltd <software@dspdesign.com> */
1768 .name = "DSP Design TCVIDEO", 1768 .name = "DSP Design TCVIDEO",
1769 .video_inputs = 4, 1769 .video_inputs = 4,
1770 .svhs = -1, 1770 .svhs = UNSET,
1771 .muxsel = { 2, 3, 1, 0 }, 1771 .muxsel = { 2, 3, 1, 0 },
1772 .pll = PLL_28, 1772 .pll = PLL_28,
1773 .tuner_type = -1, 1773 .tuner_type = UNSET,
1774 .tuner_addr = ADDR_UNSET, 1774 .tuner_addr = ADDR_UNSET,
1775 .radio_addr = ADDR_UNSET, 1775 .radio_addr = ADDR_UNSET,
1776 }, 1776 },
@@ -1785,7 +1785,7 @@ struct tvcard bttv_tvcards[] = {
1785 .muxsel = { 2, 0, 1, 1 }, 1785 .muxsel = { 2, 0, 1, 1 },
1786 .needs_tvaudio = 1, 1786 .needs_tvaudio = 1,
1787 .pll = PLL_28, 1787 .pll = PLL_28,
1788 .tuner_type = -1, 1788 .tuner_type = UNSET,
1789 .tuner_addr = ADDR_UNSET, 1789 .tuner_addr = ADDR_UNSET,
1790 .radio_addr = ADDR_UNSET, 1790 .radio_addr = ADDR_UNSET,
1791 1791
@@ -1814,11 +1814,11 @@ struct tvcard bttv_tvcards[] = {
1814 .name = "Osprey 100/150 (878)", /* 0x1(2|3)-45C6-C1 */ 1814 .name = "Osprey 100/150 (878)", /* 0x1(2|3)-45C6-C1 */
1815 .video_inputs = 4, /* id-inputs-clock */ 1815 .video_inputs = 4, /* id-inputs-clock */
1816 .audio_inputs = 0, 1816 .audio_inputs = 0,
1817 .tuner = -1, 1817 .tuner = UNSET,
1818 .svhs = 3, 1818 .svhs = 3,
1819 .muxsel = { 3, 2, 0, 1 }, 1819 .muxsel = { 3, 2, 0, 1 },
1820 .pll = PLL_28, 1820 .pll = PLL_28,
1821 .tuner_type = -1, 1821 .tuner_type = UNSET,
1822 .tuner_addr = ADDR_UNSET, 1822 .tuner_addr = ADDR_UNSET,
1823 .radio_addr = ADDR_UNSET, 1823 .radio_addr = ADDR_UNSET,
1824 .no_msp34xx = 1, 1824 .no_msp34xx = 1,
@@ -1829,11 +1829,11 @@ struct tvcard bttv_tvcards[] = {
1829 .name = "Osprey 100/150 (848)", /* 0x04-54C0-C1 & older boards */ 1829 .name = "Osprey 100/150 (848)", /* 0x04-54C0-C1 & older boards */
1830 .video_inputs = 3, 1830 .video_inputs = 3,
1831 .audio_inputs = 0, 1831 .audio_inputs = 0,
1832 .tuner = -1, 1832 .tuner = UNSET,
1833 .svhs = 2, 1833 .svhs = 2,
1834 .muxsel = { 2, 3, 1 }, 1834 .muxsel = { 2, 3, 1 },
1835 .pll = PLL_28, 1835 .pll = PLL_28,
1836 .tuner_type = -1, 1836 .tuner_type = UNSET,
1837 .tuner_addr = ADDR_UNSET, 1837 .tuner_addr = ADDR_UNSET,
1838 .radio_addr = ADDR_UNSET, 1838 .radio_addr = ADDR_UNSET,
1839 .no_msp34xx = 1, 1839 .no_msp34xx = 1,
@@ -1846,11 +1846,11 @@ struct tvcard bttv_tvcards[] = {
1846 .name = "Osprey 101 (848)", /* 0x05-40C0-C1 */ 1846 .name = "Osprey 101 (848)", /* 0x05-40C0-C1 */
1847 .video_inputs = 2, 1847 .video_inputs = 2,
1848 .audio_inputs = 0, 1848 .audio_inputs = 0,
1849 .tuner = -1, 1849 .tuner = UNSET,
1850 .svhs = 1, 1850 .svhs = 1,
1851 .muxsel = { 3, 1 }, 1851 .muxsel = { 3, 1 },
1852 .pll = PLL_28, 1852 .pll = PLL_28,
1853 .tuner_type = -1, 1853 .tuner_type = UNSET,
1854 .tuner_addr = ADDR_UNSET, 1854 .tuner_addr = ADDR_UNSET,
1855 .radio_addr = ADDR_UNSET, 1855 .radio_addr = ADDR_UNSET,
1856 .no_msp34xx = 1, 1856 .no_msp34xx = 1,
@@ -1861,11 +1861,11 @@ struct tvcard bttv_tvcards[] = {
1861 .name = "Osprey 101/151", /* 0x1(4|5)-0004-C4 */ 1861 .name = "Osprey 101/151", /* 0x1(4|5)-0004-C4 */
1862 .video_inputs = 1, 1862 .video_inputs = 1,
1863 .audio_inputs = 0, 1863 .audio_inputs = 0,
1864 .tuner = -1, 1864 .tuner = UNSET,
1865 .svhs = -1, 1865 .svhs = UNSET,
1866 .muxsel = { 0 }, 1866 .muxsel = { 0 },
1867 .pll = PLL_28, 1867 .pll = PLL_28,
1868 .tuner_type = -1, 1868 .tuner_type = UNSET,
1869 .tuner_addr = ADDR_UNSET, 1869 .tuner_addr = ADDR_UNSET,
1870 .radio_addr = ADDR_UNSET, 1870 .radio_addr = ADDR_UNSET,
1871 .no_msp34xx = 1, 1871 .no_msp34xx = 1,
@@ -1876,11 +1876,11 @@ struct tvcard bttv_tvcards[] = {
1876 .name = "Osprey 101/151 w/ svid", /* 0x(16|17|20)-00C4-C1 */ 1876 .name = "Osprey 101/151 w/ svid", /* 0x(16|17|20)-00C4-C1 */
1877 .video_inputs = 2, 1877 .video_inputs = 2,
1878 .audio_inputs = 0, 1878 .audio_inputs = 0,
1879 .tuner = -1, 1879 .tuner = UNSET,
1880 .svhs = 1, 1880 .svhs = 1,
1881 .muxsel = { 0, 1 }, 1881 .muxsel = { 0, 1 },
1882 .pll = PLL_28, 1882 .pll = PLL_28,
1883 .tuner_type = -1, 1883 .tuner_type = UNSET,
1884 .tuner_addr = ADDR_UNSET, 1884 .tuner_addr = ADDR_UNSET,
1885 .radio_addr = ADDR_UNSET, 1885 .radio_addr = ADDR_UNSET,
1886 .no_msp34xx = 1, 1886 .no_msp34xx = 1,
@@ -1891,8 +1891,8 @@ struct tvcard bttv_tvcards[] = {
1891 .name = "Osprey 200/201/250/251", /* 0x1(8|9|E|F)-0004-C4 */ 1891 .name = "Osprey 200/201/250/251", /* 0x1(8|9|E|F)-0004-C4 */
1892 .video_inputs = 1, 1892 .video_inputs = 1,
1893 .audio_inputs = 1, 1893 .audio_inputs = 1,
1894 .tuner = -1, 1894 .tuner = UNSET,
1895 .svhs = -1, 1895 .svhs = UNSET,
1896 .muxsel = { 0 }, 1896 .muxsel = { 0 },
1897 .pll = PLL_28, 1897 .pll = PLL_28,
1898 .tuner_type = UNSET, 1898 .tuner_type = UNSET,
@@ -1908,7 +1908,7 @@ struct tvcard bttv_tvcards[] = {
1908 .name = "Osprey 200/250", /* 0x1(A|B)-00C4-C1 */ 1908 .name = "Osprey 200/250", /* 0x1(A|B)-00C4-C1 */
1909 .video_inputs = 2, 1909 .video_inputs = 2,
1910 .audio_inputs = 1, 1910 .audio_inputs = 1,
1911 .tuner = -1, 1911 .tuner = UNSET,
1912 .svhs = 1, 1912 .svhs = 1,
1913 .muxsel = { 0, 1 }, 1913 .muxsel = { 0, 1 },
1914 .pll = PLL_28, 1914 .pll = PLL_28,
@@ -1923,7 +1923,7 @@ struct tvcard bttv_tvcards[] = {
1923 .name = "Osprey 210/220/230", /* 0x1(A|B)-04C0-C1 */ 1923 .name = "Osprey 210/220/230", /* 0x1(A|B)-04C0-C1 */
1924 .video_inputs = 2, 1924 .video_inputs = 2,
1925 .audio_inputs = 1, 1925 .audio_inputs = 1,
1926 .tuner = -1, 1926 .tuner = UNSET,
1927 .svhs = 1, 1927 .svhs = 1,
1928 .muxsel = { 2, 3 }, 1928 .muxsel = { 2, 3 },
1929 .pll = PLL_28, 1929 .pll = PLL_28,
@@ -1938,11 +1938,11 @@ struct tvcard bttv_tvcards[] = {
1938 .name = "Osprey 500", /* 500 */ 1938 .name = "Osprey 500", /* 500 */
1939 .video_inputs = 2, 1939 .video_inputs = 2,
1940 .audio_inputs = 1, 1940 .audio_inputs = 1,
1941 .tuner = -1, 1941 .tuner = UNSET,
1942 .svhs = 1, 1942 .svhs = 1,
1943 .muxsel = { 2, 3 }, 1943 .muxsel = { 2, 3 },
1944 .pll = PLL_28, 1944 .pll = PLL_28,
1945 .tuner_type = -1, 1945 .tuner_type = UNSET,
1946 .tuner_addr = ADDR_UNSET, 1946 .tuner_addr = ADDR_UNSET,
1947 .radio_addr = ADDR_UNSET, 1947 .radio_addr = ADDR_UNSET,
1948 .no_msp34xx = 1, 1948 .no_msp34xx = 1,
@@ -1953,9 +1953,9 @@ struct tvcard bttv_tvcards[] = {
1953 .name = "Osprey 540", /* 540 */ 1953 .name = "Osprey 540", /* 540 */
1954 .video_inputs = 4, 1954 .video_inputs = 4,
1955 .audio_inputs = 1, 1955 .audio_inputs = 1,
1956 .tuner = -1, 1956 .tuner = UNSET,
1957 .pll = PLL_28, 1957 .pll = PLL_28,
1958 .tuner_type = -1, 1958 .tuner_type = UNSET,
1959 .tuner_addr = ADDR_UNSET, 1959 .tuner_addr = ADDR_UNSET,
1960 .radio_addr = ADDR_UNSET, 1960 .radio_addr = ADDR_UNSET,
1961 .no_msp34xx = 1, 1961 .no_msp34xx = 1,
@@ -1968,7 +1968,7 @@ struct tvcard bttv_tvcards[] = {
1968 .name = "Osprey 2000", /* 2000 */ 1968 .name = "Osprey 2000", /* 2000 */
1969 .video_inputs = 2, 1969 .video_inputs = 2,
1970 .audio_inputs = 1, 1970 .audio_inputs = 1,
1971 .tuner = -1, 1971 .tuner = UNSET,
1972 .svhs = 1, 1972 .svhs = 1,
1973 .muxsel = { 2, 3 }, 1973 .muxsel = { 2, 3 },
1974 .pll = PLL_28, 1974 .pll = PLL_28,
@@ -1984,11 +1984,11 @@ struct tvcard bttv_tvcards[] = {
1984 .name = "IDS Eagle", 1984 .name = "IDS Eagle",
1985 .video_inputs = 4, 1985 .video_inputs = 4,
1986 .audio_inputs = 0, 1986 .audio_inputs = 0,
1987 .tuner = -1, 1987 .tuner = UNSET,
1988 .tuner_type = -1, 1988 .tuner_type = UNSET,
1989 .tuner_addr = ADDR_UNSET, 1989 .tuner_addr = ADDR_UNSET,
1990 .radio_addr = ADDR_UNSET, 1990 .radio_addr = ADDR_UNSET,
1991 .svhs = -1, 1991 .svhs = UNSET,
1992 .gpiomask = 0, 1992 .gpiomask = 0,
1993 .muxsel = { 0, 1, 2, 3 }, 1993 .muxsel = { 0, 1, 2, 3 },
1994 .muxsel_hook = eagle_muxsel, 1994 .muxsel_hook = eagle_muxsel,
@@ -2001,8 +2001,8 @@ struct tvcard bttv_tvcards[] = {
2001 .video_inputs = 2, 2001 .video_inputs = 2,
2002 .audio_inputs = 0, 2002 .audio_inputs = 0,
2003 .svhs = 1, 2003 .svhs = 1,
2004 .tuner = -1, 2004 .tuner = UNSET,
2005 .tuner_type = -1, 2005 .tuner_type = UNSET,
2006 .tuner_addr = ADDR_UNSET, 2006 .tuner_addr = ADDR_UNSET,
2007 .radio_addr = ADDR_UNSET, 2007 .radio_addr = ADDR_UNSET,
2008 .no_msp34xx = 1, 2008 .no_msp34xx = 1,
@@ -2043,13 +2043,13 @@ struct tvcard bttv_tvcards[] = {
2043 .video_inputs = 3, 2043 .video_inputs = 3,
2044 .audio_inputs = 1, 2044 .audio_inputs = 1,
2045 .tuner = 0, 2045 .tuner = 0,
2046 .svhs = -1, 2046 .svhs = UNSET,
2047 .gpiomask = 7, 2047 .gpiomask = 7,
2048 .muxsel = { 2, 3, 1, 1}, 2048 .muxsel = { 2, 3, 1, 1},
2049 .gpiomux = { 0, 1, 2, 3}, 2049 .gpiomux = { 0, 1, 2, 3},
2050 .gpiomute = 4, 2050 .gpiomute = 4,
2051 .needs_tvaudio = 1, 2051 .needs_tvaudio = 1,
2052 .tuner_type = 5, 2052 .tuner_type = TUNER_PHILIPS_PAL,
2053 .tuner_addr = ADDR_UNSET, 2053 .tuner_addr = ADDR_UNSET,
2054 .radio_addr = ADDR_UNSET, 2054 .radio_addr = ADDR_UNSET,
2055 .pll = PLL_28, 2055 .pll = PLL_28,
@@ -2058,7 +2058,7 @@ struct tvcard bttv_tvcards[] = {
2058 .name = "Euresys Picolo", 2058 .name = "Euresys Picolo",
2059 .video_inputs = 3, 2059 .video_inputs = 3,
2060 .audio_inputs = 0, 2060 .audio_inputs = 0,
2061 .tuner = -1, 2061 .tuner = UNSET,
2062 .svhs = 2, 2062 .svhs = 2,
2063 .gpiomask = 0, 2063 .gpiomask = 0,
2064 .no_msp34xx = 1, 2064 .no_msp34xx = 1,
@@ -2075,8 +2075,8 @@ struct tvcard bttv_tvcards[] = {
2075 .name = "ProVideo PV150", /* 0x4f */ 2075 .name = "ProVideo PV150", /* 0x4f */
2076 .video_inputs = 2, 2076 .video_inputs = 2,
2077 .audio_inputs = 0, 2077 .audio_inputs = 0,
2078 .tuner = -1, 2078 .tuner = UNSET,
2079 .svhs = -1, 2079 .svhs = UNSET,
2080 .gpiomask = 0, 2080 .gpiomask = 0,
2081 .muxsel = { 2, 3 }, 2081 .muxsel = { 2, 3 },
2082 .gpiomux = { 0 }, 2082 .gpiomux = { 0 },
@@ -2103,7 +2103,7 @@ struct tvcard bttv_tvcards[] = {
2103 .needs_tvaudio = 0, 2103 .needs_tvaudio = 0,
2104 .no_msp34xx = 1, 2104 .no_msp34xx = 1,
2105 .pll = PLL_28, 2105 .pll = PLL_28,
2106 .tuner_type = 2, 2106 .tuner_type = TUNER_PHILIPS_NTSC,
2107 .tuner_addr = ADDR_UNSET, 2107 .tuner_addr = ADDR_UNSET,
2108 .radio_addr = ADDR_UNSET, 2108 .radio_addr = ADDR_UNSET,
2109 .audio_hook = adtvk503_audio, 2109 .audio_hook = adtvk503_audio,
@@ -2121,7 +2121,7 @@ struct tvcard bttv_tvcards[] = {
2121 .needs_tvaudio = 1, 2121 .needs_tvaudio = 1,
2122 .no_msp34xx = 1, 2122 .no_msp34xx = 1,
2123 .pll = PLL_28, 2123 .pll = PLL_28,
2124 .tuner_type = 5, 2124 .tuner_type = TUNER_PHILIPS_PAL,
2125 .tuner_addr = ADDR_UNSET, 2125 .tuner_addr = ADDR_UNSET,
2126 .radio_addr = ADDR_UNSET, 2126 .radio_addr = ADDR_UNSET,
2127 /* Notes: 2127 /* Notes:
@@ -2144,7 +2144,7 @@ struct tvcard bttv_tvcards[] = {
2144 .gpiomask = 0, 2144 .gpiomask = 0,
2145 .no_tda9875 = 1, 2145 .no_tda9875 = 1,
2146 .no_tda7432 = 1, 2146 .no_tda7432 = 1,
2147 .tuner_type = 1, 2147 .tuner_type = TUNER_PHILIPS_PAL_I,
2148 .tuner_addr = ADDR_UNSET, 2148 .tuner_addr = ADDR_UNSET,
2149 .radio_addr = ADDR_UNSET, 2149 .radio_addr = ADDR_UNSET,
2150 .has_radio = 1, 2150 .has_radio = 1,
@@ -2161,11 +2161,11 @@ struct tvcard bttv_tvcards[] = {
2161 .name = "IVC-200", 2161 .name = "IVC-200",
2162 .video_inputs = 1, 2162 .video_inputs = 1,
2163 .audio_inputs = 0, 2163 .audio_inputs = 0,
2164 .tuner = -1, 2164 .tuner = UNSET,
2165 .tuner_type = -1, 2165 .tuner_type = UNSET,
2166 .tuner_addr = ADDR_UNSET, 2166 .tuner_addr = ADDR_UNSET,
2167 .radio_addr = ADDR_UNSET, 2167 .radio_addr = ADDR_UNSET,
2168 .svhs = -1, 2168 .svhs = UNSET,
2169 .gpiomask = 0xdf, 2169 .gpiomask = 0xdf,
2170 .muxsel = { 2 }, 2170 .muxsel = { 2 },
2171 .pll = PLL_28, 2171 .pll = PLL_28,
@@ -2174,9 +2174,9 @@ struct tvcard bttv_tvcards[] = {
2174 .name = "Grand X-Guard / Trust 814PCI", 2174 .name = "Grand X-Guard / Trust 814PCI",
2175 .video_inputs = 16, 2175 .video_inputs = 16,
2176 .audio_inputs = 0, 2176 .audio_inputs = 0,
2177 .tuner = -1, 2177 .tuner = UNSET,
2178 .svhs = -1, 2178 .svhs = UNSET,
2179 .tuner_type = 4, 2179 .tuner_type = TUNER_ABSENT,
2180 .tuner_addr = ADDR_UNSET, 2180 .tuner_addr = ADDR_UNSET,
2181 .radio_addr = ADDR_UNSET, 2181 .radio_addr = ADDR_UNSET,
2182 .gpiomask2 = 0xff, 2182 .gpiomask2 = 0xff,
@@ -2192,14 +2192,14 @@ struct tvcard bttv_tvcards[] = {
2192 [BTTV_BOARD_NEBULA_DIGITV] = { 2192 [BTTV_BOARD_NEBULA_DIGITV] = {
2193 .name = "Nebula Electronics DigiTV", 2193 .name = "Nebula Electronics DigiTV",
2194 .video_inputs = 1, 2194 .video_inputs = 1,
2195 .tuner = -1, 2195 .tuner = UNSET,
2196 .svhs = -1, 2196 .svhs = UNSET,
2197 .muxsel = { 2, 3, 1, 0 }, 2197 .muxsel = { 2, 3, 1, 0 },
2198 .no_msp34xx = 1, 2198 .no_msp34xx = 1,
2199 .no_tda9875 = 1, 2199 .no_tda9875 = 1,
2200 .no_tda7432 = 1, 2200 .no_tda7432 = 1,
2201 .pll = PLL_28, 2201 .pll = PLL_28,
2202 .tuner_type = -1, 2202 .tuner_type = UNSET,
2203 .tuner_addr = ADDR_UNSET, 2203 .tuner_addr = ADDR_UNSET,
2204 .radio_addr = ADDR_UNSET, 2204 .radio_addr = ADDR_UNSET,
2205 .has_dvb = 1, 2205 .has_dvb = 1,
@@ -2212,15 +2212,15 @@ struct tvcard bttv_tvcards[] = {
2212 .name = "ProVideo PV143", 2212 .name = "ProVideo PV143",
2213 .video_inputs = 4, 2213 .video_inputs = 4,
2214 .audio_inputs = 0, 2214 .audio_inputs = 0,
2215 .tuner = -1, 2215 .tuner = UNSET,
2216 .svhs = -1, 2216 .svhs = UNSET,
2217 .gpiomask = 0, 2217 .gpiomask = 0,
2218 .muxsel = { 2, 3, 1, 0 }, 2218 .muxsel = { 2, 3, 1, 0 },
2219 .gpiomux = { 0 }, 2219 .gpiomux = { 0 },
2220 .needs_tvaudio = 0, 2220 .needs_tvaudio = 0,
2221 .no_msp34xx = 1, 2221 .no_msp34xx = 1,
2222 .pll = PLL_28, 2222 .pll = PLL_28,
2223 .tuner_type = -1, 2223 .tuner_type = UNSET,
2224 .tuner_addr = ADDR_UNSET, 2224 .tuner_addr = ADDR_UNSET,
2225 .radio_addr = ADDR_UNSET, 2225 .radio_addr = ADDR_UNSET,
2226 }, 2226 },
@@ -2229,14 +2229,14 @@ struct tvcard bttv_tvcards[] = {
2229 .name = "PHYTEC VD-009-X1 MiniDIN (bt878)", 2229 .name = "PHYTEC VD-009-X1 MiniDIN (bt878)",
2230 .video_inputs = 4, 2230 .video_inputs = 4,
2231 .audio_inputs = 0, 2231 .audio_inputs = 0,
2232 .tuner = -1, /* card has no tuner */ 2232 .tuner = UNSET, /* card has no tuner */
2233 .svhs = 3, 2233 .svhs = 3,
2234 .gpiomask = 0x00, 2234 .gpiomask = 0x00,
2235 .muxsel = { 2, 3, 1, 0 }, 2235 .muxsel = { 2, 3, 1, 0 },
2236 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2236 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */
2237 .needs_tvaudio = 1, 2237 .needs_tvaudio = 1,
2238 .pll = PLL_28, 2238 .pll = PLL_28,
2239 .tuner_type = -1, 2239 .tuner_type = UNSET,
2240 .tuner_addr = ADDR_UNSET, 2240 .tuner_addr = ADDR_UNSET,
2241 .radio_addr = ADDR_UNSET, 2241 .radio_addr = ADDR_UNSET,
2242 }, 2242 },
@@ -2244,14 +2244,14 @@ struct tvcard bttv_tvcards[] = {
2244 .name = "PHYTEC VD-009-X1 Combi (bt878)", 2244 .name = "PHYTEC VD-009-X1 Combi (bt878)",
2245 .video_inputs = 4, 2245 .video_inputs = 4,
2246 .audio_inputs = 0, 2246 .audio_inputs = 0,
2247 .tuner = -1, /* card has no tuner */ 2247 .tuner = UNSET, /* card has no tuner */
2248 .svhs = 3, 2248 .svhs = 3,
2249 .gpiomask = 0x00, 2249 .gpiomask = 0x00,
2250 .muxsel = { 2, 3, 1, 1 }, 2250 .muxsel = { 2, 3, 1, 1 },
2251 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2251 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */
2252 .needs_tvaudio = 1, 2252 .needs_tvaudio = 1,
2253 .pll = PLL_28, 2253 .pll = PLL_28,
2254 .tuner_type = -1, 2254 .tuner_type = UNSET,
2255 .tuner_addr = ADDR_UNSET, 2255 .tuner_addr = ADDR_UNSET,
2256 .radio_addr = ADDR_UNSET, 2256 .radio_addr = ADDR_UNSET,
2257 }, 2257 },
@@ -2261,7 +2261,7 @@ struct tvcard bttv_tvcards[] = {
2261 .name = "PHYTEC VD-009 MiniDIN (bt878)", 2261 .name = "PHYTEC VD-009 MiniDIN (bt878)",
2262 .video_inputs = 10, 2262 .video_inputs = 10,
2263 .audio_inputs = 0, 2263 .audio_inputs = 0,
2264 .tuner = -1, /* card has no tuner */ 2264 .tuner = UNSET, /* card has no tuner */
2265 .svhs = 9, 2265 .svhs = 9,
2266 .gpiomask = 0x00, 2266 .gpiomask = 0x00,
2267 .gpiomask2 = 0x03, /* gpiomask2 defines the bits used to switch audio 2267 .gpiomask2 = 0x03, /* gpiomask2 defines the bits used to switch audio
@@ -2271,7 +2271,7 @@ struct tvcard bttv_tvcards[] = {
2271 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2271 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */
2272 .needs_tvaudio = 1, 2272 .needs_tvaudio = 1,
2273 .pll = PLL_28, 2273 .pll = PLL_28,
2274 .tuner_type = -1, 2274 .tuner_type = UNSET,
2275 .tuner_addr = ADDR_UNSET, 2275 .tuner_addr = ADDR_UNSET,
2276 .radio_addr = ADDR_UNSET, 2276 .radio_addr = ADDR_UNSET,
2277 }, 2277 },
@@ -2279,7 +2279,7 @@ struct tvcard bttv_tvcards[] = {
2279 .name = "PHYTEC VD-009 Combi (bt878)", 2279 .name = "PHYTEC VD-009 Combi (bt878)",
2280 .video_inputs = 10, 2280 .video_inputs = 10,
2281 .audio_inputs = 0, 2281 .audio_inputs = 0,
2282 .tuner = -1, /* card has no tuner */ 2282 .tuner = UNSET, /* card has no tuner */
2283 .svhs = 9, 2283 .svhs = 9,
2284 .gpiomask = 0x00, 2284 .gpiomask = 0x00,
2285 .gpiomask2 = 0x03, /* gpiomask2 defines the bits used to switch audio 2285 .gpiomask2 = 0x03, /* gpiomask2 defines the bits used to switch audio
@@ -2289,7 +2289,7 @@ struct tvcard bttv_tvcards[] = {
2289 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2289 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */
2290 .needs_tvaudio = 1, 2290 .needs_tvaudio = 1,
2291 .pll = PLL_28, 2291 .pll = PLL_28,
2292 .tuner_type = -1, 2292 .tuner_type = UNSET,
2293 .tuner_addr = ADDR_UNSET, 2293 .tuner_addr = ADDR_UNSET,
2294 .radio_addr = ADDR_UNSET, 2294 .radio_addr = ADDR_UNSET,
2295 }, 2295 },
@@ -2297,11 +2297,11 @@ struct tvcard bttv_tvcards[] = {
2297 .name = "IVC-100", 2297 .name = "IVC-100",
2298 .video_inputs = 4, 2298 .video_inputs = 4,
2299 .audio_inputs = 0, 2299 .audio_inputs = 0,
2300 .tuner = -1, 2300 .tuner = UNSET,
2301 .tuner_type = -1, 2301 .tuner_type = UNSET,
2302 .tuner_addr = ADDR_UNSET, 2302 .tuner_addr = ADDR_UNSET,
2303 .radio_addr = ADDR_UNSET, 2303 .radio_addr = ADDR_UNSET,
2304 .svhs = -1, 2304 .svhs = UNSET,
2305 .gpiomask = 0xdf, 2305 .gpiomask = 0xdf,
2306 .muxsel = { 2, 3, 1, 0 }, 2306 .muxsel = { 2, 3, 1, 0 },
2307 .pll = PLL_28, 2307 .pll = PLL_28,
@@ -2311,11 +2311,11 @@ struct tvcard bttv_tvcards[] = {
2311 .name = "IVC-120G", 2311 .name = "IVC-120G",
2312 .video_inputs = 16, 2312 .video_inputs = 16,
2313 .audio_inputs = 0, /* card has no audio */ 2313 .audio_inputs = 0, /* card has no audio */
2314 .tuner = -1, /* card has no tuner */ 2314 .tuner = UNSET, /* card has no tuner */
2315 .tuner_type = -1, 2315 .tuner_type = UNSET,
2316 .tuner_addr = ADDR_UNSET, 2316 .tuner_addr = ADDR_UNSET,
2317 .radio_addr = ADDR_UNSET, 2317 .radio_addr = ADDR_UNSET,
2318 .svhs = -1, /* card has no svhs */ 2318 .svhs = UNSET, /* card has no svhs */
2319 .needs_tvaudio = 0, 2319 .needs_tvaudio = 0,
2320 .no_msp34xx = 1, 2320 .no_msp34xx = 1,
2321 .no_tda9875 = 1, 2321 .no_tda9875 = 1,
@@ -2356,7 +2356,7 @@ struct tvcard bttv_tvcards[] = {
2356 .video_inputs = 3, 2356 .video_inputs = 3,
2357 .audio_inputs = 0, 2357 .audio_inputs = 0,
2358 .svhs = 1, 2358 .svhs = 1,
2359 .tuner = -1, 2359 .tuner = UNSET,
2360 .muxsel = { 3, 1, 1, 3 }, /* Vid In, SVid In, Vid over SVid in connector */ 2360 .muxsel = { 3, 1, 1, 3 }, /* Vid In, SVid In, Vid over SVid in connector */
2361 .no_msp34xx = 1, 2361 .no_msp34xx = 1,
2362 .no_tda9875 = 1, 2362 .no_tda9875 = 1,
@@ -2387,9 +2387,9 @@ struct tvcard bttv_tvcards[] = {
2387 .name = "SIMUS GVC1100", 2387 .name = "SIMUS GVC1100",
2388 .video_inputs = 4, 2388 .video_inputs = 4,
2389 .audio_inputs = 0, 2389 .audio_inputs = 0,
2390 .tuner = -1, 2390 .tuner = UNSET,
2391 .svhs = -1, 2391 .svhs = UNSET,
2392 .tuner_type = -1, 2392 .tuner_type = UNSET,
2393 .tuner_addr = ADDR_UNSET, 2393 .tuner_addr = ADDR_UNSET,
2394 .radio_addr = ADDR_UNSET, 2394 .radio_addr = ADDR_UNSET,
2395 .pll = PLL_28, 2395 .pll = PLL_28,
@@ -2418,14 +2418,14 @@ struct tvcard bttv_tvcards[] = {
2418 .name = "LMLBT4", 2418 .name = "LMLBT4",
2419 .video_inputs = 4, /* IN1,IN2,IN3,IN4 */ 2419 .video_inputs = 4, /* IN1,IN2,IN3,IN4 */
2420 .audio_inputs = 0, 2420 .audio_inputs = 0,
2421 .tuner = -1, 2421 .tuner = UNSET,
2422 .svhs = -1, 2422 .svhs = UNSET,
2423 .muxsel = { 2, 3, 1, 0 }, 2423 .muxsel = { 2, 3, 1, 0 },
2424 .no_msp34xx = 1, 2424 .no_msp34xx = 1,
2425 .no_tda9875 = 1, 2425 .no_tda9875 = 1,
2426 .no_tda7432 = 1, 2426 .no_tda7432 = 1,
2427 .needs_tvaudio = 0, 2427 .needs_tvaudio = 0,
2428 .tuner_type = -1, 2428 .tuner_type = UNSET,
2429 .tuner_addr = ADDR_UNSET, 2429 .tuner_addr = ADDR_UNSET,
2430 .radio_addr = ADDR_UNSET, 2430 .radio_addr = ADDR_UNSET,
2431 }, 2431 },
@@ -2475,8 +2475,8 @@ struct tvcard bttv_tvcards[] = {
2475 .name = "Euresys Picolo Tetra", 2475 .name = "Euresys Picolo Tetra",
2476 .video_inputs = 4, 2476 .video_inputs = 4,
2477 .audio_inputs = 0, 2477 .audio_inputs = 0,
2478 .tuner = -1, 2478 .tuner = UNSET,
2479 .svhs = -1, 2479 .svhs = UNSET,
2480 .gpiomask = 0, 2480 .gpiomask = 0,
2481 .gpiomask2 = 0x3C<<16,/*Set the GPIO[18]->GPIO[21] as output pin.==> drive the video inputs through analog multiplexers*/ 2481 .gpiomask2 = 0x3C<<16,/*Set the GPIO[18]->GPIO[21] as output pin.==> drive the video inputs through analog multiplexers*/
2482 .no_msp34xx = 1, 2482 .no_msp34xx = 1,
@@ -2487,7 +2487,7 @@ struct tvcard bttv_tvcards[] = {
2487 .pll = PLL_28, 2487 .pll = PLL_28,
2488 .needs_tvaudio = 0, 2488 .needs_tvaudio = 0,
2489 .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/ 2489 .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/
2490 .tuner_type = -1, 2490 .tuner_type = UNSET,
2491 .tuner_addr = ADDR_UNSET, 2491 .tuner_addr = ADDR_UNSET,
2492 .radio_addr = ADDR_UNSET, 2492 .radio_addr = ADDR_UNSET,
2493 }, 2493 },
@@ -2513,7 +2513,7 @@ struct tvcard bttv_tvcards[] = {
2513 .name = "AVerMedia AVerTV DVB-T 771", 2513 .name = "AVerMedia AVerTV DVB-T 771",
2514 .video_inputs = 2, 2514 .video_inputs = 2,
2515 .svhs = 1, 2515 .svhs = 1,
2516 .tuner = -1, 2516 .tuner = UNSET,
2517 .tuner_type = TUNER_ABSENT, 2517 .tuner_type = TUNER_ABSENT,
2518 .tuner_addr = ADDR_UNSET, 2518 .tuner_addr = ADDR_UNSET,
2519 .radio_addr = ADDR_UNSET, 2519 .radio_addr = ADDR_UNSET,
@@ -2532,14 +2532,14 @@ struct tvcard bttv_tvcards[] = {
2532 /* Based on the Nebula card data - added remote and new card number - BTTV_BOARD_AVDVBT_761, see also ir-kbd-gpio.c */ 2532 /* Based on the Nebula card data - added remote and new card number - BTTV_BOARD_AVDVBT_761, see also ir-kbd-gpio.c */
2533 .name = "AverMedia AverTV DVB-T 761", 2533 .name = "AverMedia AverTV DVB-T 761",
2534 .video_inputs = 2, 2534 .video_inputs = 2,
2535 .tuner = -1, 2535 .tuner = UNSET,
2536 .svhs = 1, 2536 .svhs = 1,
2537 .muxsel = { 3, 1, 2, 0 }, /* Comp0, S-Video, ?, ? */ 2537 .muxsel = { 3, 1, 2, 0 }, /* Comp0, S-Video, ?, ? */
2538 .no_msp34xx = 1, 2538 .no_msp34xx = 1,
2539 .no_tda9875 = 1, 2539 .no_tda9875 = 1,
2540 .no_tda7432 = 1, 2540 .no_tda7432 = 1,
2541 .pll = PLL_28, 2541 .pll = PLL_28,
2542 .tuner_type = -1, 2542 .tuner_type = UNSET,
2543 .tuner_addr = ADDR_UNSET, 2543 .tuner_addr = ADDR_UNSET,
2544 .radio_addr = ADDR_UNSET, 2544 .radio_addr = ADDR_UNSET,
2545 .has_dvb = 1, 2545 .has_dvb = 1,
@@ -2551,8 +2551,8 @@ struct tvcard bttv_tvcards[] = {
2551 .name = "MATRIX Vision Sigma-SQ", 2551 .name = "MATRIX Vision Sigma-SQ",
2552 .video_inputs = 16, 2552 .video_inputs = 16,
2553 .audio_inputs = 0, 2553 .audio_inputs = 0,
2554 .tuner = -1, 2554 .tuner = UNSET,
2555 .svhs = -1, 2555 .svhs = UNSET,
2556 .gpiomask = 0x0, 2556 .gpiomask = 0x0,
2557 .muxsel = { 2, 2, 2, 2, 2, 2, 2, 2, 2557 .muxsel = { 2, 2, 2, 2, 2, 2, 2, 2,
2558 3, 3, 3, 3, 3, 3, 3, 3 }, 2558 3, 3, 3, 3, 3, 3, 3, 3 },
@@ -2560,7 +2560,7 @@ struct tvcard bttv_tvcards[] = {
2560 .gpiomux = { 0 }, 2560 .gpiomux = { 0 },
2561 .no_msp34xx = 1, 2561 .no_msp34xx = 1,
2562 .pll = PLL_28, 2562 .pll = PLL_28,
2563 .tuner_type = -1, 2563 .tuner_type = UNSET,
2564 .tuner_addr = ADDR_UNSET, 2564 .tuner_addr = ADDR_UNSET,
2565 .radio_addr = ADDR_UNSET, 2565 .radio_addr = ADDR_UNSET,
2566 }, 2566 },
@@ -2569,15 +2569,15 @@ struct tvcard bttv_tvcards[] = {
2569 .name = "MATRIX Vision Sigma-SLC", 2569 .name = "MATRIX Vision Sigma-SLC",
2570 .video_inputs = 4, 2570 .video_inputs = 4,
2571 .audio_inputs = 0, 2571 .audio_inputs = 0,
2572 .tuner = -1, 2572 .tuner = UNSET,
2573 .svhs = -1, 2573 .svhs = UNSET,
2574 .gpiomask = 0x0, 2574 .gpiomask = 0x0,
2575 .muxsel = { 2, 2, 2, 2 }, 2575 .muxsel = { 2, 2, 2, 2 },
2576 .muxsel_hook = sigmaSLC_muxsel, 2576 .muxsel_hook = sigmaSLC_muxsel,
2577 .gpiomux = { 0 }, 2577 .gpiomux = { 0 },
2578 .no_msp34xx = 1, 2578 .no_msp34xx = 1,
2579 .pll = PLL_28, 2579 .pll = PLL_28,
2580 .tuner_type = -1, 2580 .tuner_type = UNSET,
2581 .tuner_addr = ADDR_UNSET, 2581 .tuner_addr = ADDR_UNSET,
2582 .radio_addr = ADDR_UNSET, 2582 .radio_addr = ADDR_UNSET,
2583 }, 2583 },
@@ -2589,7 +2589,7 @@ struct tvcard bttv_tvcards[] = {
2589 .video_inputs = 2, 2589 .video_inputs = 2,
2590 .audio_inputs = 1, 2590 .audio_inputs = 1,
2591 .tuner = 0, 2591 .tuner = 0,
2592 .svhs = -1, 2592 .svhs = UNSET,
2593 .gpiomask = 0xFF, 2593 .gpiomask = 0xFF,
2594 .muxsel = { 2, 3, 1, 1 }, 2594 .muxsel = { 2, 3, 1, 1 },
2595 .gpiomux = { 2, 0, 0, 0 }, 2595 .gpiomux = { 2, 0, 0, 0 },
@@ -2607,14 +2607,14 @@ struct tvcard bttv_tvcards[] = {
2607 [BTTV_BOARD_DVICO_DVBT_LITE] = { 2607 [BTTV_BOARD_DVICO_DVBT_LITE] = {
2608 /* Chris Pascoe <c.pascoe@itee.uq.edu.au> */ 2608 /* Chris Pascoe <c.pascoe@itee.uq.edu.au> */
2609 .name = "DViCO FusionHDTV DVB-T Lite", 2609 .name = "DViCO FusionHDTV DVB-T Lite",
2610 .tuner = -1, 2610 .tuner = UNSET,
2611 .no_msp34xx = 1, 2611 .no_msp34xx = 1,
2612 .no_tda9875 = 1, 2612 .no_tda9875 = 1,
2613 .no_tda7432 = 1, 2613 .no_tda7432 = 1,
2614 .pll = PLL_28, 2614 .pll = PLL_28,
2615 .no_video = 1, 2615 .no_video = 1,
2616 .has_dvb = 1, 2616 .has_dvb = 1,
2617 .tuner_type = -1, 2617 .tuner_type = UNSET,
2618 .tuner_addr = ADDR_UNSET, 2618 .tuner_addr = ADDR_UNSET,
2619 .radio_addr = ADDR_UNSET, 2619 .radio_addr = ADDR_UNSET,
2620 }, 2620 },
@@ -2657,14 +2657,14 @@ struct tvcard bttv_tvcards[] = {
2657 .name = "Tibet Systems 'Progress DVR' CS16", 2657 .name = "Tibet Systems 'Progress DVR' CS16",
2658 .video_inputs = 16, 2658 .video_inputs = 16,
2659 .audio_inputs = 0, 2659 .audio_inputs = 0,
2660 .tuner = -1, 2660 .tuner = UNSET,
2661 .svhs = -1, 2661 .svhs = UNSET,
2662 .muxsel = { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }, 2662 .muxsel = { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
2663 .pll = PLL_28, 2663 .pll = PLL_28,
2664 .no_msp34xx = 1, 2664 .no_msp34xx = 1,
2665 .no_tda9875 = 1, 2665 .no_tda9875 = 1,
2666 .no_tda7432 = 1, 2666 .no_tda7432 = 1,
2667 .tuner_type = -1, 2667 .tuner_type = UNSET,
2668 .tuner_addr = ADDR_UNSET, 2668 .tuner_addr = ADDR_UNSET,
2669 .radio_addr = ADDR_UNSET, 2669 .radio_addr = ADDR_UNSET,
2670 .muxsel_hook = tibetCS16_muxsel, 2670 .muxsel_hook = tibetCS16_muxsel,
@@ -2684,11 +2684,11 @@ struct tvcard bttv_tvcards[] = {
2684 .name = "Kodicom 4400R (master)", 2684 .name = "Kodicom 4400R (master)",
2685 .video_inputs = 16, 2685 .video_inputs = 16,
2686 .audio_inputs = 0, 2686 .audio_inputs = 0,
2687 .tuner = -1, 2687 .tuner = UNSET,
2688 .tuner_type = -1, 2688 .tuner_type = UNSET,
2689 .tuner_addr = ADDR_UNSET, 2689 .tuner_addr = ADDR_UNSET,
2690 .radio_addr = ADDR_UNSET, 2690 .radio_addr = ADDR_UNSET,
2691 .svhs = -1, 2691 .svhs = UNSET,
2692 /* GPIO bits 0-9 used for analog switch: 2692 /* GPIO bits 0-9 used for analog switch:
2693 * 00 - 03: camera selector 2693 * 00 - 03: camera selector
2694 * 04 - 06: channel (controller) selector 2694 * 04 - 06: channel (controller) selector
@@ -2716,11 +2716,11 @@ struct tvcard bttv_tvcards[] = {
2716 .name = "Kodicom 4400R (slave)", 2716 .name = "Kodicom 4400R (slave)",
2717 .video_inputs = 16, 2717 .video_inputs = 16,
2718 .audio_inputs = 0, 2718 .audio_inputs = 0,
2719 .tuner = -1, 2719 .tuner = UNSET,
2720 .tuner_type = -1, 2720 .tuner_type = UNSET,
2721 .tuner_addr = ADDR_UNSET, 2721 .tuner_addr = ADDR_UNSET,
2722 .radio_addr = ADDR_UNSET, 2722 .radio_addr = ADDR_UNSET,
2723 .svhs = -1, 2723 .svhs = UNSET,
2724 .gpiomask = 0x010000, 2724 .gpiomask = 0x010000,
2725 .no_gpioirq = 1, 2725 .no_gpioirq = 1,
2726 .muxsel = { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }, 2726 .muxsel = { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
@@ -2740,7 +2740,7 @@ struct tvcard bttv_tvcards[] = {
2740 .tuner = 0, 2740 .tuner = 0,
2741 .svhs = 2, 2741 .svhs = 2,
2742 .muxsel = { 2, 3, 1, 0 }, 2742 .muxsel = { 2, 3, 1, 0 },
2743 .tuner_type = -1, 2743 .tuner_type = UNSET,
2744 .tuner_addr = ADDR_UNSET, 2744 .tuner_addr = ADDR_UNSET,
2745 .radio_addr = ADDR_UNSET, 2745 .radio_addr = ADDR_UNSET,
2746 .pll = PLL_28, 2746 .pll = PLL_28,
@@ -2847,7 +2847,7 @@ struct tvcard bttv_tvcards[] = {
2847 .name = "Osprey 440", 2847 .name = "Osprey 440",
2848 .video_inputs = 1, 2848 .video_inputs = 1,
2849 .audio_inputs = 1, 2849 .audio_inputs = 1,
2850 .tuner = -1, 2850 .tuner = UNSET,
2851 .svhs = 1, 2851 .svhs = 1,
2852 .muxsel = { 2 }, 2852 .muxsel = { 2 },
2853 .pll = PLL_28, 2853 .pll = PLL_28,
@@ -2871,7 +2871,7 @@ struct tvcard bttv_tvcards[] = {
2871 .gpiomute = 1, 2871 .gpiomute = 1,
2872 .needs_tvaudio = 1, 2872 .needs_tvaudio = 1,
2873 .pll = PLL_28, 2873 .pll = PLL_28,
2874 .tuner_type = 2, 2874 .tuner_type = TUNER_PHILIPS_NTSC,
2875 .tuner_addr = ADDR_UNSET, 2875 .tuner_addr = ADDR_UNSET,
2876 .radio_addr = ADDR_UNSET, 2876 .radio_addr = ADDR_UNSET,
2877 }, 2877 },
@@ -2898,14 +2898,14 @@ struct tvcard bttv_tvcards[] = {
2898 .name = "Hauppauge ImpactVCB (bt878)", 2898 .name = "Hauppauge ImpactVCB (bt878)",
2899 .video_inputs = 4, 2899 .video_inputs = 4,
2900 .audio_inputs = 0, 2900 .audio_inputs = 0,
2901 .tuner = -1, 2901 .tuner = UNSET,
2902 .svhs = -1, 2902 .svhs = UNSET,
2903 .gpiomask = 0x0f, /* old: 7 */ 2903 .gpiomask = 0x0f, /* old: 7 */
2904 .muxsel = { 0, 1, 3, 2 }, /* Composite 0-3 */ 2904 .muxsel = { 0, 1, 3, 2 }, /* Composite 0-3 */
2905 .no_msp34xx = 1, 2905 .no_msp34xx = 1,
2906 .no_tda9875 = 1, 2906 .no_tda9875 = 1,
2907 .no_tda7432 = 1, 2907 .no_tda7432 = 1,
2908 .tuner_type = -1, 2908 .tuner_type = UNSET,
2909 .tuner_addr = ADDR_UNSET, 2909 .tuner_addr = ADDR_UNSET,
2910 .radio_addr = ADDR_UNSET, 2910 .radio_addr = ADDR_UNSET,
2911 }, 2911 },
@@ -2937,10 +2937,10 @@ struct tvcard bttv_tvcards[] = {
2937 .name = "SSAI Security Video Interface", 2937 .name = "SSAI Security Video Interface",
2938 .video_inputs = 4, 2938 .video_inputs = 4,
2939 .audio_inputs = 0, 2939 .audio_inputs = 0,
2940 .tuner = -1, 2940 .tuner = UNSET,
2941 .svhs = -1, 2941 .svhs = UNSET,
2942 .muxsel = { 0, 1, 2, 3 }, 2942 .muxsel = { 0, 1, 2, 3 },
2943 .tuner_type = -1, 2943 .tuner_type = UNSET,
2944 .tuner_addr = ADDR_UNSET, 2944 .tuner_addr = ADDR_UNSET,
2945 .radio_addr = ADDR_UNSET, 2945 .radio_addr = ADDR_UNSET,
2946 }, 2946 },
@@ -2948,10 +2948,10 @@ struct tvcard bttv_tvcards[] = {
2948 .name = "SSAI Ultrasound Video Interface", 2948 .name = "SSAI Ultrasound Video Interface",
2949 .video_inputs = 2, 2949 .video_inputs = 2,
2950 .audio_inputs = 0, 2950 .audio_inputs = 0,
2951 .tuner = -1, 2951 .tuner = UNSET,
2952 .svhs = 1, 2952 .svhs = 1,
2953 .muxsel = { 2, 0, 1, 3 }, 2953 .muxsel = { 2, 0, 1, 3 },
2954 .tuner_type = -1, 2954 .tuner_type = UNSET,
2955 .tuner_addr = ADDR_UNSET, 2955 .tuner_addr = ADDR_UNSET,
2956 .radio_addr = ADDR_UNSET, 2956 .radio_addr = ADDR_UNSET,
2957 }, 2957 },
@@ -3081,7 +3081,7 @@ static void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256])
3081static void flyvideo_gpio(struct bttv *btv) 3081static void flyvideo_gpio(struct bttv *btv)
3082{ 3082{
3083 int gpio,has_remote,has_radio,is_capture_only,is_lr90,has_tda9820_tda9821; 3083 int gpio,has_remote,has_radio,is_capture_only,is_lr90,has_tda9820_tda9821;
3084 int tuner=-1,ttype; 3084 int tuner=UNSET,ttype;
3085 3085
3086 gpio_inout(0xffffff, 0); 3086 gpio_inout(0xffffff, 0);
3087 udelay(8); /* without this we would see the 0x1800 mask */ 3087 udelay(8); /* without this we would see the 0x1800 mask */
@@ -3126,7 +3126,7 @@ static void flyvideo_gpio(struct bttv *btv)
3126 * gpio & 0x001000 output bit for audio routing */ 3126 * gpio & 0x001000 output bit for audio routing */
3127 3127
3128 if(is_capture_only) 3128 if(is_capture_only)
3129 tuner=4; /* No tuner present */ 3129 tuner = TUNER_ABSENT; /* No tuner present */
3130 3130
3131 printk(KERN_INFO "bttv%d: FlyVideo Radio=%s RemoteControl=%s Tuner=%d gpio=0x%06x\n", 3131 printk(KERN_INFO "bttv%d: FlyVideo Radio=%s RemoteControl=%s Tuner=%d gpio=0x%06x\n",
3132 btv->c.nr, has_radio? "yes":"no ", has_remote? "yes":"no ", tuner, gpio); 3132 btv->c.nr, has_radio? "yes":"no ", has_remote? "yes":"no ", tuner, gpio);
@@ -3134,7 +3134,7 @@ static void flyvideo_gpio(struct bttv *btv)
3134 btv->c.nr, is_lr90?"yes":"no ", has_tda9820_tda9821?"yes":"no ", 3134 btv->c.nr, is_lr90?"yes":"no ", has_tda9820_tda9821?"yes":"no ",
3135 is_capture_only?"yes":"no "); 3135 is_capture_only?"yes":"no ");
3136 3136
3137 if(tuner!= -1) /* only set if known tuner autodetected, else let insmod option through */ 3137 if (tuner != UNSET) /* only set if known tuner autodetected, else let insmod option through */
3138 btv->tuner_type = tuner; 3138 btv->tuner_type = tuner;
3139 btv->has_radio = has_radio; 3139 btv->has_radio = has_radio;
3140 3140