WSL2-Linux-Kernel/drivers/net/netxen
Dhananjay Phadke 028e1415a7 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>
2009-02-24 03:44:23 -08:00
..
Makefile netxen: add netxen_nic_ctx.c 2008-07-22 17:52:04 -04:00
netxen_nic.h netxen: fix msi-x interrupt handling 2009-02-08 19:20:19 -08:00
netxen_nic_ctx.c netxen: fix endianness in firmware commands 2009-01-14 20:47:30 -08:00
netxen_nic_ethtool.c netxen: reduce memory footprint 2009-01-26 12:35:19 -08:00
netxen_nic_hdr.h removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
netxen_nic_hw.c netxen: hold tx lock while sending firmware commands 2009-01-14 20:49:43 -08:00
netxen_nic_hw.h netxen: fix promisc mode, mtu setting 2008-08-07 02:11:10 -04:00
netxen_nic_init.c netxen: fix memory leak in drivers/net/netxen_nic_init.c 2009-01-29 16:56:14 -08:00
netxen_nic_main.c netxen: handle pci bar 0 mapping failure 2009-02-24 03:44:23 -08:00
netxen_nic_niu.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
netxen_nic_phan_reg.h netxen: fix mac addr setup 2008-08-14 04:43:05 -04:00