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)
commit60d3f9827ca455e7272681d67a37137c328d7012
tree19858fc9cb3d98ad2650a7f6bebf8e5d52166ad0
parent4676f63d4c1e2e3530e42cb39bf88a1c1d4d78a5
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