Re: a7839e96 (PNP: increase max resources) breaks my ALSA intel8x0 sound card

Linus Torvalds
2008-02-14T20:27:26Z

On Thu, 14 Feb 2008, Bjorn Helgaas wrote:

> On Thursday 14 February 2008 12:42:52 pm Linus Torvalds wrote:
> >
> > It *shouldn't* fail.
> >
> > Things should fail only when two different drivers have requested the same
> > region. NOT when something tells the system that a region _exists_.
>
> The sound driver doesn't fail because two different drivers have
> requested the same region; it fails because PNP told us a region
> exists, and the sound region crosses the edge of the PNP region.

Right, and that was a bug.

It *shouldn't* fail. The PnP resource should be inserted _after_ the
PCI region has been inserted, and _that_ should fail, since the PnP region
is crap and cannot be inserted "half-way".

Linus