net: fec: add set_promisc function
authorTim Harvey <tharvey@gateworks.com>
Wed, 30 Jun 2021 23:50:06 +0000 (16:50 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 16:12:41 +0000 (18:12 +0200)
commit87550a814e0f136c24c025371d96cf1303185569
tree4211049e83144a7fe0fae173c33be593b0ad0526
parent631f3afbef58a95f39bc46a0f37ce4d96d07d834
net: fec: add set_promisc function

Enabling promiscuous mode is necessary if FEC is the master of a DSA
switch driver where each port has their own MAC address.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fec_mxc.c
drivers/net/fec_mxc.h