]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Fix IO/MEM space sizing for PCI.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 12 Jun 2007 23:54:08 +0000 (16:54 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 13 Jun 2007 07:01:19 +0000 (00:01 -0700)
commit56f5c0bd50e948408ac0fd587b5c89fa7e2a1b6e
tree00257841fe799337dab51d5ad22429d3c6143ccd
parent4a907dec9845001dc2b117a0ed2a2150384a4cea
[SPARC64]: Fix IO/MEM space sizing for PCI.

In pci_determine_mem_io_space(), do not hard code the region sizes.
Instead, use the values given to us in the ranges property.

Thanks goes to Mikael Petterson for the original Xorg failure
bug repoert, and strace dumps from Mikael and Dmitry Artamonow.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_common.c