Ticket #2548: 6200ch.diff

File 6200ch.diff, 1.2 KB (added by fryfrog@…, 15 years ago)

Patch to add new DCT6412 to 6200ch.c

  • .c

    old new  
    4545#define DCT6200_MODEL_ID1  0x0000620a
    4646#define DCT6200_MODEL_ID2  0x00006200
    4747#define DCT6412_VENDOR_ID1 0x00000f9f
     48#define DCT6412_VENDOR_ID2 0x0000152f
    4849#define DCT6412_MODEL_ID1  0x000064ca
     50#define DCT6412_MODEL_ID2  0x000064cb
    4951
    5052#define AVC1394_SUBUNIT_TYPE_6200 (9 << 19)  /* uses a reserved subunit type */
    5153
     
    173175            (dir.vendor_id == DCT6200_VENDOR_ID9) ||
    174176            (dir.vendor_id == DCT6200_VENDOR_ID10) ||
    175177            (dir.vendor_id == DCT6200_VENDOR_ID11) ||
    176             (dir.vendor_id == DCT6412_VENDOR_ID1)) &&
     178            (dir.vendor_id == DCT6412_VENDOR_ID1) ||
     179            (dir.vendor_id == DCT6412_VENDOR_ID2)) &&
    177180           ((dir.model_id == DCT6200_MODEL_ID1) ||
    178181            (dir.model_id == DCT6200_MODEL_ID2) ||
    179             (dir.model_id == DCT6412_MODEL_ID1)) ) {
     182            (dir.model_id == DCT6412_MODEL_ID1) ||
     183            (dir.model_id == DCT6412_MODEL_ID2)) ) {
    180184            if (dir.unit_spec_id != DCT6200_SPEC_ID)
    181185               fprintf(stderr, "Warning: Unit Spec ID different.\n");
    182186            if (dir.unit_sw_version != DCT6200_SW_VERSION)