Ticket #4924: 6200_avc.diff

File 6200_avc.diff, 872 bytes (added by bmayland@…, 13 years ago)

use standard AVC commands

  • 6200ch.c

     
    7676#define DCT6416_VENDOR_ID2 0x00001a66
    7777#define DCT6416_MODEL_ID1  0x0000646b
    7878
    79 #define AVC1394_SUBUNIT_TYPE_6200 (9 << 19)  /* uses a reserved subunit type */
    80 
    81 #define AVC1394_6200_COMMAND_CHANNEL 0x000007C00   /* 6200 subunit command */
    8279#define AVC1394_6200_OPERAND_SET 0x20      /* 6200 subunit command operand */
    8380
    84 #define CTL_CMD0 AVC1394_CTYPE_CONTROL | AVC1394_SUBUNIT_TYPE_6200 | \
    85         AVC1394_SUBUNIT_ID_0 | AVC1394_6200_COMMAND_CHANNEL | \
     81#define CTL_CMD0 AVC1394_CTYPE_CONTROL | AVC1394_SUBUNIT_TYPE_PANEL | \
     82        AVC1394_SUBUNIT_ID_0 | AVC1394_PANEL_COMMAND_PASS_THROUGH | \
    8683        AVC1394_6200_OPERAND_SET
    8784
    8885#define STARTING_NODE 1  /* skip 1394 nodes to avoid error msgs */