[PATCH] radeonfb: Only request resources we need
authorDaniel Burcaw <dburcaw@terrasoftsolutions.com>
Fri, 9 Sep 2005 20:04:59 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:58:02 +0000 (13:58 -0700)
commit5251bffc9b4ca699993c79166adf02faf1bbc043
tree0d3a0c8f3efe9a71d68e7f9de0b79195aa790909
parentc5eb5c1ea919f3f717236c5d0892f9c37f19de37
[PATCH] radeonfb: Only request resources we need

This patch changes radeon to request only resources 0 and 2 instead of all
3.  This works around problems with some setups where BAR 1 (IO BAR) has
not been assigned by the firmware since it's not used on the machine and
the kernel fails to assign something to it due to the card being between a
P2P bridge that was configured without an IO range at all.

This typically fixes radeonfb on some Apple Xserve G5 machines

Signed-off-by: Daniel Burcaw <dburcaw@terrasoftsolutions.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/radeon_base.c