static const char *probe_names[] = {
"0", "1", "2", "3", "4", "5", "6", "7",
- "8", "9", "10", "11", "12", "13", "14", "15", NULL,
+ "8", "9", "10", "11", "12", "13", "14", "15",
+ NULL,
};
static const uint64_t supported_samplerates[] = {
sdi->status = SR_ST_ACTIVE;
sr_info("Opened device %d on %d.%d, "
- "interface %d, firmware %d.%d, REVID %d.",
+ "interface %d, firmware %d.%d.",
sdi->index, devc->usb->bus, devc->usb->address,
- USB_INTERFACE, vi.major, vi.minor, revid);
+ USB_INTERFACE, vi.major, vi.minor);
+
+ sr_info("Detected REVID=%d, it's a Cypress CY7C68013%s.",
+ revid, (revid != 1) ? " (FX2)" : "A (FX2LP)");
break;
}
case SR_DI_HWCAPS:
*data = hwcaps;
break;
- case SR_DI_NUM_PROBES:
- if (sdi) {
- devc = sdi->priv;
- *data = GINT_TO_POINTER(
- (devc->profile->dev_caps & DEV_CAPS_16BIT) ?
- 16 : 8);
- } else
- return SR_ERR;
- break;
- case SR_DI_PROBE_NAMES:
- *data = probe_names;
- break;
case SR_DI_SAMPLERATES:
*data = &samplerates;
break;