diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-12 21:30:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-12 21:30:58 -0400 |
commit | 2de58e30db3f7e83592e22fb459dd6695b648889 (patch) | |
tree | ea4bb850d897aaccb86c9a5b155761b453be0957 /drivers/pci/htirq.c | |
parent | 16a79142e51f9eedbf3ae9a20d9cdb2f88c86acc (diff) |
tg3: fix MMIO for PPC 44x platforms
The driver stores the PCI resource addresses into 'unsigned long' variable
before calling ioremap_nocache() on them. 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 creates an illusion that
the PCI memory resource is mapped below 4 GB, but arch/powerpc/ code got rid
of this trick, having instead CONFIG_RESOURCES_64BIT enabled.
[ Bump driver version and release date -DaveM ]
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/htirq.c')
0 files changed, 0 insertions, 0 deletions