summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-07-23 01:26:04 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-07-31 06:40:53 +0200
commit0eedf4ac5b536c7922263adf1b1d991d2e2397b9 (patch)
treebb13cf6a67bab370caad35e97d82337f273c1e85 /drivers
parent[PATCH] skge: remove SK-9EE support (diff)
downloadlinux-0eedf4ac5b536c7922263adf1b1d991d2e2397b9.tar.xz
linux-0eedf4ac5b536c7922263adf1b1d991d2e2397b9.zip
[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 <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/skge.c2
1 files changed, 1 insertions, 1 deletions
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 */