[PATCH] PPC44x EMAC driver: disable TX status deferral in half-duplex mode
authorEugene Surovegin <ebs@ebshome.net>
Tue, 27 Dec 2005 20:36:41 +0000 (12:36 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 9 Jan 2006 15:34:25 +0000 (10:34 -0500)
commit38843888e3e9fb7006d72d55b8e6ffcc925cf18a
treecd39ae82b4672ff76521dc645ca4a21f01baf613
parenta4bf26f30e398afa293b85103c885f03d4660a07
[PATCH] PPC44x EMAC driver: disable TX status deferral in half-duplex mode

Disable TX status deferral (EMACx_MR[MWSW=001]) in half-duplex mode.
I have two reports when EMAC stops transmitting when connected to a
hub. TX ring debug printouts show complete mess when this happens,
probably hardware collision handling doesn't work quite well in this
mode.

This is relevant only for SoCs with EMAC4 core (440GX, 440SP, 440SPe).
Tested on 440GX.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/ibm_emac/ibm_emac.h
drivers/net/ibm_emac/ibm_emac_core.c