From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Andres Salomon <dilinger@voxel.net>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH] CONFIG_PCMCIA_PROBE fix
Date: Mon, 22 Dec 2003 09:48:29 +0000 [thread overview]
Message-ID: <20031222094829.B13978@flint.arm.linux.org.uk> (raw)
In-Reply-To: <1072072123.27831.6.camel@spiral.internal>; from dilinger@voxel.net on Mon, Dec 22, 2003 at 12:48:44AM -0500
On Mon, Dec 22, 2003 at 12:48:44AM -0500, Andres Salomon wrote:
> Some time ago, Russell King submitted a patch to use CONFIG_PCMCIA_PROBE
> instead of CONFIG_ISA in pcmcia probing code. Unfortunately,
> CONFIG_PCMCIA_PROBE still is only set if CONFIG_ISA is set. This means
> that if ISA isn't enabled, certain things break in 2.6; for example, my
> pcmcia nic/modem (using pcnet_cs/serial_cs). These worked fine in 2.4;
> I tracked the behavior to the fact that if irq_mask is set on a pcmcia
> socket (instead of pci_irq), and PCMCIA_PROBE isn't set,
> pcmcia_request_irq refuses to assign an irq. Most of the pcmcia bridges
> appear to set an irq_mask, so the attached patch changes Kconfig to set
> CONFIG_PCMCIA_PROBE if any of those bridges are selected.
>
> Please apply this (or an alternative fix), as it fixes a 2.6 regression
> in pcmcia functionality.
Please don't. David Hinds has a better fix for this, which changes
the way we handle the allocation of IRQs. David's change is all
round a far better way to handle the problem - if all ISA interrupts
are used or unavailable, we fall back to using the PCI interrupt
instead.
Please also note that there /is/ a PCMCIA list which patches should
be forwarded to - linux-pcmcia which is at lists.infradead.org
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
next prev parent reply other threads:[~2003-12-22 9:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-22 5:48 [PATCH] CONFIG_PCMCIA_PROBE fix Andres Salomon
2003-12-22 9:48 ` Russell King [this message]
2003-12-22 17:18 ` Andres Salomon
2003-12-22 17:33 ` Russell King
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=20031222094829.B13978@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=akpm@osdl.org \
--cc=dilinger@voxel.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.