diff options
author | Pawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl> | 2009-08-27 08:15:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:15 -0400 |
commit | e7d7fcc09ebde1ea1773521ecab5a3f0ad6bef6e (patch) | |
tree | b3d1d3f4f5bc0f20b6fa2d637c6fc2a902a47d35 | |
parent | e5dc8ae121592239c2a2521d383bcb789849b2a3 (diff) |
USB: serial: ftdi_sio: new hardware support - hameg power supply
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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 76a17f915eef..f0cb7d646d7d 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -702,6 +702,8 @@ static struct usb_device_id id_table_combined [] = { | |||
702 | { USB_DEVICE(BAYER_VID, BAYER_CONTOUR_CABLE_PID) }, | 702 | { USB_DEVICE(BAYER_VID, BAYER_CONTOUR_CABLE_PID) }, |
703 | { USB_DEVICE(FTDI_VID, MARVELL_OPENRD_PID), | 703 | { USB_DEVICE(FTDI_VID, MARVELL_OPENRD_PID), |
704 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | 704 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, |
705 | { USB_DEVICE(FTDI_VID, HAMEG_HO820_PID) }, | ||
706 | { USB_DEVICE(FTDI_VID, HAMEG_HO870_PID) }, | ||
705 | { }, /* Optional parameter entry */ | 707 | { }, /* Optional parameter entry */ |
706 | { } /* Terminating entry */ | 708 | { } /* Terminating entry */ |
707 | }; | 709 | }; |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 8c92b88166ae..3c85bfd46729 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -968,6 +968,12 @@ | |||
968 | #define MARVELL_OPENRD_PID 0x9e90 | 968 | #define MARVELL_OPENRD_PID 0x9e90 |
969 | 969 | ||
970 | /* | 970 | /* |
971 | * Hameg HO820 and HO870 interface (using VID 0x0403) | ||
972 | */ | ||
973 | #define HAMEG_HO820_PID 0xed74 | ||
974 | #define HAMEG_HO870_PID 0xed71 | ||
975 | |||
976 | /* | ||
971 | * BmRequestType: 1100 0000b | 977 | * BmRequestType: 1100 0000b |
972 | * bRequest: FTDI_E2_READ | 978 | * bRequest: FTDI_E2_READ |
973 | * wValue: 0 | 979 | * wValue: 0 |