summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ipw2100.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-06-21 01:28:42 +0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-28 07:26:30 +0400
commit4663663f1d91aa0b84526841e47f401598bfa2f4 (patch)
treeaad2d6fc255ad462fa8151ba49491b15759f32b2 /drivers/net/wireless/ipw2100.h
parent0e08b44eedacb7824c88678d9a9ea7db25b5401c (diff)
downloadlinux-4663663f1d91aa0b84526841e47f401598bfa2f4.tar.xz
[PATCH] ipw2100: assume recent kernel
ipw2100 still has support for old kernels. Thats considered bad for patch in mainline... this fixes few instances. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r--drivers/net/wireless/ipw2100.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h
index 40a1373defa9..2980900beb53 100644
--- a/drivers/net/wireless/ipw2100.h
+++ b/drivers/net/wireless/ipw2100.h
@@ -44,30 +44,6 @@
#include <linux/workqueue.h>
-#ifndef IRQ_NONE
-typedef void irqreturn_t;
-#define IRQ_NONE
-#define IRQ_HANDLED
-#define IRQ_RETVAL(x)
-#endif
-
-#if WIRELESS_EXT < 17
-#define IW_QUAL_QUAL_INVALID 0x10
-#define IW_QUAL_LEVEL_INVALID 0x20
-#define IW_QUAL_NOISE_INVALID 0x40
-#endif
-
-#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) )
-#define pci_dma_sync_single_for_cpu pci_dma_sync_single
-#define pci_dma_sync_single_for_device pci_dma_sync_single
-#endif
-
-#ifndef HAVE_FREE_NETDEV
-#define free_netdev(x) kfree(x)
-#endif
-
-
-
struct ipw2100_priv;
struct ipw2100_tx_packet;
struct ipw2100_rx_packet;