Re: [linux-audio-dev] ISA Plug & Play support in kernel

David Hinds (dhinds@zen.stanford.edu)
Thu, 7 Jan 1999 17:12:28 -0800


> From: Jamie Lokier <lkd@tantalophile.demon.co.uk>
> Date: Thu, 7 Jan 1999 02:03:42 +0000
> Subject: Re: [linux-audio-dev] ISA Plug & Play support in kernel
>
> > Additionally:
> > * Why should PnP be any different to PCI in handling/maintainance? Or
> > PnP-BIOS? Or PCMCIA? Surely the way the driver perceives such things
> > should be abstracted from the configuration protocol!
>
> Agree, but bear in mind PCI resources are usually assigned by the BIOS,
> and just read by the kernel.

The "usually" here excludes some fairly important exceptions. The
Linux CardBus package has to include code for configuring PCI devices
from scratch (since that's what Cardbus cards are, more or less). We
also want to support hot swap PCI at some point.

isapnp is ok for what it does, but it doesn't provide the sort of
access to P&P calls that PCMCIA and CardBus really needs. As another
example, CardBus bridges typically boot up with their PCI interrupt
line registers zeroed out (thanks to the PC98 spec). There's no way
of deducing the interrupt routing, but it is just a P&P call away.

-- Dave Hinds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/