linux/drivers/net/ethernet
Vladimir Zapolskiy 39198ec987 net: lpc_eth: remove irq > NR_IRQS check from probe()
If the driver is used on an ARM platform with SPARSE_IRQ defined,
semantics of NR_IRQS is different (minimal value of virtual irqs) and
by default it is set to 16, see arch/arm/include/asm/irq.h.

This value may be less than the actual number of virtual irqs, which
may break the driver initialization. The check removal allows to use
the driver on such a platform, and, if irq controller driver works
correctly, the check is not needed on legacy platforms.

Fixes a runtime problem:

    lpc-eth 31060000.ethernet: error getting resources.
    lpc_eth: lpc-eth: not found (-6).

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-03 15:02:24 -05:00
..
3com
8390
adaptec
adi
aeroflex
agere
allwinner
alteon
altera
amd More power management and ACPI updates for v4.4-rc1 2015-11-12 11:50:33 -08:00
apm drivers: net: xgene: fix possible use after free 2015-11-29 22:51:45 -05:00
apple
arc
atheros ethernet/atheros/alx: add Killer E2400 device ID 2015-11-18 14:58:04 -05:00
aurora net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller 2015-11-20 11:47:02 -05:00
broadcom bnx2x: Fix vxlan removal 2015-11-20 10:58:31 -05:00
brocade
cadence net: macb: Add support for sgmii phy interface 2015-11-18 15:09:09 -05:00
calxeda
cavium net: thunderx: Enable BGX LMAC's RX/TX only after VF is up 2015-12-02 15:58:50 -05:00
chelsio Initial 4.4 merge window submission 2015-11-07 13:33:07 -08:00
cirrus
cisco enic: assign affinity hint to interrupts 2015-11-02 15:08:00 -05:00
davicom
dec net: tulip: turn compile-time warning into dev_warn() 2015-11-20 11:02:48 -05:00
dlink dl2k: Add support for IP1000A-based cards 2015-11-16 17:11:31 -05:00
emulex be2net: replace hardcoded values with existing define 2015-11-16 14:46:05 -05:00
ezchip
faraday
freescale net: fsl: Fix error checking for platform_get_irq() 2015-11-30 15:19:44 -05:00
fujitsu
hisilicon net: hisilicon: NET_VENDOR_HISILICON should depend on HAS_DMA 2015-11-09 11:19:29 -05:00
hp
i825xx
ibm
intel fm10k: fix memory leak 2015-11-18 14:58:03 -05:00
marvell net: mvneta: enable setting custom TX IP checksum limit 2015-12-02 23:35:05 -05:00
mellanox net/mlx4_core: Avoid returning success in case of an error flow 2015-11-15 18:43:41 -05:00
micrel Merge remote-tracking branches 'spi/topic/omap-100k', 'spi/topic/omap-uwire', 'spi/topic/owner', 'spi/topic/pxa' and 'spi/topic/pxa2xx' into spi-next 2015-11-04 11:02:12 +00:00
microchip spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
moxa
myricom
natsemi
neterion
nuvoton
nvidia
nxp net: lpc_eth: remove irq > NR_IRQS check from probe() 2015-12-03 15:02:24 -05:00
octeon
oki-semi
packetengines
pasemi
qlogic qed: select ZLIB_INFLATE 2015-11-10 15:39:03 -05:00
qualcomm
rdc
realtek r8169: fix kasan reported skb use-after-free. 2015-11-12 13:51:01 -05:00
renesas ravb: fix WARNING in __free_irq() 2015-11-18 22:03:53 -05:00
rocker asm-generic cleanups 2015-11-06 14:22:15 -08:00
samsung
seeq
sfc sfc: constify pci_error_handlers structures 2015-11-16 15:07:29 -05:00
sgi
silan
sis
smsc net: smsc911x: Reset PHY during initialization 2015-11-16 14:43:14 -05:00
stmicro stmmac: fix oversized frame reception 2015-11-30 14:52:52 -05:00
sun
synopsys dwc_eth_qos: Delete an unnecessary check before the function call "of_node_put" 2015-11-07 13:17:32 -05:00
tehuti
ti net: cpsw: Fix ethernet regression for dm814x 2015-11-20 10:46:33 -05:00
tile
toshiba
tundra
via via-velocity: unconditionally drop frames with bad l2 length 2015-11-17 14:37:16 -05:00
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller 2015-11-20 11:47:02 -05:00
korina.c
lantiq_etop.c
Makefile net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller 2015-11-20 11:47:02 -05:00
netx-eth.c