lkml.org 
[lkml]   [2012]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[ 040/171] r8169: allow multicast packets on sub-8168f chipset.
    Date
    3.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Nathan Walp <faceprint@faceprint.com>

    commit 0481776b7a70f09acf7d9d97c288c3a8403fbfe4 upstream.

    RTL_GIGA_MAC_VER_35 includes no multicast hardware filter.

    Signed-off-by: Nathan Walp <faceprint@faceprint.com>
    Suggested-by: Hayes Wang <hayeswang@realtek.com>
    Acked-by: Francois Romieu <romieu@fr.zoreil.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/net/ethernet/realtek/r8169.c | 3 +++
    1 file changed, 3 insertions(+)

    --- a/drivers/net/ethernet/realtek/r8169.c
    +++ b/drivers/net/ethernet/realtek/r8169.c
    @@ -4131,6 +4131,9 @@ static void rtl_set_rx_mode(struct net_d
    mc_filter[1] = swab32(data);
    }

    + if (tp->mac_version == RTL_GIGA_MAC_VER_35)
    + mc_filter[1] = mc_filter[0] = 0xffffffff;
    +
    RTL_W32(MAR0 + 4, mc_filter[1]);
    RTL_W32(MAR0 + 0, mc_filter[0]);




    \
     
     \ /
      Last update: 2012-11-23 18:01    [W:2.194 / U:0.384 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site