[PATCH] AMD Au1xx0: fix Ethernet TX stats
authorSergei Shtylylov <sshtylyov@ru.mvista.com>
Wed, 22 Mar 2006 06:53:52 +0000 (22:53 -0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 23 Mar 2006 01:29:29 +0000 (20:29 -0500)
commitc2d3d4b938d1a8df4fd4db73427009dfb9e8b225
treef157ea9132098a4223895d8a0774a51255e93b83
parentd97381702d3a2f917cfe935fbca1e850a37b984b
[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.

The patch 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>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/au1000_eth.c