Re: PCI configuration problem in 2.3.99 prex

From: Matti Aarnio (matti.aarnio@sonera.fi)
Date: Thu May 11 2000 - 04:44:16 EST


On Wed, May 10, 2000 at 05:11:32PM -0400, Soohoon Lee wrote:
> Alpha has seperate address space for each PCI bus and
> current pci drivers in drivres/pci cannot deal with that.
> I've modified drivers/pic/setup-res.c like following but
> What about having min field in struct resource.

        I think I understand what you mean with that, but you say it
        in a mudled way.. "PCI bus" can mean many things, after all.

        Some Alpha systems have multiple Host/PCI interfaces, e.g.
        they do have separate PCI busses attached to the CPU crossbar.

        This is separate thing from more common single Host/PCI interface
        plus PCI/PCI bridges, which bridged backends are also called busses,
        but they all are within the Host/PCI interface space.

        Cleaning the code a bit:

> + if (root->start > 0xffffffffUL) {
> + min |= root->start & ~0xffffffffUL;
> + }

  +#if BITS_PER_LONG > 32
  + min |= root->start & ~0xffffffffUL;
  +#endif

        At 64-bit machines we don't need to care about doing some extra
        test in case we might not need to use that code, plus at 32-bit
        machines it would never execute anyway. Right ?

> Soohoon.

/Matti Aarnio



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:29 EST