summaryrefslogtreecommitdiff
path: root/drivers/net/fec_mxc.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-06-30 16:50:06 -0700
committerStefano Babic <sbabic@denx.de>2021-07-10 18:12:41 +0200
commit87550a814e0f136c24c025371d96cf1303185569 (patch)
tree4211049e83144a7fe0fae173c33be593b0ad0526 /drivers/net/fec_mxc.h
parent631f3afbef58a95f39bc46a0f37ce4d96d07d834 (diff)
downloadu-boot-87550a814e0f136c24c025371d96cf1303185569.tar.gz
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>
Diffstat (limited to 'drivers/net/fec_mxc.h')
-rw-r--r--drivers/net/fec_mxc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h
index 5ccde9193b..62b55ef395 100644
--- a/drivers/net/fec_mxc.h
+++ b/drivers/net/fec_mxc.h
@@ -272,6 +272,7 @@ struct fec_priv {
struct clk clk_ref;
struct clk clk_ptp;
u32 clk_rate;
+ char promisc;
};
/**