summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/regs-ac97.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-02-24 03:44:23 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-24 03:44:23 -0800
commit028e1415a78733fcd2cba4b4c001826cc37a373e (patch)
treeed708093d3572bde15432c53d1c6a3d1102740af /arch/arm/mach-pxa/include/mach/regs-ac97.h
parent044fad0dbb4e814c061916fe5a36851af2fd1135 (diff)
downloadkernel-crypto-028e1415a78733fcd2cba4b4c001826cc37a373e.tar.gz
kernel-crypto-028e1415a78733fcd2cba4b4c001826cc37a373e.tar.xz
kernel-crypto-028e1415a78733fcd2cba4b4c001826cc37a373e.zip
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 <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/regs-ac97.h')
0 files changed, 0 insertions, 0 deletions