From: Adrian Bunk <bunk@fs.tum.de>
To: linux-net@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] remove kernel 2.0 #if's from aironet4500
Date: Sat, 11 Jan 2003 20:44:43 +0100 [thread overview]
Message-ID: <20030111194443.GC21826@fs.tum.de> (raw)
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))
reply other threads:[~2003-01-11 19:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030111194443.GC21826@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox