From e83d5a84f20b40b57c4d948deae5e5b4c12635cb Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 26 Apr 2013 15:25:25 +0200 Subject: [PATCH] nusb/serial: Add support for Amontec JTAGkey devices (from sources) --- sys/src/cmd/nusb/serial/ftdi.c | 1 + sys/src/cmd/nusb/serial/ftdi.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/sys/src/cmd/nusb/serial/ftdi.c b/sys/src/cmd/nusb/serial/ftdi.c index ee88e5433..e7bc60dc0 100644 --- a/sys/src/cmd/nusb/serial/ftdi.c +++ b/sys/src/cmd/nusb/serial/ftdi.c @@ -202,6 +202,7 @@ Cinfo ftinfo[] = { { PAPOUCHVid, PAPOUCHTMUDid }, { FTVid, FTACGHFDUALDid }, { FT8U232AMDid, FT4232HDid }, + { FTVid, AMONKEYDid }, { 0, 0 }, }; diff --git a/sys/src/cmd/nusb/serial/ftdi.h b/sys/src/cmd/nusb/serial/ftdi.h index 7abb63847..5b3972d8e 100644 --- a/sys/src/cmd/nusb/serial/ftdi.h +++ b/sys/src/cmd/nusb/serial/ftdi.h @@ -386,6 +386,10 @@ enum { */ FT4232HDid = 0x6011, /* FTDI FT4232H based device */ + /* + * Amontec JTAGkey (http://www.amontec.com/) + */ + AMONKEYDid = 0xCFF8, }; /* Commands */