lkml.org 
[lkml]   [2007]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 05/31] sky2: turn carrier off when down
    -stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Stephen Hemminger <shemminger@linux-foundation.org>

    Driver needs to turn off carrier when down.

    Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/sky2.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/net/sky2.c
    +++ b/drivers/net/sky2.c
    @@ -1506,6 +1506,7 @@ static int sky2_down(struct net_device *

    /* Stop more packets from being queued */
    netif_stop_queue(dev);
    + netif_carrier_off(dev);

    /* Disable port IRQ */
    imask = sky2_read32(hw, B0_IMSK);
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-12 01:07    [W:0.020 / U:31.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site