Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
- index f9a61f90cfbc..377af6cfe93f 100644
- --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
- +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
- @@ -646,6 +646,18 @@ static void sun8i_dwmac_set_filter(struct mac_device_info *hw,
- }
- }
- } else {
- + if (!netdev_mc_empty(dev)) {
- + netdev_for_each_mc_addr(ha, dev) {
- + pr_info("Slot %d %pM\n", i, ha->addr);
- + i++;
- + }
- + }
- + if (!netdev_uc_empty(dev)) {
- + netdev_for_each_uc_addr(ha, dev) {
- + pr_info("Slot %d %pM\n", i, ha->addr);
- + i++;
- + }
- + }
- netdev_info(dev, "Too many address, switching to promiscuous\n");
- v = EMAC_FRM_FLT_RXALL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement