From owner-svn-src-head@freebsd.org Mon May 28 13:12:36 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46C38EF6B14; Mon, 28 May 2018 13:12:36 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE1766F35D; Mon, 28 May 2018 13:12:35 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF5955E11; Mon, 28 May 2018 13:12:35 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4SDCZ2n098052; Mon, 28 May 2018 13:12:35 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4SDCZW9098049; Mon, 28 May 2018 13:12:35 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201805281312.w4SDCZW9098049@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Mon, 28 May 2018 13:12:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334285 - head/sys/dev/bktr X-SVN-Group: head X-SVN-Commit-Author: eadler X-SVN-Commit-Paths: head/sys/dev/bktr X-SVN-Commit-Revision: 334285 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 13:12:36 -0000 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 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