Look at the extracted REVID, and print out if it is an FX2 (non-LP), or FX2LP.
Signed-off-by: Alexandru Gagniuc <redacted>
sdi->status = SR_ST_ACTIVE;
sr_info("Opened device %d on %d.%d, "
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,
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)");