Skip to content
Commit 8707bdd4 authored by Jarek Poplawski's avatar Jarek Poplawski Committed by David S. Miller
Browse files

gianfar: Fix boot hangs while bringing up gianfar ethernet

Ira Snyder found that commit 8c7396ae


"gianfar: Merge Tx and Rx interrupt for scheduling clean up ring" can
cause hangs. It's because there was removed clearing of interrupts in
gfar_schedule_cleanup() (which is called by an interrupt handler) in
case when netif scheduling has been disabled. This patch brings back
this action and a comment.

Reported-by: default avatarIra Snyder <iws@ovro.caltech.edu>
Reported-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Bisected-by: default avatarIra Snyder <iws@ovro.caltech.edu>
Tested-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Tested-by: default avatarIra Snyder <iws@ovro.caltech.edu>
Signed-off-by: default avatarJarek Poplawski <jarkao2@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d4e2675a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment