From: Stephen Hemminger Date: Fri, 22 Jul 2005 23:26:04 +0000 (-0700) Subject: [PATCH] skge: disable tranmitter on shutdown X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0eedf4ac5b536c7922263adf1b1d991d2e2397b9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/skge.c b/drivers/net/skge.c index e33645035f68..3adef3c8797a 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c @@ -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 */