1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

support new cards

This commit is contained in:
Ralph Metzler 2016-08-29 18:35:40 +02:00
parent a98a7c95a8
commit fb022009ee

View File

@ -569,6 +569,10 @@ int main(int argc, char **argv)
type = 6; type = 6;
if (ddbid.device == 0x12) if (ddbid.device == 0x12)
type = 7; type = 7;
if (ddbid.device == 0x08)
type = 8;
if (ddbid.device == 0x210)
type = 9;
if (!SectorSize) if (!SectorSize)
return 0; return 0;
@ -632,7 +636,11 @@ int main(int argc, char **argv)
printf("Octopus 35\n"); printf("Octopus 35\n");
break; break;
case 4: case 4:
fname="DVBBridgeV2A_DD01_0007_MXL.bit"; fname="DVBBridgeV2A_DD01_0007_MXL.fpga";
printf("Octopus 4/8\n");
break;
case 8:
fname="DVBBridgeV2A_DD01_0008_CXD.fpga";
printf("Octopus 4/8\n"); printf("Octopus 4/8\n");
break; break;
case 6: case 6:
@ -643,6 +651,10 @@ int main(int argc, char **argv)
fname="DVBBridgeV2B_DD01_0012_STD.fpga"; fname="DVBBridgeV2B_DD01_0012_STD.fpga";
printf("Octopus CI\n"); printf("Octopus CI\n");
break; break;
case 9:
fname="DVBModulatorV2A_DD01_0210.fpga";
printf("Modulator V2\n");
break;
default: default:
printf("UNKNOWN\n"); printf("UNKNOWN\n");
break; break;