[patches 6/8] pcmcia: remove racy try_irq()

Russell King rmk+pcmcia at arm.linux.org.uk
Tue Jan 11 17:32:15 EST 2005

On Tue, Jan 11, 2005 at 11:27:53PM +0100, Dominik Brodowski wrote:
> > the kernel resource database can't be depended on for hot plug
> > resource allocation.
> A similar additon _may_ yet be needed for the IRQ resource database, for
> ioport / iomem I tend to disagree.

David is correct here as well - just look at the ports which VGA
cards scatter around in reality, and the contents of /proc/ioports.
The kernel's idea is no where complete.

Then there's these mysterious ACPI ports which lurk about and are
(afaik) completely undetectable, until your machine locks up when
you map some other device on top and then try to access this device.

You can only use the kernel resource database as a rough guide at
the best of times.

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

More information about the linux-pcmcia mailing list