]> err.no Git - linux-2.6/commit
r6040: fix scheduling while atomic in r6040_tx_timeout
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Sun, 13 Jul 2008 12:29:20 +0000 (14:29 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:56:30 +0000 (19:56 -0400)
commitfec3a23be0daceeb0695f8296aea07ea1ad073d8
treeaa4a7af7f89c423c0f0d1ca3de3c29c237207a38
parent3d25434816356e8d1e3167c5f7a56d3d81aeb239
r6040: fix scheduling while atomic in r6040_tx_timeout

Add a helper function which only modifies R6040 MAC registers
use it when we timeout, and on adapter initialization. Fix
the scheduling while atomic but in the timeout routine due
to the reallocation of rx/tx buffers.

Signed-Off-By: Joerg Albert <jal2@gmx.de>
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r6040.c