diff options
author | Ilkka Virta <itvirta@iki.fi> | 2009-02-07 06:00:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 06:00:36 (GMT) |
commit | 71822faa3bc0af5dbf5e333a2d085f1ed7cd809f (patch) | |
tree | b0ad50f98ee521de666f595ec4d33b430f39a80c /drivers/net/3c509.c | |
parent | 15bde72738f373aa060ececeda8e064e4f924360 (diff) | |
download | linux-71822faa3bc0af5dbf5e333a2d085f1ed7cd809f.tar.xz |
sungem: Soft lockup in sungem on Netra AC200 when switching interface up
From: Ilkka Virta <itvirta@iki.fi>
In the lockup situation the driver seems to go off in an eternal storm
of interrupts right after calling request_irq(). It doesn't actually
do anything interesting in the interrupt handler. Since connecting the link
afterwards works, something later in initialization must fix this.
Looking at gem_do_start() and gem_open(), it seems that the only thing
done while opening the device after the request_irq(), is a call to
napi_enable().
I don't know what the ordering requirements are for the
initialization, but I boldly tried to move the napi_enable() call
inside gem_do_start() before the link state is checked and interrupts
subsequently enabled, and it seems to work for me. Doesn't even break
anything too obvious...
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c509.c')
0 files changed, 0 insertions, 0 deletions