diff options
author | Michael Walle <michael@walle.cc> | 2021-04-20 17:28:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-21 02:56:32 +0300 |
commit | 1b8caefaf4f063fdc43e4078384d38ce96147b35 (patch) | |
tree | 4d4e516793f38f2d87e3b4a036e86ad97ad0c3f4 /drivers/net | |
parent | f5d7872a8b8a3176e65dc6f7f0705ce7e9a699e6 (diff) | |
download | linux-1b8caefaf4f063fdc43e4078384d38ce96147b35.tar.xz |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/freescale/enetc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/Kconfig b/drivers/net/ethernet/freescale/enetc/Kconfig index d88f60c2bb82..cdc0ff89388a 100644 --- a/drivers/net/ethernet/freescale/enetc/Kconfig +++ b/drivers/net/ethernet/freescale/enetc/Kconfig @@ -2,7 +2,7 @@ config FSL_ENETC tristate "ENETC PF driver" depends on PCI && PCI_MSI - depends on FSL_ENETC_IERB || FSL_ENETC_IERB=n + select FSL_ENETC_IERB select FSL_ENETC_MDIO select PHYLINK select PCS_LYNX |