Changeset 2440

Show
Ignore:
Timestamp:
10/27/13 20:22:56 (10 years ago)
Author:
mocchi
Message:

[BeBoB/Yamaha?] assign Yamaha's GO series to specific class

Yamaha devices based on BeBoB chipset has device specific operation to control its clock source. Currently 'GO 44' and 'GO 46' is confirmed to be such a device.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/bebob/bebob_avdevice.cpp

    r2413 r2440  
    3636#include "bebob/edirol/edirol_fa66.h" 
    3737#include "bebob/esi/quatafire610.h" 
     38#include "bebob/yamaha/yamaha_avdevice.h" 
    3839 
    3940#include "libieee1394/configrom.h" 
     
    162163                    return new Device(d, configRom); 
    163164           } 
     165        case FW_VENDORID_YAMAHA: 
     166        switch (modelId) { 
     167            case 0x0010000b: 
     168            case 0x0010000c: 
     169                return new Yamaha::GoDevice(d, configRom); 
     170            default: // return a plain BeBoB device 
     171                return new Device(d, configRom); 
     172        } 
    164173        default: 
    165174            return new Device(d, configRom); 
  • trunk/libffado/src/libieee1394/vendor_model_ids.h

    r2196 r2440  
    4242#define FW_VENDORID_STANTON      0x001260 
    4343#define FW_VENDORID_DNR          0x000F64 
     44#define FW_VENDORID_YAMAHA       0x00a0de 
    4445 
    4546// this is the one we assign ourselves