diff options
author | Rene Buergel <rene.buergel@sohard.de> | 2012-09-18 03:00:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 12:23:47 -0400 |
commit | cc183e2a5ebfdddc8d3498149cae6b4c40551a68 (patch) | |
tree | c1e07cdd398ac4f535da041ada1cb9f145a36357 /include/linux/usb/ezusb.h | |
parent | 9fa5780beea1274d498a224822397100022da7d4 (diff) |
USB: ezusb: add support for Cypress FX2LP
This Patch adds support for the newer Cypress FX2LP. It also adapts
three drivers currently using ezusb to the interface change. (whiteheat
and keyspan[_pda])
Signed-off-by: René Bürgel <rene.buergel@sohard.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/ezusb.h')
-rw-r--r-- | include/linux/usb/ezusb.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/usb/ezusb.h b/include/linux/usb/ezusb.h new file mode 100644 index 00000000000..fc618d8d1e9 --- /dev/null +++ b/include/linux/usb/ezusb.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef __EZUSB_H | ||
2 | #define __EZUSB_H | ||
3 | |||
4 | |||
5 | extern int ezusb_writememory(struct usb_device *dev, int address, | ||
6 | unsigned char *data, int length, __u8 bRequest); | ||
7 | |||
8 | extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
9 | extern int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
10 | |||
11 | extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, | ||
12 | const char *firmware_path); | ||
13 | extern int ezusb_fx2_ihex_firmware_download(struct usb_device *dev, | ||
14 | const char *firmware_path); | ||
15 | |||
16 | #endif /* __EZUSB_H */ | ||