net: enetc: automatically select IERB module
authorMichael Walle <michael@walle.cc>
Tue, 20 Apr 2021 14:28:21 +0000 (16:28 +0200)
committerXiaobo Xie <xiaobo.xie@nxp.com>
Thu, 29 Apr 2021 07:59:58 +0000 (09:59 +0200)
commitaeacc26a50902d21285f1bece7a31a1b61778979
treeb889ff45c1bb18f349ba88aac8d3ef7a43deb3a9
parent9db3ab5991980d441a909144e83ca059df836627
net: enetc: automatically select IERB module

Now that enetc supports flow control we have to make sure the settings in
the IERB are correct. Therefore, we actually depend on the enetc-ierb
module. Previously it was possible that this module was disabled while the
enetc was enabled. Fix it by automatically select the enetc-ierb module.

Fixes: e7d48e5fbf30 ("net: enetc: add a mini driver for the Integrated Endpoint Register Block")
Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 1b8caefaf4f063fdc43e4078384d38ce96147b35)
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
drivers/net/ethernet/freescale/enetc/Kconfig