aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/mv643xx_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 4f36489e7cdb..4cbf84052b0f 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2496,8 +2496,8 @@ static unsigned int mv643xx_eth_port_disable_rx(unsigned int port_num)
2496 u32 channels; 2496 u32 channels;
2497 2497
2498 /* Stop Rx port activity. Check port Rx activity. */ 2498 /* Stop Rx port activity. Check port Rx activity. */
2499 channels = mv_read(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num) 2499 channels = mv_read(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num))
2500 & 0xFF); 2500 & 0xFF;
2501 if (channels) { 2501 if (channels) {
2502 /* Issue stop command for active channels only */ 2502 /* Issue stop command for active channels only */
2503 mv_write(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num), 2503 mv_write(MV643XX_ETH_RECEIVE_QUEUE_COMMAND_REG(port_num),