diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-12 12:58:30 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:31:31 -0400 |
commit | 703bb99ca73aa38d3f200d4c7e9bb460dce35fda (patch) | |
tree | e840c454c4b8cfa9a539d5017b426d20408beabb /drivers/macintosh | |
parent | 406874a7ccee927049b1c182df69457718b938da (diff) |
natsemi: fix MMIO for PPC 44x platforms
The driver stores the PCI resource address into 'unsigned long' variable before
calling ioremap() on it. This warrants a 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 creates an illusion of 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 <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions