OSDN Git Service

[PATCH] AMD Au1xx0: fix ethernet TX stats
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 8 Apr 2006 06:50:39 +0000 (10:50 +0400)
committerMarcelo Tosatti <marcelo@dmt.cnet>
Fri, 12 May 2006 18:14:05 +0000 (15:14 -0300)
commitc9630f474354b2a63e981dfc953e0523ed80870c
tree576705c1b8b23b21b80da28ce7fc58bdc0a5c344
parentf41e0ce901260d3d1ae5bd8bae34266891b4a65d
[PATCH] AMD Au1xx0: fix ethernet TX stats

With Au1xx0 Ethernet driver, TX bytes/packets always remain zero.

The problem seems to be that when packet has been transmitted, the
length word in DMA buffer is zero.

Attached is a patch that updates the TX stats when a buffer is fed to
DMA.

The initial 2.4 patch was posted to linux-mips@linux-mips.org by
Thomas Lange 21 Jan 2005.

Signed-off-by: Thomas Lange <thomas@corelatus.se>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/au1000_eth.c