Model Sparc64 pci_assign_resource more closely to the
authorDavid S. Miller <davem@nuts.ninka.net>
Wed, 20 Mar 2002 13:37:53 +0000 (05:37 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Wed, 20 Mar 2002 13:37:53 +0000 (05:37 -0800)
commit71c54597b282e2cae822fb10b88c0ffcc1d078e3
treeadcfc4f4cb291121f6ed75e79fd7f288a481b69c
parentc92b7ab8394027afe055e7c0c3f3f9c44b654dcf
Model Sparc64 pci_assign_resource more closely to the
implementation in drivers/pci/setup-res.c to make it
easier to track bugs.

Fix calculation of mem_space end on Sparc64 Schizo PCI controllers.
The decode register is set up for the whole 4GB even though the
top 2GB is reserved for DMA to/from main memory (ie. IOMMU translated)
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci_schizo.c