-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Rene Buergel
authored and
Greg Kroah-Hartman
committed
Sep 18, 2012
1 parent
9fa5780
commit cc183e2
Showing
6 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef __EZUSB_H | ||
#define __EZUSB_H | ||
|
||
|
||
extern int ezusb_writememory(struct usb_device *dev, int address, | ||
unsigned char *data, int length, __u8 bRequest); | ||
|
||
extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
extern int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
|
||
extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, | ||
const char *firmware_path); | ||
extern int ezusb_fx2_ihex_firmware_download(struct usb_device *dev, | ||
const char *firmware_path); | ||
|
||
#endif /* __EZUSB_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters