projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b111ceb
)
[PATCH] mv643xx: Disable per port bandwidth limits
author
Dale Farnsworth
<dale@farnsworth.org>
Fri, 2 Sep 2005 19:34:35 +0000
(12:34 -0700)
committer
Jeff Garzik
<jgarzik@pobox.com>
Mon, 5 Sep 2005 22:08:30 +0000
(18:08 -0400)
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>
drivers/net/mv643xx_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 8ea004714648d335972f41e0d8f3f96515408bbc..25a094c44f39390d88666ecc73c6b4c518c0dce6 100644
(file)
--- 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);
}
/*