[PATCH] Calgary: use BIOS supplied BBARs and topology information
authorLaurent Vivier <Laurent.Vivier@bull.net>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
commitb34e90b8f0f30151349134f87b5dc6ef75a5218c
tree201c7cb4e3303dcf00547748c9c86a48d4cf45cb
parent58db85482743f5e3495d168c641c60ce1d3dfb06
[PATCH] Calgary: use BIOS supplied BBARs and topology information

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 <Laurent.Vivier@bull.net>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/pci-calgary.c
include/asm-x86_64/rio.h [new file with mode: 0644]