]> git.pld-linux.org Git - packages/eagle-usb.git/blob - eagle-usb-usb_kill_urb.patch
- add 2.6.14-rc-git-breakage-fix.diff
[packages/eagle-usb.git] / eagle-usb-usb_kill_urb.patch
1 diff -urN eagle-usb-2.0.0.orig/driver/eu_eth.c eagle-usb-2.0.0.patch/driver/eu_eth.c
2 --- eagle-usb-2.0.0.orig/driver/eu_eth.c        2004-10-29 19:29:39.000000000 +0200
3 +++ eagle-usb-2.0.0.patch/driver/eu_eth.c       2005-01-21 09:05:55.605326640 +0100
4 @@ -34,7 +34,9 @@
5  #include "eu_eth.h"
6  #include "eu_sm.h"
7  
8 -
9 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
10 +#define usb_unlink_urb usb_kill_urb
11 +#endif
12  
13  /* --------------------- Private Functions Declaration --------------------- */
14  static int eu_eth_open ( struct net_device *dev );
15 diff -urN eagle-usb-2.0.0.orig/driver/eu_main.c eagle-usb-2.0.0.patch/driver/eu_main.c
16 --- eagle-usb-2.0.0.orig/driver/eu_main.c       2004-11-07 10:06:55.000000000 +0100
17 +++ eagle-usb-2.0.0.patch/driver/eu_main.c      2005-01-21 09:06:56.187116808 +0100
18 @@ -53,6 +53,10 @@
19  #include "eu_eth.h"
20  #include "eu_boot_sm.h"
21  
22 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
23 +#define usb_unlink_urb usb_kill_urb
24 +#endif
25 +
26  /* ------------------------------- Private Macros ------------------------------- */
27  
28  #define CASE_PREFIRM   EAGLE_I_PID_PREFIRM:    \
29 diff -urN eagle-usb-2.0.0.orig/driver/eu_utils.c eagle-usb-2.0.0.patch/driver/eu_utils.c
30 --- eagle-usb-2.0.0.orig/driver/eu_utils.c      2004-11-07 10:06:55.000000000 +0100
31 +++ eagle-usb-2.0.0.patch/driver/eu_utils.c     2005-01-21 09:07:36.400003520 +0100
32 @@ -31,6 +31,9 @@
33  #include "debug.h"
34  #include "eu_firmware.h"
35  
36 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
37 +#define usb_unlink_urb usb_kill_urb
38 +#endif
39  
40  /* ----------------------- Private Macros/Variables ------------------------ */
41  
42 diff -urN eagle-usb-2.0.0.orig/driver/Pipes.c eagle-usb-2.0.0.patch/driver/Pipes.c
43 --- eagle-usb-2.0.0.orig/driver/Pipes.c 2004-10-17 22:35:55.000000000 +0200
44 +++ eagle-usb-2.0.0.patch/driver/Pipes.c        2005-01-21 09:07:57.586782640 +0100
45 @@ -35,6 +35,10 @@
46  #include "debug.h"
47  #include "eu_sm.h"
48  
49 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
50 +#define usb_unlink_urb usb_kill_urb
51 +#endif
52 +
53  /**
54   * --| Reception Mechanism:
55   *
This page took 0.056726 seconds and 3 git commands to generate.