linux/drivers/net/ethernet
Claudiu Manoil c65d753372 gianfar: Fix P1010 config regression (SQ polling)
The P1010 device tree restricts the number of
supported interrupt groups to 1, although the eth
controller can support 2 interrupt groups and the
driver assumes the Multi-Group mode ("fsl,etsec2" model).

So, in this case the assumption that the Multi-Group
mode (MQ_MG_MODE) devices always support 2 interrupt
groups is false.  To fix this, a check for the actual
number of interrupt groups enabled in the board's
device tree has been added in gfar_probe for the
"fsl,etsec2" devices.

Without this fix, P1010 based boards claim support for
2 Tx queues to the net stack but only one is actually
allocated, leading to NULL access in xmit.  This issue
was introduced by enabling Single-Queue polling for
the P1010 devices.
(71ff9e3 gianfar: Use Single-Queue polling for
"fsl,etsec2")

Fixes: 71ff9e3df7
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-24 00:40:44 -04:00
..
3com
8390
adaptec
adi ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
aeroflex
allwinner
alteon
altera Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig 2014-03-17 21:26:57 -04:00
amd amd8111e: Don't receive packets when the napi budget == 0 2014-03-14 22:52:47 -04:00
apple
arc
atheros
broadcom ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
brocade Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-03-14 22:31:55 -04:00
cadence net: macb: DMA-unmap full rx-buffer 2014-03-05 20:40:25 -05:00
calxeda
chelsio cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes 2014-03-14 22:44:11 -04:00
cirrus
cisco enic: Don't receive packets when the napi budget == 0 2014-03-14 22:52:47 -04:00
davicom
dec
dlink
emulex net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
faraday
freescale gianfar: Fix P1010 config regression (SQ polling) 2014-03-24 00:40:44 -04:00
fujitsu
hp
i825xx
ibm ibmveth: Don't receive packets when the napi budget == 0 2014-03-14 22:52:47 -04:00
icplus
intel ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
marvell sky2: Don't receive packets when the napi budget == 0 2014-03-14 22:52:48 -04:00
mellanox ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
micrel
microchip
moxa
myricom
natsemi
neterion vxge: Don't receive packets when the napi budget == 0 2014-03-14 22:52:48 -04:00
nuvoton
nvidia net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
nxp
octeon
oki-semi
packetengines
pasemi
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-03-05 20:32:02 -05:00
rdc
realtek net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
renesas sh_eth: Remove goto statements that jump straight to a return 2014-03-20 17:22:10 -04:00
seeq
sfc ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
sgi
silan
sis
smsc smsc911x: Change clock warning message to debug level 2014-03-20 16:17:22 -04:00
stmicro ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
sun
tehuti
ti ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
tile ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
toshiba tc35815: Don't receive packets when the napi budget == 0 2014-03-14 22:52:48 -04:00
tundra
via via: fix a punctuation typo 2014-03-18 15:18:52 -04:00
wiznet net: w5100: Use devm_ioremap_resource() 2014-02-28 16:57:24 -05:00
xilinx xilinx: Convert uses of __constant_<foo> to <foo> 2014-03-12 15:28:06 -04:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig net: ethernet: Change Ethernet Makefile and Kconfig for Altera TSE driver 2014-03-17 21:26:57 -04:00
korina.c
lantiq_etop.c
Makefile net: ethernet: Change Ethernet Makefile and Kconfig for Altera TSE driver 2014-03-17 21:26:57 -04:00
netx-eth.c
s6gmac.c