07 Dec, 2006

2 commits

  • This patch cleans up the previous "Use BIOS supplied BBAR information"
    patch. Mostly stylistic clenaups, but also check for ioremap failure
    when we ioremap the BBAR rather than when trying to use it.

    Signed-off-by: Muli Ben-Yehuda
    Signed-off-by: Jon Mason
    Signed-off-by: Andi Kleen
    Acked-by: Laurent Vivier

    Muli Ben-Yehuda
     
  • Find the BBAR register address of each Calgary using the "Extended
    BIOS Data Area" rather than calculating it ourselves. Also get the bus
    topology (what PHB each bus is on) from Calgary rather than
    calculating it ourselves.

    This patch fixes http://bugzilla.kernel.org/show_bug.cgi?id=7407.

    Signed-off-by: Laurent Vivier
    Signed-off-by: Muli Ben-Yehuda
    Signed-off-by: Jon Mason
    Signed-off-by: Andi Kleen

    Laurent Vivier