diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 171fc50f..da9e47bb 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -3,6 +3,9 @@ * src/tap/usbconn/libftdi.c (usbconn_ftdi_common_open): Use the new interface option and call ftdi_set_interface with it. Patch by Michael Walle. + * src/tap/cable/generic_usbconn.h: Add new "interface" option to usage. + Patch by Michael Walle. + 2011-04-30 Mike Frysinger * configure.ac: Force recent versions of autotools (at least ones released diff --git a/urjtag/src/tap/cable/generic_usbconn.h b/urjtag/src/tap/cable/generic_usbconn.h index b4cbeb56..f0b87ba9 100644 --- a/urjtag/src/tap/cable/generic_usbconn.h +++ b/urjtag/src/tap/cable/generic_usbconn.h @@ -43,11 +43,12 @@ void urj_tap_cable_generic_usbconn_help (urj_log_level_t ll, const char *cablena void urj_tap_cable_generic_usbconn_help_ex (urj_log_level_t ll, const char *cablename, const char *ex_short, const char *ex_desc); #define URJ_TAP_CABLE_GENERIC_USBCONN_HELP_SHORT \ - "[vid=VID] [pid=PID] [desc=DESC]" + "[vid=VID] [pid=PID] [desc=DESC] [interface=INTERFACE]" #define URJ_TAP_CABLE_GENERIC_USBCONN_HELP_DESC \ "VID USB Device Vendor ID (hex, e.g. 0abc)\n" \ "PID USB Device Product ID (hex, e.g. 0abc)\n" \ - "DESC Some string to match in description or serial no.\n" + "DESC Some string to match in description or serial no.\n" \ + "INTERFACE Interface to use (0=first, 1=second, etc).\n" #define URJ_DECLARE_USBCONN_CABLE(vid, pid, driver, name, cable) \ const urj_usbconn_cable_t urj_tap_cable_usbconn_##cable = { name, NULL, driver, vid, pid };