Home
last modified time | relevance | path

Searched hist:"75943 bc9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftmac100.c75943bc9 Mon Jan 16 12:27:16 CST 2023 Sergei Antonov <saproj@gmail.com> 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: Sergei Antonov <saproj@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>