]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: serial: ftdi_sio: new hardware support - hameg power supply
authorPawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl>
Thu, 27 Aug 2009 12:15:50 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:31:52 +0000 (09:31 -0700)
commit e7d7fcc09ebde1ea1773521ecab5a3f0ad6bef6e upstream.

I'd like to present my small patch enabling to use Hameg HM8143 programmable
power supply with linux.

Signed-off-by: Pawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.h

index 8fec5d4455c94334eaa12ab8c80c3f47566fd84b..cf14d69d4fd3eab17e28e355c8efc612267d1a69 100644 (file)
@@ -702,6 +702,8 @@ static struct usb_device_id id_table_combined [] = {
        { USB_DEVICE(BAYER_VID, BAYER_CONTOUR_CABLE_PID) },
        { USB_DEVICE(FTDI_VID, MARVELL_OPENRD_PID),
                .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+       { USB_DEVICE(FTDI_VID, HAMEG_HO820_PID) },
+       { USB_DEVICE(FTDI_VID, HAMEG_HO870_PID) },
        { },                                    /* Optional parameter entry */
        { }                                     /* Terminating entry */
 };
index 8c92b88166aec7a50be1f14aba009b802d518193..3c85bfd46729a3e78aa61a8e6361b93920df689d 100644 (file)
  */
 #define MARVELL_OPENRD_PID     0x9e90
 
+/*
+ * Hameg HO820 and HO870 interface (using VID 0x0403)
+ */
+#define        HAMEG_HO820_PID         0xed74
+#define        HAMEG_HO870_PID         0xed71
+
 /*
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ