From: Paul Mackerras Date: Wed, 9 May 2007 11:47:15 +0000 (+1000) Subject: [POWERPC] Fix incorrect calculation of I/O window addresses X-Git-Tag: v2.6.22-rc1~108^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e92e0a1f40ecbef415cd99dc886b14963dc594;p=pandora-kernel.git [POWERPC] Fix incorrect calculation of I/O window addresses My patch "Cope with PCI host bridge I/O window not starting at 0" introduced a bug in the calculation of the virtual addresses for the I/O windows of PCI host bridges other than the first, because it didn't account for the fact that hose->io_resource gets offset so that it reflects the range of global I/O port numbers assigned to the bridge. This fixes it and simplifies get_bus_io_range() in the process. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed