]> git.pld-linux.org Git - packages/eagle-usb.git/blame - 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
CommitLineData
62123564
RW
1diff -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
ba60281a
RW
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"
62123564 7
ba60281a
RW
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 );
8e3b181e
RW
15diff -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
ba60281a
RW
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"
8e3b181e 21
ba60281a
RW
22+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
23+#define usb_unlink_urb usb_kill_urb
24+#endif
25+
26 /* ------------------------------- Private Macros ------------------------------- */
8e3b181e 27
ba60281a 28 #define CASE_PREFIRM EAGLE_I_PID_PREFIRM: \
62123564
RW
29diff -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
ba60281a
RW
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
62123564
RW
42diff -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
ba60281a
RW
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.031638 seconds and 4 git commands to generate.