aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2005-09-02 15:34:35 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-05 18:08:30 -0400
commit8f543718ea1c20795853bf065f1dcb510f210465 (patch)
treed4ec74fdf3f80711af27ea76d5c7da8d6524c64e /drivers/net
parentb111ceb68ac4c44d1a6fa697c55f267fa09b1058 (diff)
[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 <dale@farnsworth.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/mv643xx_eth.c3
1 files changed, 3 insertions, 0 deletions
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)
1866 /* Enable port Rx. */ 1866 /* Enable port Rx. */
1867 mv_write(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num), 1867 mv_write(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num),
1868 mp->port_rx_queue_command); 1868 mp->port_rx_queue_command);
1869
1870 /* Disable port bandwidth limits by clearing MTU register */
1871 mv_write(MV643XX_ETH_MAXIMUM_TRANSMIT_UNIT(port_num), 0);
1869} 1872}
1870 1873
1871/* 1874/*