mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
Bug fixes
Change number of VBI lines from 16 to 12 for NTSC formats. Juha.Nurmela@quicknet.inet.fi found/fixed bug in VBI_SLEEP. New features MSP3430G DBX initialisation from Matt Brown <matt@dqc.org> STB Bt878 card identification. Hauppauge Model Number identification. Changes to probeCard() for better eeprom identification. Experimental TDA9850 initialisation code, from Linux bttv. Cross Platform Changes The driver has been reorgainsed based ideas from Brad Parker's port to Linux to seperate OS Dependant and Independant sections. I have backends for FreeBSD 2.2.x/3.x and 4.x newbus, BSDI, OpenBSD and NetBSD. This commit has FreeBSD 2.2.8/2.2-stable/3.x and FreeBSD 4.x newbus backends. Some code submitted by: Juha.Nurmela@quicknet.inet.fi Matt Brown <matt@dqc.org> Brad Parker <brad@parker.boston.ma.us> Some code obtained from: Linux bttv driver
This commit is contained in:
parent
01533d852e
commit
4efbc31757
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48781
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 1999 Roger Hardiman
|
||||
* Copyright (c) 1998 Amancio Hasty
|
||||
* Copyright (c) 1995 Mark Tinguely and Jim Lowe
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -28,7 +30,7 @@
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: brktree_reg.h,v 1.28 1999/05/25 12:44:40 roger Exp $
|
||||
* $Id: brktree_reg.h,v 1.29 1999/06/12 14:54:56 roger Exp $
|
||||
*/
|
||||
#ifndef PCI_LATENCY_TIMER
|
||||
#define PCI_LATENCY_TIMER 0x0c /* pci timer register */
|
||||
@ -430,11 +432,11 @@ struct bktr_softc {
|
||||
#endif
|
||||
|
||||
#if defined (__FreeBSD__)
|
||||
#if (__FreeBSD__ < 4)
|
||||
#if (__FreeBSD_version < 400000)
|
||||
vm_offset_t phys_base; /* 2.x Bt848 register physical address */
|
||||
pcici_t tag; /* 2.x PCI tag, for doing PCI commands */
|
||||
#endif
|
||||
#if (__FreeBSD__ > 3)
|
||||
#if (__FreeBSD_version >= 400000)
|
||||
struct resource *res_mem; /* 4.x resource descriptor for registers */
|
||||
struct resource *res_irq; /* 4.x resource descriptor for interrupt */
|
||||
void *res_ih; /* 4.x newbus interrupt handler cookie */
|
||||
@ -557,7 +559,9 @@ struct bktr_softc {
|
||||
#define BT848_USE_XTALS 0
|
||||
#define BT848_USE_PLL 1
|
||||
int xtal_pll_mode; /* Use XTAL or PLL mode for PAL/SECAM */ int remote_control; /* remote control detected */
|
||||
int remote_control_addr; /* remote control i2c address */
|
||||
int remote_control_addr; /* remote control i2c address */
|
||||
char msp_version_string[9]; /* MSP version string 34xxx-xx */
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 1999 Roger Hardiman
|
||||
* Copyright (c) 1998 Amancio Hasty
|
||||
* Copyright (c) 1995 Mark Tinguely and Jim Lowe
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -28,7 +30,7 @@
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: brktree_reg.h,v 1.28 1999/05/25 12:44:40 roger Exp $
|
||||
* $Id: brktree_reg.h,v 1.29 1999/06/12 14:54:56 roger Exp $
|
||||
*/
|
||||
#ifndef PCI_LATENCY_TIMER
|
||||
#define PCI_LATENCY_TIMER 0x0c /* pci timer register */
|
||||
@ -430,11 +432,11 @@ struct bktr_softc {
|
||||
#endif
|
||||
|
||||
#if defined (__FreeBSD__)
|
||||
#if (__FreeBSD__ < 4)
|
||||
#if (__FreeBSD_version < 400000)
|
||||
vm_offset_t phys_base; /* 2.x Bt848 register physical address */
|
||||
pcici_t tag; /* 2.x PCI tag, for doing PCI commands */
|
||||
#endif
|
||||
#if (__FreeBSD__ > 3)
|
||||
#if (__FreeBSD_version >= 400000)
|
||||
struct resource *res_mem; /* 4.x resource descriptor for registers */
|
||||
struct resource *res_irq; /* 4.x resource descriptor for interrupt */
|
||||
void *res_ih; /* 4.x newbus interrupt handler cookie */
|
||||
@ -557,7 +559,9 @@ struct bktr_softc {
|
||||
#define BT848_USE_XTALS 0
|
||||
#define BT848_USE_PLL 1
|
||||
int xtal_pll_mode; /* Use XTAL or PLL mode for PAL/SECAM */ int remote_control; /* remote control detected */
|
||||
int remote_control_addr; /* remote control i2c address */
|
||||
int remote_control_addr; /* remote control i2c address */
|
||||
char msp_version_string[9]; /* MSP version string 34xxx-xx */
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user