Re: Patch for 3.18-rc4 to add OLIMEX ISP500 AVR Programmer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-11-12 13:05, Lars Melin wrote:
On 2014-11-11 23:43, Sid Boyce wrote:
Results
-----------
root@sdrbox:~# lsusb
Bus 002 Device 004: ID 13fd:1840 Initio Corporation INIC-1608 SATA bridge
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 15ba:000c Olimex Ltd.



git_OLIMEX_AVR_ISP500.diff


This patch adds support for the OLIMEX ISP500 AVR Programmer to kernel 3.18-rc4.
Signed off by: Sid Boyce (sboyce@xxxxxxxxxxxxxxxx)
Tested by: Sid Boyce (sboyce@xxxxxxxxxxxxxxxx)

diff --git a/a/drivers/usb/serial/ftdi_sio.c b/b/drivers/usb/serial/ftdi_sio.c
index 0dad8ce..7a471e8 100644
--- a/a/drivers/usb/serial/ftdi_sio.c
+++ b/b/drivers/usb/serial/ftdi_sio.c
@@ -770,6 +770,7 @@ static const struct usb_device_id id_table_combined[] = {
  		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
  	{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_H_PID),
  		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+	{ USB_DEVICE(OLIMEX_VID, OLIMEX_AVR_ISP500_ISO_PID) },
  	{ USB_DEVICE(FIC_VID, FIC_NEO1973_DEBUG_PID),
  		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
  	{ USB_DEVICE(FTDI_VID, FTDI_OOCDLINK_PID),
diff --git a/a/drivers/usb/serial/ftdi_sio_ids.h b/b/drivers/usb/serial/ftdi_sio_ids.h
index 6786b70..78bfc30 100644
--- a/a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/b/drivers/usb/serial/ftdi_sio_ids.h
@@ -838,6 +838,7 @@
  /* Olimex */
  #define OLIMEX_VID			0x15BA
  #define OLIMEX_ARM_USB_OCD_PID		0x0003
+#define OLIMEX_AVR_ISP500_ISO_PID        0x000B
  #define OLIMEX_ARM_USB_OCD_H_PID	0x002b
/*

Did you really test this patch as indicated by your tested-by ?
How come the pid in your lsusb output doesn't match the pid you defined in the patch?

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux