bktr_reg.h (51351) | bktr_reg.h (51694) |
---|---|
1/* | 1/* |
2 * $FreeBSD: head/sys/dev/bktr/bktr_reg.h 51694 1999-09-26 22:06:20Z roger $ 3 * |
|
2 * Copyright (c) 1999 Roger Hardiman 3 * Copyright (c) 1998 Amancio Hasty 4 * Copyright (c) 1995 Mark Tinguely and Jim Lowe 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 15 unchanged lines hidden (view full) --- 25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 * | 4 * Copyright (c) 1999 Roger Hardiman 5 * Copyright (c) 1998 Amancio Hasty 6 * Copyright (c) 1995 Mark Tinguely and Jim Lowe 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions 11 * are met: --- 15 unchanged lines hidden (view full) --- 27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 29 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 31 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 32 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 * POSSIBILITY OF SUCH DAMAGE. 34 * |
33 * $FreeBSD: head/sys/dev/bktr/bktr_reg.h 51351 1999-09-17 17:06:36Z roger $ | |
34 */ | 35 */ |
36 37#ifdef __FreeBSD__ 38#if (__FreeBSD_version >= 310000) 39#include <sys/bus.h> 40#include "smbus.h" 41#else 42#define NSMBUS 0 43#endif 44#endif 45 |
|
35#ifndef PCI_LATENCY_TIMER 36#define PCI_LATENCY_TIMER 0x0c /* pci timer register */ 37#endif 38 39/* 40 * Definitions for the Brooktree 848/878 video capture to pci interface. 41 */ 42#define BROOKTREE_848_PCI_ID 0x0350109E --- 534 unchanged lines hidden (view full) --- 577 int bt848_tuner; 578 int bt848_card; 579 u_long id; 580#define BT848_USE_XTALS 0 581#define BT848_USE_PLL 1 582 int xtal_pll_mode; /* Use XTAL or PLL mode for PAL/SECAM */ int remote_control; /* remote control detected */ 583 int remote_control_addr; /* remote control i2c address */ 584 char msp_version_string[9]; /* MSP version string 34xxx-xx */ | 46#ifndef PCI_LATENCY_TIMER 47#define PCI_LATENCY_TIMER 0x0c /* pci timer register */ 48#endif 49 50/* 51 * Definitions for the Brooktree 848/878 video capture to pci interface. 52 */ 53#define BROOKTREE_848_PCI_ID 0x0350109E --- 534 unchanged lines hidden (view full) --- 588 int bt848_tuner; 589 int bt848_card; 590 u_long id; 591#define BT848_USE_XTALS 0 592#define BT848_USE_PLL 1 593 int xtal_pll_mode; /* Use XTAL or PLL mode for PAL/SECAM */ int remote_control; /* remote control detected */ 594 int remote_control_addr; /* remote control i2c address */ 595 char msp_version_string[9]; /* MSP version string 34xxx-xx */ |
596 int msp_addr; /* MSP i2c address */ |
|
585 586 587}; 588 589typedef struct bktr_softc bktr_reg_t; 590typedef struct bktr_softc* bktr_ptr_t; 591 592#define Bt848_MAX_SIGN 16 593 594struct bt848_card_sig { 595 int card; 596 int tuner; 597 u_char signature[Bt848_MAX_SIGN]; 598}; | 597 598 599}; 600 601typedef struct bktr_softc bktr_reg_t; 602typedef struct bktr_softc* bktr_ptr_t; 603 604#define Bt848_MAX_SIGN 16 605 606struct bt848_card_sig { 607 int card; 608 int tuner; 609 u_char signature[Bt848_MAX_SIGN]; 610}; |