Skip to content
Commit 75943bc9 authored by Sergei Antonov's avatar Sergei Antonov Committed by David S. Miller
Browse files

net: ftmac100: handle netdev flags IFF_PROMISC and IFF_ALLMULTI



When netdev->flags has IFF_PROMISC or IFF_ALLMULTI, set the
corresponding bits in the MAC Control Register (MACCR).

This change is based on code from the ftgmac100 driver, see
ftgmac100_start_hw() in ftgmac100.c

Signed-off-by: default avatarSergei Antonov <saproj@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9259f6b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment