From: Dhananjay Phadke Date: Tue, 24 Feb 2009 11:44:23 +0000 (-0800) Subject: netxen: handle pci bar 0 mapping failure X-Git-Tag: v2.6.29-rc7~13^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=028e1415a78733fcd2cba4b4c001826cc37a373e;p=pandora-kernel.git netxen: handle pci bar 0 mapping failure 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed