From: Kai Engert <kai.engert@gmx.de>
To: Jochen Friedrich <jochen@scram.de>
Cc: linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk
Subject: Re: [patch] Missing module for ISDN / AVM PCMCIA card
Date: Sun, 10 Mar 2002 17:17:27 +0100 (MET) [thread overview]
Message-ID: <9391.1015777047@www3.gmx.net> (raw)
In-Reply-To: <Pine.LNX.4.43.0203100949470.14532-100000@alpha.bocc.de>
Hi Jochen,
> > (Please note that Red Hat seems to have modified that patch a little,
> the
> > file included in their kernel 2.4.9-31 has 3 lines changed.
>
> This might be the bug fix Kai Germaschewski added to my patch:
ok, let me clear the mystery.
Your patch:
http://uwsg.iu.edu/hypermail/linux/kernel/0103.1/att-0957/01-avmdiff
Kai Germaschewski changed:
-MODULE_PARM(isdnprot, "1-4");
+MODULE_PARM(isdnprot, "1-4i");
RedHat did not include Kai's fix, but changed:
---[snip]--------
--- /usr/src/linux/drivers/isdn/pcmcia/avma1_cs.c Sun Mar 10 01:50:58 2002
+++
/home/inst/up2date/t/usr/src/linux-2.4.9-31/drivers/isdn/hisax/avma1_cs.c Sun Mar 10 01:18:09 2002
@@ -7,10 +7,12 @@
======================================================================*/
#include <linux/module.h>
+
+
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/ptrace.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <asm/io.h>
@@ -349,16 +351,16 @@
link->conf.ConfigIndex = cf->index;
link->io.BasePort1 = cf->io.win[0].base;
link->io.NumPorts1 = cf->io.win[0].len;
- link->io.BasePort2 = 0;
link->io.NumPorts2 = 0;
printk(KERN_INFO "avma1_cs: testing i/o %#x-%#x\n",
link->io.BasePort1,
- link->io.BasePort1+link->io.NumPorts1);
+ link->io.BasePort1+link->io.NumPorts1 - 1);
i = CardServices(RequestIO, link->handle, &link->io);
if (i == CS_SUCCESS) goto found_port;
}
i = next_tuple(handle, &tuple, &parse);
}
+
found_port:
if (i != CS_SUCCESS) {
cs_error(link->handle, RequestIO, i);
@@ -487,7 +489,7 @@
case CS_EVENT_CARD_REMOVAL:
link->state &= ~DEV_PRESENT;
if (link->state & DEV_CONFIG) {
- link->release.expires = (jiffies+(HZ/20));
+ link->release.expires = jiffies + HZ/20;
add_timer(&link->release);
}
break;
@@ -539,3 +541,5 @@
avma1cs_detach(dev_list);
}
}
+
+MODULE_LICENSE("GPL");
---[snip]--------
Thanks,
Kai
prev parent reply other threads:[~2002-03-10 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-10 2:31 [patch] Missing module for ISDN / AVM PCMCIA card Kai Engert
2002-03-10 8:55 ` Jochen Friedrich
2002-03-10 16:17 ` Kai Engert [this message]
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=9391.1015777047@www3.gmx.net \
--to=kai.engert@gmx.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jochen@scram.de \
--cc=linux-kernel@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