kern/68362: [patch] Add Pixelview PlayTV support to bktr driver.

Carl Makin carl at stagecraft.cx
Sat Jun 26 10:31:01 GMT 2004


>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 at 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 < <file below>

--- 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:


More information about the freebsd-bugs mailing list