Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 1997 22:37:24 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        multimedia@freebsd.org
Subject:   pal patch...
Message-ID:  <199712270637.WAA00322@rah.star-gate.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Jonathan Hanna <pangolin@rogers.wave.ca> has submitted the following patch
please if you have a PAL unit test the patch.

Will commit the patch tomorrow if I don't hear anything negative from
the list. This is against a 3.0-current kernel...

	Tnks,
	Amancio


[-- Attachment #2 --]
*** brooktree848.c.orig	Fri Dec 26 22:03:15 1997
--- brooktree848.c	Fri Dec 26 22:11:00 1997
***************
*** 1,4 ****
! /* BT848 1.20 Driver for Brooktree's Bt848 based cards.
     The Brooktree  BT848 Driver driver is based upon Mark Tinguely and
     Jim Lowe's driver for the Matrox Meteor PCI card . The 
     Philips SAA 7116 and SAA 7196 are very different chipsets than
--- 1,4 ----
! /* BT848 1.24 Driver for Brooktree's Bt848 based cards.
     The Brooktree  BT848 Driver driver is based upon Mark Tinguely and
     Jim Lowe's driver for the Matrox Meteor PCI card . The 
     Philips SAA 7116 and SAA 7196 are very different chipsets than
***************
*** 199,204 ****
--- 199,206 ----
                             Fixes for packed 24bpp - FIFO alignment
  1.23            11/17/97   Amancio <hasty@star-gate.com>
                             Added yuv support mpeg encoding 
+ 1.24            12/27/97   Jonathan Hanna <pangolin@rogers.wave.ca>
+                            Patch to support Philips FR1236MK2 tuner
  
  */
  
***************
*** 530,535 ****
--- 532,541 ----
  #define PHILIPS_NTSC_WADDR	0xc6
  #define PHILIPS_NTSC_RADDR	0xc7
  
+ /* PLL on a the Philips FR1236MK2 tuner */
+ #define PHILIPS_FR1236_NTSC_WADDR      0xc2
+ #define PHILIPS_FR1236_NTSC_RADDR      0xc3
+ 
  /* guaranteed address for any TSA5522/3 (PLL on all(?) tuners) */
  #define TSA552x_WADDR		0xc2
  #define TSA552x_RADDR		0xc3
***************
*** 3714,3719 ****
--- 3720,3727 ----
  #define PHILIPS_SECAM		6
  #define TEMIC_PALI		7
  #define PHILIPS_PALI		8
+ #define PHILIPS_FR1236_NTSC     9
+ 
  /* XXX FIXME: this list is incomplete */
  
  /* input types */
***************
*** 3805,3813 ****
  	{ "Philips PAL I",			/* the 'name' */
  	   TTYPE_PAL,				/* input type */
  	   0x00,				/* PLL write address */
! 	   TSA552x_SCONTROL,			/* control byte for PLL */
! 	   { 0x00, 0x00 },			/* band-switch crosspoints */
! 	   { 0xa0, 0x90, 0x30 } },		/* the band-switch values */
  };
  
  
--- 3813,3829 ----
  	{ "Philips PAL I",			/* the 'name' */
  	   TTYPE_PAL,				/* input type */
  	   0x00,				/* PLL write address */
!           TSA552x_SCONTROL,                    /* control byte for PLL */
!           { 0x00, 0x00 },                      /* band-switch crosspoints */
!           { 0xa0, 0x90, 0x30 } },              /* the band-switch values */
! 
!        /* PHILIPS_FR1236_NTSC */
!        { "Philips FR1236 NTSC FM",             /* the 'name' */
!           TTYPE_NTSC,                          /* input type */
!           PHILIPS_FR1236_NTSC_WADDR,           /* PLL write address */
! 	  TSA552x_SCONTROL,			/* control byte for PLL */
!           { 0x00, 0x00 },			/* band-switch crosspoints */
! 	  { 0xa0, 0x90, 0x30 } },		/* the band-switch values */
  };
  
  

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712270637.WAA00322>