2000-11-08 11:26:31

by Ivan Kokshaysky

[permalink] [raw]
Subject: Re: PCI-PCI bridges mess in 2.4.x

On Wed, Nov 08, 2000 at 01:39:31AM -0800, Richard Henderson wrote:
> * Replace cropped found_vga detection code.

I wonder where could I lose this, it was in place initially :-)

> + /* ??? How to turn off a bus from responding to, say, I/O at
> + all if there are no I/O ports behind the bus? Turning off
> + PCI_COMMAND_IO doesn't seem to do the job. So we must
> + allow for at least one unit. */

I relied on DEC^WIntel 21153 datasheet which says that to turn off
io/mem window this bridge must be programmed with base > limit
values (and the code actually did that).
But this could be wrong for other bridges.
OTOH, we turn off prefetchable memory range this way in 2.2, and
it works...

Thanks for the patch,

Ivan.