Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=07c2c76e27e629fb5c9a539e249906802866abb8
Commit:     07c2c76e27e629fb5c9a539e249906802866abb8
Parent:     1dad939ddbbd8d64e1edc7799df00a9e591b4197
Author:     [EMAIL PROTECTED] <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 2 16:01:07 2007 +0400
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:54:29 2007 -0700

    Fix typo in new EMAC driver.
    
    Fix an obvious typo in emac_xmit_finish.
    
    Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/ibm_newemac/core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c
index 653bfdc..ce127b9 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)
         * instead
         */
        if (emac_has_feature(dev, EMAC_FTR_EMAC4))
-               out_be32(&p->tmr0, EMAC_TMR0_XMIT);
-       else
                out_be32(&p->tmr0, EMAC4_TMR0_XMIT);
+       else
+               out_be32(&p->tmr0, EMAC_TMR0_XMIT);
 
        if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) {
                netif_stop_queue(ndev);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to