From: Sergei Shtylyov Date: Fri, 18 Apr 2008 19:30:45 +0000 (+0400) Subject: [SCSI] aic7xxx: fix MMIO for PPC 44x platforms X-Git-Tag: v2.6.26-rc1~1027^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=448504130f18bc9d8d10ba045775c906abd01438;p=pandora-kernel.git [SCSI] aic7xxx: fix MMIO for PPC 44x platforms The driver stores the PCI resource address into 'u_long' variable before calling ioremap_nocache() on it. This warrants kernel oops when the registers are accessed on PPC 44x platforms which (being 32-bit) have PCI memory space mapped beyond 4 GB. The arch/ppc/ kernel has a fixup in ioremap() that helps create an illusion that the PCI memory resources are mapped below 4 GB, but arch/powerpc/ code got rid of this trick, having instead CONFIG_RESOURCES_64BIT enabled. Signed-off-by: Sergei Shtylyov Signed-off-by: James Bottomley --- Reading git-diff-tree failed