summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-22 12:37:03 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-22 12:37:03 +0000
commiteaf5cf5a00d50d816062991f7b4ab39bc3b67caa (patch)
tree213659c16fd571795dbb48c79e59ce59eab74cf1 /include
parent51d0dce98f109bef2bfa47feb3810c13f97fef13 (diff)
and with another fell swoop... 2.4 kernel support is gone too
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4327 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 5551a30..d93ebd8 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -47,25 +47,17 @@
#include <linux/interrupt.h>
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-#define LINUX26
-#endif
-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
#define dahdi_pci_module pci_register_driver
#else
#define dahdi_pci_module pci_module_init
#endif
-#ifdef LINUX26
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
#define DAHDI_IRQ_HANDLER(a) static irqreturn_t a(int irq, void *dev_id)
#else
#define DAHDI_IRQ_HANDLER(a) static irqreturn_t a(int irq, void *dev_id, struct pt_regs *regs)
#endif
-#else
-#define DAHDI_IRQ_HANDLER(a) static void a(int irq, void *dev_id, struct pt_regs *regs)
-#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
#define DAHDI_IRQ_SHARED IRQF_SHARED
@@ -1246,11 +1238,7 @@ int dahdi_unregister_chardev(struct dahdi_chardev *dev);
#ifdef CONFIG_DAHDI_NET
struct dahdi_hdlc {
-#ifdef LINUX26
struct net_device *netdev;
-#else
- hdlc_device netdev;
-#endif
struct dahdi_chan *chan;
};
#endif