Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7a7b5181517752005fd0dc822176a6975218ec0f
Commit:     7a7b5181517752005fd0dc822176a6975218ec0f
Parent:     7e7c0982218a70d9bab06efcae66d02f172260e7
Author:     Stephen Hemminger <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 15 16:40:31 2007 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Feb 17 15:30:47 2007 -0500

    sky2: no need to reset pause bits on shutdown
    
    Resetting the pause bits on shutdown is not necessary.
    The code was inherited from the vendor driver, and it is currently #ifdef'd
    out there as well.
    
    Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/sky2.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index f2ab3d5..e567996 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -1742,13 +1742,6 @@ static void sky2_link_down(struct sky2_port *sky2)
        reg &= ~(GM_GPCR_RX_ENA | GM_GPCR_TX_ENA);
        gma_write16(hw, port, GM_GP_CTRL, reg);
 
-       if (sky2->flow_status == FC_RX) {
-               /* restore Asymmetric Pause bit */
-               gm_phy_write(hw, port, PHY_MARV_AUNE_ADV,
-                            gm_phy_read(hw, port, PHY_MARV_AUNE_ADV)
-                            | PHY_M_AN_ASP);
-       }
-
        netif_carrier_off(sky2->netdev);
        netif_stop_queue(sky2->netdev);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to