diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-07-22 23:26:04 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-31 04:40:53 (GMT) |
commit | 0eedf4ac5b536c7922263adf1b1d991d2e2397b9 (patch) | |
tree | bb13cf6a67bab370caad35e97d82337f273c1e85 /drivers/net | |
parent | acdd80d514a08800380c9f92b1bf4d4c9e818125 (diff) | |
download | linux-0eedf4ac5b536c7922263adf1b1d991d2e2397b9.tar.xz |
[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/net')
-rw-r--r-- | drivers/net/skge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index e336450..3adef3c 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 */ |