aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorvbarshak@ru.mvista.com <vbarshak@ru.mvista.com>2007-10-02 08:01:07 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:54:29 -0400
commit07c2c76e27e629fb5c9a539e249906802866abb8 (patch)
tree60f725a980dda59a9e9d09bd8018621458538f32 /drivers/net
parent1dad939ddbbd8d64e1edc7799df00a9e591b4197 (diff)
Fix typo in new EMAC driver.
Fix an obvious typo in emac_xmit_finish. Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ibm_newemac/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c
index 653bfdc291e0..ce127b9cafa4 100644
--- a/drivers/net/ibm_newemac/core.c
+++ b/drivers/net/ibm_newemac/core.c
@@ -1232,9 +1232,9 @@ static inline int emac_xmit_finish(struct emac_instance *dev, int len)
1232 * instead 1232 * instead
1233 */ 1233 */
1234 if (emac_has_feature(dev, EMAC_FTR_EMAC4)) 1234 if (emac_has_feature(dev, EMAC_FTR_EMAC4))
1235 out_be32(&p->tmr0, EMAC_TMR0_XMIT);
1236 else
1237 out_be32(&p->tmr0, EMAC4_TMR0_XMIT); 1235 out_be32(&p->tmr0, EMAC4_TMR0_XMIT);
1236 else
1237 out_be32(&p->tmr0, EMAC_TMR0_XMIT);
1238 1238
1239 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { 1239 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) {
1240 netif_stop_queue(ndev); 1240 netif_stop_queue(ndev);