1/* |
2 * $FreeBSD: head/sys/dev/bktr/bktr_reg.h 51694 1999-09-26 22:06:20Z roger $ 3 * |
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 * |
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 |
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 */ |
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}; |