tree bb13cf6a67bab370caad35e97d82337f273c1e85
parent acdd80d514a08800380c9f92b1bf4d4c9e818125
author Stephen Hemminger <[EMAIL PROTECTED]> Sat, 23 Jul 2005 06:26:04 -0700
committer Jeff Garzik <[EMAIL PROTECTED]> Sun, 31 Jul 2005 08:40:53 -0400

[PATCH] skge: disable tranmitter on shutdown

Here is a fix for a typo, thanks Eliot Dresselhaus.
Since transmitter not active when device is down, it wasn't really noticed.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/skge.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/skge.c b/drivers/net/skge.c
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -1819,7 +1819,7 @@ static void yukon_stop(struct skge_port 
 
        gma_write16(hw, port, GM_GP_CTRL,
                         gma_read16(hw, port, GM_GP_CTRL)
-                        & ~(GM_GPCR_RX_ENA|GM_GPCR_RX_ENA));
+                        & ~(GM_GPCR_TX_ENA|GM_GPCR_RX_ENA));
        gma_read16(hw, port, GM_GP_CTRL);
 
        /* set GPHY Control reset */
-
To unsubscribe from this list: send the line "unsubscribe bk-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