mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
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: e7d48e5fbf
("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>
This commit is contained in:
parent
f5d7872a8b
commit
1b8caefaf4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user