From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 26 10:31:01 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78C3D16A4CF for ; Sat, 26 Jun 2004 10:31:01 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6200543D45 for ; Sat, 26 Jun 2004 10:31:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5QAURfh024898 for ; Sat, 26 Jun 2004 10:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5QAURpA024897; Sat, 26 Jun 2004 10:30:27 GMT (envelope-from gnats) Resent-Date: Sat, 26 Jun 2004 10:30:27 GMT Resent-Message-Id: <200406261030.i5QAURpA024897@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Carl Makin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B147B16A4CE for ; Sat, 26 Jun 2004 10:23:46 +0000 (GMT) Received: from brain.stagecraft.cx (brain.stagecraft.cx [202.45.97.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF35443D1F for ; Sat, 26 Jun 2004 10:23:45 +0000 (GMT) (envelope-from carl@stagecraft.cx) Received: from bumper.stagecraft.cx (bumper.stagecraft.cx [172.30.0.5]) by brain.stagecraft.cx (8.12.9/8.12.9) with ESMTP id i5QAMK5H053654 for ; Sat, 26 Jun 2004 20:22:21 +1000 (EST) (envelope-from carl@stagecraft.cx) Received: from bumper.stagecraft.cx (localhost [127.0.0.1]) i5QAMKSg021106 for ; Sat, 26 Jun 2004 20:22:20 +1000 (EST) (envelope-from carl@bumper.stagecraft.cx) Received: (from carl@localhost) by bumper.stagecraft.cx (8.12.11/8.12.11/Submit) id i5QAMJ1p021105; Sat, 26 Jun 2004 20:22:19 +1000 (EST) (envelope-from carl) Message-Id: <200406261022.i5QAMJ1p021105@bumper.stagecraft.cx> Date: Sat, 26 Jun 2004 20:22:19 +1000 (EST) From: Carl Makin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/68362: [patch] Add Pixelview PlayTV support to bktr driver. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Carl Makin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 10:31:01 -0000 >Number: 68362 >Category: kern >Synopsis: [patch] Add Pixelview PlayTV support to bktr driver. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jun 26 10:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Carl Makin >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD bumper.stagecraft.cx 4.10-STABLE FreeBSD 4.10-STABLE #16: Thu Jun 24 18:37:48 EST 2004 carl@bumper.stagecraft.cx:/usr/obj/usr/src/sys/BUMPER i386 >Description: The below two simple patches add support for the Pixelview PlayTV Pak BT878 based TV card. Patch is valid for 4.9 and 4.10. I don't have a current machine to test it on. >How-To-Repeat: >Fix: cd /usr/src patch < --- sys/dev/bktr/bktr_card.c.orig Wed Jun 18 02:55:08 2003 +++ sys/dev/bktr/bktr_card.c Thu Jun 24 17:50:07 2004 @@ -355,6 +355,18 @@ { 0x10000, 0, 0x10000, 0, 1 }, /* audio MUX values */ 0x10f00 }, /* GPIO mask */ + { CARD_PIXELVIEW_PLAYTV_PAK, /* the card id */ + "PixelView PlayTV Pak", /* the 'name' */ + NULL, /* the tuner */ + 0, /* the tuner i2c address */ + 0, /* dbx is optional */ + 0, + 0, + PFC8582_WADDR, /* EEProm type */ + (u_char)(256 / EEPROMBLOCKSIZE), /* 256 bytes */ + { 0x20000, 0x80000, 0, 0xa8000, 1 }, /* audio MUX values */ + 0xAA0000 }, /* GPIO mask */ + }; struct bt848_card_sig bt848_card_signature[1]= { --- sys/dev/bktr/bktr_card.h.orig Sat Feb 8 13:04:57 2003 +++ sys/dev/bktr/bktr_card.h Thu Jun 24 17:50:14 2004 @@ -77,7 +77,8 @@ #define CARD_LEADTEK 15 #define CARD_TERRATVPLUS 16 #define CARD_IO_BCTV3 17 -#define Bt848_MAX_CARD 18 +#define CARD_PIXELVIEW_PLAYTV_PAK 18 +#define Bt848_MAX_CARD 19 #define CARD_IO_GV CARD_IO_BCTV2 >Release-Note: >Audit-Trail: >Unformatted: