linux/drivers/net/ibm_newemac
Pravin M. Bathija 4373c9327f NEWEMAC: fix support for pause packets
Problem Description and Fix
---------------------------
When a pause packet(with destination as reserved Multicast address) is
received by the EMAC hardware to control the flow of frames being
transmitted by it, it is dropped by the hardware unless the reserved
Multicast address is hashed in to the GAHT[1-4] registers. This code fix
adds the default reserved multicast address to the GAHT[1-4] registers
in the EMAC(s) present on the chip. The flow control with Pause packets
will only work if the following register bits are programmed in EMAC:
EMACx_MR1[APP] = 1
EMACx_RMR[BAE] = 1
EMACx_RMR[MAE] = 1

Behavior that may be observed in a running system
-------------------------------------------------
A host transferring data from a PPC based system may send a Pause packet
to the PPC EMAC requesting it to slow down the flow of packets. If the
default reserved multicast MAC address is not programmed into the
GAHT[1-4] registers this Pause packet will be dropped by PPC EMAC and no
Flow Control will be done.

Signed-off-by: Pravin M. Bathija <pbathija@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-03-17 08:06:33 -04:00
..
core.c NEWEMAC: fix support for pause packets 2008-03-17 08:06:33 -04:00
core.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
debug.c Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED 2007-12-14 16:12:45 -05:00
debug.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
emac.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
Kconfig
Makefile
mal.c ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
mal.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
phy.c ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
phy.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
rgmii.c [POWERPC] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table 2008-02-15 21:32:51 -06:00
rgmii.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
tah.c ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
tah.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
zmii.c ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00
zmii.h ibm_newemac: Update file headers copyright notices 2007-12-07 15:09:06 -05:00