bktr_reg.h (51694) | bktr_reg.h (52593) |
---|---|
1/* | 1/* |
2 * $FreeBSD: head/sys/dev/bktr/bktr_reg.h 51694 1999-09-26 22:06:20Z roger $ | 2 * $FreeBSD: head/sys/dev/bktr/bktr_reg.h 52593 1999-10-28 13:58:17Z 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 --- 351 unchanged lines hidden (view full) --- 362#define EEPROMBLOCKSIZE 32 363struct CARDTYPE { 364 unsigned int card_id; /* card id (from #define's) */ 365 char* name; 366 const struct TUNER* tuner; /* Tuner details */ 367 u_char tuner_pllAddr; /* Tuner i2c address */ 368 u_char dbx; /* Has DBX chip? */ 369 u_char msp3400c; /* Has msp3400c chip? */ | 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 --- 351 unchanged lines hidden (view full) --- 362#define EEPROMBLOCKSIZE 32 363struct CARDTYPE { 364 unsigned int card_id; /* card id (from #define's) */ 365 char* name; 366 const struct TUNER* tuner; /* Tuner details */ 367 u_char tuner_pllAddr; /* Tuner i2c address */ 368 u_char dbx; /* Has DBX chip? */ 369 u_char msp3400c; /* Has msp3400c chip? */ |
370 u_char dpl3518a; /* Has dpl3518a chip? */ |
|
370 u_char eepromAddr; 371 u_char eepromSize; /* bytes / EEPROMBLOCKSIZE */ 372 u_int audiomuxs[ 5 ]; /* tuner, ext (line-in) */ 373 /* int/unused (radio) */ 374 /* mute, present */ 375 u_int gpio_mux_bits; /* GPIO mask for audio mux */ 376}; 377 --- 207 unchanged lines hidden (view full) --- 585 int max_clip_node; 586 bktr_clip_t clip_list[100]; 587 int reverse_mute; 588 int bt848_tuner; 589 int bt848_card; 590 u_long id; 591#define BT848_USE_XTALS 0 592#define BT848_USE_PLL 1 | 371 u_char eepromAddr; 372 u_char eepromSize; /* bytes / EEPROMBLOCKSIZE */ 373 u_int audiomuxs[ 5 ]; /* tuner, ext (line-in) */ 374 /* int/unused (radio) */ 375 /* mute, present */ 376 u_int gpio_mux_bits; /* GPIO mask for audio mux */ 377}; 378 --- 207 unchanged lines hidden (view full) --- 586 int max_clip_node; 587 bktr_clip_t clip_list[100]; 588 int reverse_mute; 589 int bt848_tuner; 590 int bt848_card; 591 u_long id; 592#define BT848_USE_XTALS 0 593#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 */ | 594 int xtal_pll_mode; /* Use XTAL or PLL mode for PAL/SECAM */ 595 int remote_control; /* remote control detected */ 596 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 char msp_version_string[9]; /* MSP version string 34xxx-xx */ 598 int msp_addr; /* MSP i2c address */ |
599 char dpl_version_string[9]; /* DPL version string 35xxx-xx */ 600 int dpl_addr; /* DPL i2c address */ |
|
597 | 601 |
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}; | 602}; 603 604typedef struct bktr_softc bktr_reg_t; 605typedef struct bktr_softc* bktr_ptr_t; 606 607#define Bt848_MAX_SIGN 16 608 609struct bt848_card_sig { 610 int card; 611 int tuner; 612 u_char signature[Bt848_MAX_SIGN]; 613}; |