Deleted Added
full compact
bktr_card.c (62214) bktr_card.c (65692)
1/* $FreeBSD: head/sys/dev/bktr/bktr_card.c 62214 2000-06-28 15:09:12Z roger $ */
1/* $FreeBSD: head/sys/dev/bktr/bktr_card.c 65692 2000-09-10 14:34:08Z roger $ */
2
3/*
4 * This is part of the Driver for Video Capture Cards (Frame grabbers)
5 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
6 * chipset.
7 * Copyright Roger Hardiman and Amancio Hasty.
8 *
9 * bktr_card : This deals with identifying TV cards.

--- 506 unchanged lines hidden (view full) ---

516/*
517 * These are the sub-system vendor ID codes stored in the
518 * configuration EEPROM used on Bt878/879 cards. They should match the
519 * number assigned to the company by the PCI Special Interest Group
520 */
521#define VENDOR_AVER_MEDIA 0x1461
522#define VENDOR_HAUPPAUGE 0x0070
523#define VENDOR_FLYVIDEO 0x1851
2
3/*
4 * This is part of the Driver for Video Capture Cards (Frame grabbers)
5 * and TV Tuner cards using the Brooktree Bt848, Bt848A, Bt849A, Bt878, Bt879
6 * chipset.
7 * Copyright Roger Hardiman and Amancio Hasty.
8 *
9 * bktr_card : This deals with identifying TV cards.

--- 506 unchanged lines hidden (view full) ---

516/*
517 * These are the sub-system vendor ID codes stored in the
518 * configuration EEPROM used on Bt878/879 cards. They should match the
519 * number assigned to the company by the PCI Special Interest Group
520 */
521#define VENDOR_AVER_MEDIA 0x1461
522#define VENDOR_HAUPPAUGE 0x0070
523#define VENDOR_FLYVIDEO 0x1851
524#define VENDOR_FLYVIDEO_2 0x1852
524#define VENDOR_STB 0x10B4
525#define VENDOR_ASKEY_COMP 0x144F
526#define VENDOR_LEADTEK 0x6606
527
528
529void
530probeCard( bktr_ptr_t bktr, int verbose, int unit )
531{

--- 86 unchanged lines hidden (view full) ---

618
619 if (subsystem_vendor_id == VENDOR_HAUPPAUGE) {
620 bktr->card = cards[ (card = CARD_HAUPPAUGE) ];
621 bktr->card.eepromAddr = eeprom_i2c_address;
622 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
623 goto checkTuner;
624 }
625
525#define VENDOR_STB 0x10B4
526#define VENDOR_ASKEY_COMP 0x144F
527#define VENDOR_LEADTEK 0x6606
528
529
530void
531probeCard( bktr_ptr_t bktr, int verbose, int unit )
532{

--- 86 unchanged lines hidden (view full) ---

619
620 if (subsystem_vendor_id == VENDOR_HAUPPAUGE) {
621 bktr->card = cards[ (card = CARD_HAUPPAUGE) ];
622 bktr->card.eepromAddr = eeprom_i2c_address;
623 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
624 goto checkTuner;
625 }
626
626 if (subsystem_vendor_id == VENDOR_FLYVIDEO) {
627 if ((subsystem_vendor_id == VENDOR_FLYVIDEO)
628 || (subsystem_vendor_id == VENDOR_FLYVIDEO_2) ) {
627 bktr->card = cards[ (card = CARD_FLYVIDEO) ];
628 bktr->card.eepromAddr = eeprom_i2c_address;
629 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
630 goto checkTuner;
631 }
632
633 if (subsystem_vendor_id == VENDOR_STB) {
634 bktr->card = cards[ (card = CARD_STB) ];

--- 232 unchanged lines hidden (view full) ---

867 0x24 Philips TD1536 MN/ATSCDigital
868 0x25 Philips TD1536D MN/ATSCDigital DUAL INPUT
869 0x26 Philips FMR1236 M/N FM(no demod)
870 0x27 Philips FI1256MP B/G, D/K
871 0x28 Samsung TCPQ9091P BG/I/DK, L/L'
872 0x29 Temic 4006FN5 BG/I/DK
873 0x2a Temic 4009FR5 BG FM
874 0x2b Temic 4046FM5 B/G, I, D/K, L/L'
629 bktr->card = cards[ (card = CARD_FLYVIDEO) ];
630 bktr->card.eepromAddr = eeprom_i2c_address;
631 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
632 goto checkTuner;
633 }
634
635 if (subsystem_vendor_id == VENDOR_STB) {
636 bktr->card = cards[ (card = CARD_STB) ];

--- 232 unchanged lines hidden (view full) ---

869 0x24 Philips TD1536 MN/ATSCDigital
870 0x25 Philips TD1536D MN/ATSCDigital DUAL INPUT
871 0x26 Philips FMR1236 M/N FM(no demod)
872 0x27 Philips FI1256MP B/G, D/K
873 0x28 Samsung TCPQ9091P BG/I/DK, L/L'
874 0x29 Temic 4006FN5 BG/I/DK
875 0x2a Temic 4009FR5 BG FM
876 0x2b Temic 4046FM5 B/G, I, D/K, L/L'
875 0x2c Temic 4009FN5 B/G, I, D/K, FM (no demod)
877 0x2c Temic 4009FN5 B/G, I, D/K, FM (no demod) PHILIPS_PALI
876 0x2d Philips TD1536D_FH_44 MN/ATSCDigital DUAL INPUT
877 */
878
879
880
881 /* Determine the model number from the eeprom */
882 if (bktr->card.eepromAddr != 0) {
883 u_int model;

--- 37 unchanged lines hidden (view full) ---

921 select_tuner( bktr, PHILIPS_FR1236_NTSC );
922 goto checkDBX;
923
924 case 0x6:
925 case 0x8:
926 case 0xb:
927 case 0x1d:
928 case 0x23:
878 0x2d Philips TD1536D_FH_44 MN/ATSCDigital DUAL INPUT
879 */
880
881
882
883 /* Determine the model number from the eeprom */
884 if (bktr->card.eepromAddr != 0) {
885 u_int model;

--- 37 unchanged lines hidden (view full) ---

923 select_tuner( bktr, PHILIPS_FR1236_NTSC );
924 goto checkDBX;
925
926 case 0x6:
927 case 0x8:
928 case 0xb:
929 case 0x1d:
930 case 0x23:
931 case 0x2c:
929 select_tuner( bktr, PHILIPS_PALI );
930 goto checkDBX;
931
932 case 0xd:
933 select_tuner( bktr, TEMIC_NTSC );
934 goto checkDBX;
935
936 case 0xe:

--- 272 unchanged lines hidden ---
932 select_tuner( bktr, PHILIPS_PALI );
933 goto checkDBX;
934
935 case 0xd:
936 select_tuner( bktr, TEMIC_NTSC );
937 goto checkDBX;
938
939 case 0xe:

--- 272 unchanged lines hidden ---