lkml.org 
[lkml]   [2003]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] remove kernel 2.0 #if's from aironet4500
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.093 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site