]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] skge: disable tranmitter on shutdown
authorStephen Hemminger <shemminger@osdl.org>
Fri, 22 Jul 2005 23:26:04 +0000 (16:26 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 31 Jul 2005 04:40:53 +0000 (00:40 -0400)
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 <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/skge.c

index e33645035f6858b54fdd0d2ed7ce5cff9f06a99e..3adef3c8797a05f26069c5c177e1ff9b891a4c78 100644 (file)
@@ -1819,7 +1819,7 @@ static void yukon_stop(struct skge_port *skge)
 
        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 */