Re: Re: [RFC] Add lspnp support for sysfs

David Hinds
2006-01-22T19:24:02Z

On Sat, Jan 21, 2006 at 07:00:12PM +0900, Komuro wrote:
>
> I want 'check_pnp_irq' api in the kernel pnp layer.
> to avoid irq conflict between 16bit-pcmcia card
> and on-board pnp-devices.
>
> for example,
> int check_pnp_irq(int irq)
> return 0 (unused)
> -1 (used)
> -2 (reserved)
>
> Below is a known problems and limitations
> in the pcmcia-cs README-2.4
>
> > The kernel PCMCIA package cannot be configured to use PnP BIOS calls
> > for resource management. Recent kernels do have PnP BIOS support
> > but the "glue" hasn't been written.

The correct way to fix this would be to have the PnP layer reserve all
resources defined by the PnP BIOS.

-- Dave