OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Dale Rahn (drahncvs.openbsd.org)
Date: Fri Mar 02 2001 - 23:40:02 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: drahncvs.openbsd.org 2001/03/02 22:40:01

    Modified files:
            sys/arch/powerpc/pci: mpcpcibus.c

    Log message:
    Change how PCI bus memory base address is found for powerpc.
    This is probably quite a hack. however some bridges have multiple
    "memory" segment according to the openfirmware data. one is
    the pci device probe register area, and the one or two more
    that are real address regions. Such as base 0x80000000 sz 0x10000000,
    base 0x90000000 sz 0x10000000. This should really be one region
    but detecting the "last" region to avoid the first region causes the
    wrong base address to be picked. Currently this hardcodes it to
    0x80000000 because it seems to work for "normal" pci currently.
    openfirmware puts full address in the field and the other devices
    seem to work on tested machines.