git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044fad0
)
netxen: handle pci bar 0 mapping failure
author
Dhananjay Phadke
<dhananjay@netxen.com>
Tue, 24 Feb 2009 11:44:23 +0000
(
03:44
-0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Feb 2009 11:44:23 +0000
(
03:44
-0800)
PCI bar 0 is used for memory mapped register access.
If ioremap fails (returns NULL), register access results
in crash.
Use pci_ioremap_bar() instead of ioremap(), the latter
fails on on 32 bit powerpc where pci resource address is
> 32 bits.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found