Date: Mon, 28 May 2018 13:12:35 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334285 - head/sys/dev/bktr Message-ID: <201805281312.w4SDCZW9098049@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Mon May 28 13:12:34 2018 New Revision: 334285 URL: https://svnweb.freebsd.org/changeset/base/334285 Log: bktr: Support WinFast Tv2000 & PHILIPS FI1216 - Add support for Leadtek WinFast Tv2000 XP bktr card - Add support for PHILIPS FI1216 PR: 94369 Submitted by: Angelescu Ovidiu <mrhsaacdoh@yahoo.com> Submitted on: 2006-03-11 19:30 UTC Modified: head/sys/dev/bktr/bktr_card.c head/sys/dev/bktr/bktr_card.h head/sys/dev/bktr/bktr_tuner.c head/sys/dev/bktr/bktr_tuner.h Modified: head/sys/dev/bktr/bktr_card.c ============================================================================== --- head/sys/dev/bktr/bktr_card.c Mon May 28 12:50:36 2018 (r334284) +++ head/sys/dev/bktr/bktr_card.c Mon May 28 13:12:34 2018 (r334285) @@ -417,6 +417,18 @@ static const struct CARDTYPE cards[] = { 0, /* EEProm size */ { 0x01, 0x04, 0x01, 0x03, 1 }, /* audio MUX values */ 0x00ffffff }, + { CARD_LEADTEK_WINFAST_2000_XP, /* the card id */ + "Leadtek Winfast 2000 XP", /* the 'name' */ + NULL, /* the tuner */ + 0, /* the tuner i2c address */ + 0, /* dbx is optional */ + 0, + 0, + 0, /* EEProm unknown */ + 0, /* size unknown */ + { 0x122000, 0x1000, 0x620000, 0x0000, 1 }, /* audio MUX values */ + 0xb33000 }, /* GPIO mask */ + }; struct bt848_card_sig bt848_card_signature[1]= { Modified: head/sys/dev/bktr/bktr_card.h ============================================================================== --- head/sys/dev/bktr/bktr_card.h Mon May 28 12:50:36 2018 (r334284) +++ head/sys/dev/bktr/bktr_card.h Mon May 28 13:12:34 2018 (r334285) @@ -84,7 +84,8 @@ #define CARD_PIXELVIEW_PLAYTV_PAK 20 #define CARD_TERRATVALUE 21 #define CARD_PIXELVIEW_PLAYTV_PRO_REV_4C 22 -#define Bt848_MAX_CARD 23 +#define CARD_LEADTEK_WINFAST_2000_XP 23 +#define Bt848_MAX_CARD 24 #define CARD_IO_GV CARD_IO_BCTV2 Modified: head/sys/dev/bktr/bktr_tuner.c ============================================================================== --- head/sys/dev/bktr/bktr_tuner.c Mon May 28 12:50:36 2018 (r334284) +++ head/sys/dev/bktr/bktr_tuner.c Mon May 28 13:12:34 2018 (r334285) @@ -301,6 +301,16 @@ static const struct TUNER tuners[] = { 0x00 }, { 0x00, 0x00 }, /* band-switch crosspoints */ { 0xa0, 0x90, 0x30, 0x8e } }, /* the band-switch values */ + + /* PHILIPS FI1216 */ + { "PHILIPS_FI1216", /* the 'name' */ + TTYPE_PAL, /* input type */ + { TSBH1_FCONTROL, /* control byte for Tuner PLL */ + TSBH1_FCONTROL, + TSBH1_FCONTROL, + 0x00 }, + { 0x00, 0x00 }, /* band-switch crosspoints */ + { 0x01, 0x02, 0x04, 0x00 } }, /* the band-switch values */ }; Modified: head/sys/dev/bktr/bktr_tuner.h ============================================================================== --- head/sys/dev/bktr/bktr_tuner.h Mon May 28 12:50:36 2018 (r334284) +++ head/sys/dev/bktr/bktr_tuner.h Mon May 28 13:12:34 2018 (r334285) @@ -63,7 +63,8 @@ #define ALPS_TSBH1 13 #define TUNER_MT2032 14 #define LG_TPI8PSB12P_PAL 15 -#define Bt848_MAX_TUNER 16 +#define PHILIPS_FI1216 16 +#define Bt848_MAX_TUNER 17 /* experimental code for Automatic Frequency Control */ #define TUNER_AFC
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805281312.w4SDCZW9098049>