|
@@ -587,6 +587,7 @@ extern struct device_api bitforce_api;
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USE_ICARUS
|
|
#ifdef USE_ICARUS
|
|
|
|
|
+extern struct device_api cairnsmore_api;
|
|
|
extern struct device_api icarus_api;
|
|
extern struct device_api icarus_api;
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
@@ -1018,6 +1019,8 @@ static int numpgas()
|
|
|
count++;
|
|
count++;
|
|
|
#endif
|
|
#endif
|
|
|
#ifdef USE_ICARUS
|
|
#ifdef USE_ICARUS
|
|
|
|
|
+ if (devices[i]->api == &cairnsmore_api)
|
|
|
|
|
+ count++;
|
|
|
if (devices[i]->api == &icarus_api)
|
|
if (devices[i]->api == &icarus_api)
|
|
|
count++;
|
|
count++;
|
|
|
#endif
|
|
#endif
|
|
@@ -1044,6 +1047,8 @@ static int pgadevice(int pgaid)
|
|
|
count++;
|
|
count++;
|
|
|
#endif
|
|
#endif
|
|
|
#ifdef USE_ICARUS
|
|
#ifdef USE_ICARUS
|
|
|
|
|
+ if (devices[i]->api == &cairnsmore_api)
|
|
|
|
|
+ count++;
|
|
|
if (devices[i]->api == &icarus_api)
|
|
if (devices[i]->api == &icarus_api)
|
|
|
count++;
|
|
count++;
|
|
|
#endif
|
|
#endif
|