]> git.baikalelectronics.ru Git - kernel.git/commit
korina: do tx at the right position
authorPhil Sutter <n0-1@freewrt.org>
Thu, 15 Jan 2009 05:50:12 +0000 (21:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 16:28:20 +0000 (08:28 -0800)
commit8daf3dd4d4998336a7e9949b9c0d899dd6331527
tree19858fc9cb3d98ad2650a7f6bebf8e5d52166ad0
parenta3e3ce73120f70c8cb5d8ecc7357bd06775e5e13
korina: do tx at the right position

Triggering TX before the write to the DMA status mask register leads to
transferring packets with maximum payload no matter what the actual
packet size is.
While here, also trigger RX scheduling after writing the DMA status mask
register, like it was in the original driver before it was sent
upstream.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/korina.c