aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-12 19:31:13 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-12 19:31:13 +0000
commitbaa63aa608383a2b08134e290aae520c6e9ea08f (patch)
tree8a2b12bfcee98fc1c558c767ef83460c14b98ccc /contrib
parent519896811600849b27f0803e08ee5f9152423f24 (diff)
Xiaofan Chen <xiaofanc@gmail.com> retire obsolete patch. OpenOCD only supports 0.14 and newer and the patch was for 0.14.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2511 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libftdi/README7
-rw-r--r--contrib/libftdi/libftdi-0.12_win32.patch20
2 files changed, 0 insertions, 27 deletions
diff --git a/contrib/libftdi/README b/contrib/libftdi/README
deleted file mode 100644
index 475c4e55..00000000
--- a/contrib/libftdi/README
+++ /dev/null
@@ -1,7 +0,0 @@
-libftdi can be built to work under win32 (cygwin/mingw) after applying the patch in this directory.
-
-The issue is caused by windows requiring usb_set_configuration to be called before the usb_claim_interface.
-
-Spen
-spen@spen-soft.co.uk
-
diff --git a/contrib/libftdi/libftdi-0.12_win32.patch b/contrib/libftdi/libftdi-0.12_win32.patch
deleted file mode 100644
index 426523c7..00000000
--- a/contrib/libftdi/libftdi-0.12_win32.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/ftdi.c.orig Wed Apr 16 16:24:30 2008
-+++ src/ftdi.c Thu May 01 20:19:46 2008
-@@ -358,6 +358,17 @@
- if (usb_detach_kernel_driver_np(ftdi->usb_dev, ftdi->interface) != 0 && errno != ENODATA)
- detach_errno = errno;
- #endif
-+
-+#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
-+ if (usb_set_configuration(ftdi->usb_dev, 1) != 0) {
-+ usb_close (ftdi->usb_dev);
-+ if (detach_errno == EPERM) {
-+ ftdi_error_return(-8, "inappropriate permissions on device!");
-+ } else {
-+ ftdi_error_return(-5, "unable to set configuration");
-+ }
-+ }
-+#endif
-
- if (usb_claim_interface(ftdi->usb_dev, ftdi->interface) != 0) {
- usb_close (ftdi->usb_dev);