Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.8 KiB

  1. //==========================================================================;
  2. //
  3. // WDMDRV.H
  4. // WDM Capture Class Driver definitions.
  5. // Main Include Module.
  6. // Copyright (c) 1996 - 1997 ATI Technologies Inc. All Rights Reserved.
  7. //
  8. //==========================================================================;
  9. #ifndef _WDMDRV_H_
  10. #define _WDMDRV_H_
  11. #include "wdmcommon.h"
  12. #define BOARD_CONEY 0
  13. #define BOARD_CATALINA 1
  14. #define BOARD_KANGAROO 2
  15. #define BOARD_CORONADO 3
  16. #define BOARD_CES 4
  17. #define BOARD_CORFU 5
  18. #define BOARD_MAUI 6
  19. #define IF_OTHER 0
  20. #define IF_MPOC 1
  21. #define CATALINA_MISC_CONTROL_REGISTER 0x40
  22. #define CONEY_I2C_PARALLEL_PORT 0x40 // PCF8574
  23. #define CATALINA_TS_OUT_DISABLE 0x1
  24. #define CATALINA_HARDWARE_RESET 0x2
  25. #define CATALINA_DTV_IF_DISABLE 0x4
  26. #define CATALINA_NTSC_IF_DISABLE 0x8
  27. #define CATALINA_TUNER_AGC_EXTERNAL 0x10
  28. #define MPOC_I2C_ADDRESS 0x8A
  29. #define TUNER_I2C_ADDRESS 0xC0
  30. // VSB I2C Address : 8 bit address with LSB as don't care
  31. #define VSB_I2C_ADDRESS 0x18
  32. /*
  33. * VSB chip version is as below:
  34. * VSB main series - VSB1, VSB2, VSB3... are bits 15-8 of uiVsbChipVersion
  35. * VSB sub series - A,B,C are bits 7-0 of uiVsbChipVersion
  36. *
  37. */
  38. // Board Information
  39. typedef struct
  40. {
  41. UINT uiVsbChipVersion; // Chip type : VSB1 , VSB2
  42. UCHAR ucVsbAddress;
  43. UINT uiIFStage; // IF Stage: MPOC or any other
  44. ULONG ulSupportedModes; // All Modes supported: ATSC, TV
  45. ULONG ulNumSupportedModes; // Number of modes supported
  46. UINT uiBoardID; // Board ID
  47. UCHAR ucBoardName[30]; // Name of the board (CONEY, CATALINA, ..)
  48. UCHAR ucTunerAddress; // Tuner Address
  49. UINT uiTunerID; // Tuner type
  50. UINT uiMpocVersion; // Version of MPOC is IF stage is MPOC
  51. } BoardInfoType, *PBoardInfoType;
  52. #endif // _WDMDRV_H_