diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base')
-rw-r--r-- | package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base b/package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base new file mode 100644 index 0000000..ca8c1bb --- /dev/null +++ b/package/system/ep80579-drivers/patches/.svn/text-base/700-iegbe_kcompat_2.6.30.patch.svn-base @@ -0,0 +1,31 @@ +--- a/Embedded/src/GbE/kcompat.h ++++ b/Embedded/src/GbE/kcompat.h +@@ -46,12 +46,6 @@ GPL LICENSE SUMMARY + #include <linux/sched.h> + #include <asm/io.h> + +-#ifndef IRQ_HANDLED +-#define irqreturn_t void +-#define IRQ_HANDLED +-#define IRQ_NONE +-#endif +- + #ifndef SET_NETDEV_DEV + #define SET_NETDEV_DEV(net, pdev) + #endif +@@ -748,6 +742,15 @@ extern void dump_stack(void); + + #endif /* 2.4.24 */ + ++/*****************************************************************************/ ++#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) ) ++#ifndef IRQ_HANDLED ++#define irqreturn_t void ++#define IRQ_HANDLED ++#define IRQ_NONE ++#endif ++#endif /* < 2.6.30 */ ++ + #endif /* _KCOMPAT_H_ */ + + |