Ticket #4030: 6200ch-add-dch3200.patch

File 6200ch-add-dch3200.patch, 1.4 KB (added by chris-mythtv@…, 12 years ago)
  • 6200ch.c

    old new  
    4040#define DCT6200_VENDOR_ID9 0x000014e8
    4141#define DCT6200_VENDOR_ID10 0x000016b5
    4242#define DCT6200_VENDOR_ID11 0x00001371
     43#define DCH3200_VENDOR_ID1 0x00001c11
    4344#define DCT6200_SPEC_ID    0x00005068
    4445#define DCT6200_SW_VERSION 0x00010101
    4546#define DCT6200_MODEL_ID1  0x0000620a
    4647#define DCT6200_MODEL_ID2  0x00006200
     48#define DCH3200_MODEL_ID1  0x0000d330
    4749#define DCT6412_VENDOR_ID1 0x00000f9f
    4850#define DCT6412_MODEL_ID1  0x000064ca
    4951
     
    172174            (dir.vendor_id == DCT6200_VENDOR_ID8) ||
    173175            (dir.vendor_id == DCT6200_VENDOR_ID9) ||
    174176            (dir.vendor_id == DCT6200_VENDOR_ID10) ||
    175             (dir.vendor_id == DCT6200_VENDOR_ID11) ||
    176             (dir.vendor_id == DCT6412_VENDOR_ID1)) &&
     177            (dir.vendor_id == DCT6412_VENDOR_ID1)) ||
     178            (dir.vendor_id == DCH3200_VENDOR_ID1) &&
    177179           ((dir.model_id == DCT6200_MODEL_ID1) ||
    178180            (dir.model_id == DCT6200_MODEL_ID2) ||
    179             (dir.model_id == DCT6412_MODEL_ID1)) ) {
     181            (dir.model_id == DCT6412_MODEL_ID1) ||
     182            (dir.model_id == DCH3200_MODEL_ID1)) ) {
    180183            if (dir.unit_spec_id != DCT6200_SPEC_ID)
    181184               fprintf(stderr, "Warning: Unit Spec ID different.\n");
    182185            if (dir.unit_sw_version != DCT6200_SW_VERSION)