[2.5 patch] remove kernel 2.0 #if's from aironet4500

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sat Jan 11 2003 - 14:44:43 EST


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))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:38 EST