]> git.hungrycats.org Git - linux/commit
On G5 machines, we remap the AGP port to bus number 0xf0. XFree
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 6 Feb 2004 02:35:14 +0000 (13:35 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 6 Feb 2004 02:35:14 +0000 (13:35 +1100)
commit591e10cee1a6173c26cc8660df0a02649b786bc9
tree1d2d674d6311d903efba23479b3f1146a44599f3
parentc01da8ae8007709b19ee2dabc50bbfb593ad498f
On G5 machines, we remap the AGP port to bus number 0xf0. XFree
contains a hack that is unfixable at the moment for getting the
IO base which is hard coded to bus number 0 (AGP on earlier machines).
We work around this by passing the IO base of bus 0xf0 when asked
for bus 0 in pciconfig_iobase on those machines. Bus 0 is the HT
root and has no IOs, so that is safe.
arch/ppc/kernel/pci.c