From: Dale Farnsworth Date: Fri, 2 Sep 2005 19:34:35 +0000 (-0700) Subject: [PATCH] mv643xx: Disable per port bandwidth limits X-Git-Tag: MMI-PSA29.97-13-9~55895^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f543718ea1c20795853bf065f1dcb510f210465;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] mv643xx: Disable per port bandwidth limits The mv643xx chips support per port bandwith limits. This patch disables the bandwidth limits by clearing the MTU register. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 8ea004714648..25a094c44f39 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -1866,6 +1866,9 @@ static void eth_port_start(struct mv643xx_private *mp) /* Enable port Rx. */ mv_write(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num), mp->port_rx_queue_command); + + /* Disable port bandwidth limits by clearing MTU register */ + mv_write(MV643XX_ETH_MAXIMUM_TRANSMIT_UNIT(port_num), 0); } /*