public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] remove kernel 2.0 #if's from aironet4500
@ 2003-01-11 19:44 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-11 19:44 UTC (permalink / raw)
  To: linux-net; +Cc: linux-kernel

the trivial patch below removes two #if's for kernel 2.0.

I've tested the compilation with 2.5.56.

Please apply
Adrian

--- linux-2.5.56/drivers/net/aironet4500_core.c.old	2003-01-11 20:38:05.000000000 +0100
+++ linux-2.5.56/drivers/net/aironet4500_core.c	2003-01-11 20:39:24.000000000 +0100
@@ -2561,8 +2561,6 @@
 int awc_simple_bridge;
 // int debug =0;
 
-#if LINUX_VERSION_CODE >= 0x20100
-
 MODULE_PARM(awc_debug,"i");
 MODULE_PARM(tx_rate,"i");
 MODULE_PARM(channel,"i");
@@ -2581,7 +2579,7 @@
 MODULE_PARM_DESC(master,"Aironet is Adhoc master (creates network sync) (0-1)");
 MODULE_PARM_DESC(slave,"Aironet is Adhoc slave (0-1)");
 MODULE_PARM_DESC(max_mtu,"Aironet MTU limit (256-2312)");
-#endif
+
 MODULE_LICENSE("GPL");
 
 
--- linux-2.5.56/drivers/net/pcmcia/aironet4500_cs.c.old	2003-01-11 20:39:11.000000000 +0100
+++ linux-2.5.56/drivers/net/pcmcia/aironet4500_cs.c	2003-01-11 20:39:38.000000000 +0100
@@ -50,10 +50,8 @@
 
 static u_int irq_mask = 0x5eF8;
 static int 	awc_ports[] = {0x140,0x100,0xc0, 0x80 };
-#if LINUX_VERSION_CODE > 0x20100
-MODULE_PARM(irq_mask, "i");
 
-#endif
+MODULE_PARM(irq_mask, "i");
 
 
 #define RUN_AT(x)               (jiffies+(x))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-11 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11 19:44 [2.5 patch] remove kernel 2.0 #if's from aironet4500 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox