linux/drivers/net/ethernet/freescale/fs_enet
Martin Roth 426f04684b 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try)
This is an additional patch to the one already submitted recently.
The previous patch was not complete, and the FCC port lock-up scenario
has been reproduced in lab.
I had an opportunity to check the current patch in lab and the FCC
port lock no longer freezes, while the previous patch still locks-up the
FCC port.
The current patch fixes a pointer arithmetic bug (second bug in the same
line), which leads FCC port lock-up during underrun/collision handling.
Within the tx_startup() function in mac-fcc.c, the address of last BD is
not calculated correctly. As a result of wrong calculation of the last BD
address, the next transmitted BD may be set to an area out of the transmit
BD ring. This actually causes to port lock-up and it is not recoverable.

Signed-off-by: Martin Roth <martin.roth@motorolasolutions.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-25 10:47:01 -08:00
..
fec.h
fs_enet-main.c net: add netif_tx_napi_add() 2015-11-18 16:17:41 -05:00
fs_enet.h net: fs_enet: Implement NETIF_F_SG feature 2015-02-04 13:13:04 -08:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
mac-fcc.c 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try) 2016-01-25 10:47:01 -08:00
mac-fec.c net: freescale: mac-fec: Fix build error from phy_device API change 2016-01-11 23:27:26 -05:00
mac-scc.c net: fs_enet: set back promiscuity mode after restart 2014-10-22 15:33:13 -04:00
Makefile
mii-bitbang.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
mii-fec.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00