summaryrefslogtreecommitdiff
path: root/packages/libftdi/files
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-03-09 23:06:59 +0000
committerRod Whitby <rod@whitby.id.au>2007-03-09 23:06:59 +0000
commitcadb15e302cc705581cbd83b21340a0cfe06f7f0 (patch)
treeba2a4c84f2b8eae63a624f14d07af86dfaf7f26c /packages/libftdi/files
parentb0d3af32f8bba943d9f31a57e0b566d3204a7f4c (diff)
libftdi: Added ftdi-eeprom from OpenMoko and added missing confuse dependency and libftdi binconfig, pkgconfig and lib_package inherits.
Diffstat (limited to 'packages/libftdi/files')
-rw-r--r--packages/libftdi/files/ftdi_eeprom-0.2-moko.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/libftdi/files/ftdi_eeprom-0.2-moko.patch b/packages/libftdi/files/ftdi_eeprom-0.2-moko.patch
new file mode 100644
index 0000000000..ae0ee6235a
--- /dev/null
+++ b/packages/libftdi/files/ftdi_eeprom-0.2-moko.patch
@@ -0,0 +1,16 @@
+--- ftdi_eeprom-0.2/ftdi_eeprom/main.c 2004-03-25 19:58:08.000000000 +0100
++++ ftdi_eeprom-0.2-moko/ftdi_eeprom/main.c 2007-02-16 01:23:40.000000000 +0100
+@@ -135,8 +135,11 @@
+
+ i = ftdi_usb_open(&ftdi, 0x0403, 0x6001);
+ if (i != 0) {
+- printf("Sorry, unable to find FTDI USB chip\n");
+- exit (-1);
++ i = ftdi_usb_open(&ftdi, 0x0403, 0x6010);
++ if (i != 0) {
++ printf("Sorry, unable to find FTDI USB chip\n");
++ exit (-1);
++ }
+ }
+ }
+ }