diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-07-22 19:26:04 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-31 00:40:53 -0400 |
commit | 0eedf4ac5b536c7922263adf1b1d991d2e2397b9 (patch) | |
tree | bb13cf6a67bab370caad35e97d82337f273c1e85 /drivers/net/skge.c | |
parent | acdd80d514a08800380c9f92b1bf4d4c9e818125 (diff) |
[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/skge.c')
-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 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) | |||
1819 | 1819 | ||
1820 | gma_write16(hw, port, GM_GP_CTRL, | 1820 | gma_write16(hw, port, GM_GP_CTRL, |
1821 | gma_read16(hw, port, GM_GP_CTRL) | 1821 | gma_read16(hw, port, GM_GP_CTRL) |
1822 | & ~(GM_GPCR_RX_ENA|GM_GPCR_RX_ENA)); | 1822 | & ~(GM_GPCR_TX_ENA|GM_GPCR_RX_ENA)); |
1823 | gma_read16(hw, port, GM_GP_CTRL); | 1823 | gma_read16(hw, port, GM_GP_CTRL); |
1824 | 1824 | ||
1825 | /* set GPHY Control reset */ | 1825 | /* set GPHY Control reset */ |