commit | 528c2af457094e4fff07cfb7a9da4560e6b73db1 | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Wed Jun 30 16:50:06 2021 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Sat Jul 10 18:12:41 2021 +0200 |
tree | 4211049e83144a7fe0fae173c33be593b0ad0526 | |
parent | ea6b6bb537cababdc5dab01bafbd6dbe8a877ee0 [diff] [blame] |
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>
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 5ccde91..62b55ef 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h
@@ -272,6 +272,7 @@ struct clk clk_ref; struct clk clk_ptp; u32 clk_rate; + char promisc; }; /**