* USB: ftdi_sio: Use jtag quirk for Arrow USB Blaster
@ 2018-04-16 7:33 Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2018-04-16 7:33 UTC (permalink / raw)
To: Vasyl Vavrychuk; +Cc: linux-usb, Johan Hovold
On Wed, Apr 11, 2018 at 05:05:13PM +0300, Vasyl Vavrychuk wrote:
> Arrow USB Blaster integrated on MAX1000 board uses the same vendor ID
> (0x0403) and product ID (0x6010) as the "original" FTDI device.
>
> This patch avoids picking up by ftdi_sio of the first interface of this
> USB device. After that this device can be used by Arrow user-space JTAG
> driver.
>
> Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
> ---
> drivers/usb/serial/ftdi_sio.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
> index 87202ad5a50d..3bab6f83f6de 100644
> --- a/drivers/usb/serial/ftdi_sio.c
> +++ b/drivers/usb/serial/ftdi_sio.c
> @@ -1899,7 +1899,8 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)
>
> if (udev->product &&
> (!strcmp(udev->product, "BeagleBone/XDS100V2") ||
> - !strcmp(udev->product, "SNAP Connect E10")))
> + !strcmp(udev->product, "SNAP Connect E10") ||
> + !strcmp(udev->product, "Arrow USB Blaster")))
I reordered these alphabetically before applying.
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* USB: ftdi_sio: Use jtag quirk for Arrow USB Blaster
@ 2018-04-11 14:05 Vasyl Vavrychuk
0 siblings, 0 replies; 2+ messages in thread
From: Vasyl Vavrychuk @ 2018-04-11 14:05 UTC (permalink / raw)
To: linux-usb, Johan Hovold; +Cc: Vasyl Vavrychuk
Arrow USB Blaster integrated on MAX1000 board uses the same vendor ID
(0x0403) and product ID (0x6010) as the "original" FTDI device.
This patch avoids picking up by ftdi_sio of the first interface of this
USB device. After that this device can be used by Arrow user-space JTAG
driver.
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
---
drivers/usb/serial/ftdi_sio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 87202ad5a50d..3bab6f83f6de 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1899,7 +1899,8 @@ static int ftdi_8u2232c_probe(struct usb_serial *serial)
if (udev->product &&
(!strcmp(udev->product, "BeagleBone/XDS100V2") ||
- !strcmp(udev->product, "SNAP Connect E10")))
+ !strcmp(udev->product, "SNAP Connect E10") ||
+ !strcmp(udev->product, "Arrow USB Blaster")))
return ftdi_jtag_probe(serial);
return 0;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-16 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-16 7:33 USB: ftdi_sio: Use jtag quirk for Arrow USB Blaster Johan Hovold
-- strict thread matches above, loose matches on Subject: below --
2018-04-11 14:05 Vasyl Vavrychuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).