forked from Minki/linux
028e1415a7
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> |
||
---|---|---|
.. | ||
Makefile | ||
netxen_nic_ctx.c | ||
netxen_nic_ethtool.c | ||
netxen_nic_hdr.h | ||
netxen_nic_hw.c | ||
netxen_nic_hw.h | ||
netxen_nic_init.c | ||
netxen_nic_main.c | ||
netxen_nic_niu.c | ||
netxen_nic_phan_reg.h | ||
netxen_nic.h |