Commit c8cc2ae2 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Jakub Kicinski

net: pch_gbe: Allow build on MIPS_GENERIC kernel

MIPS Boston board, which is using MIPS_GENERIC kernel is using
EG20T PCH and thus need this driver.

Dependency of PCH_GBE, PTP_1588_CLOCK_PCH is also fixed for
MIPS_GENERIC.

Note that CONFIG_PCH_GBE is selected in arch/mips/configs/generic/
board-boston.config for a while, some how it's never wired up
in Kconfig.
Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230607055953.34110-1-jiaxun.yang@flygoat.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 37ff78e9
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
config PCH_GBE config PCH_GBE
tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE" tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
depends on PCI && (X86_32 || COMPILE_TEST) depends on PCI && (MIPS_GENERIC || X86_32 || COMPILE_TEST)
depends on PTP_1588_CLOCK depends on PTP_1588_CLOCK
select MII select MII
select PTP_1588_CLOCK_PCH select PTP_1588_CLOCK_PCH
......
...@@ -102,7 +102,7 @@ config PTP_1588_CLOCK_INES ...@@ -102,7 +102,7 @@ config PTP_1588_CLOCK_INES
config PTP_1588_CLOCK_PCH config PTP_1588_CLOCK_PCH
tristate "Intel PCH EG20T as PTP clock" tristate "Intel PCH EG20T as PTP clock"
depends on X86_32 || COMPILE_TEST depends on MIPS_GENERIC || X86_32 || COMPILE_TEST
depends on HAS_IOMEM && PCI depends on HAS_IOMEM && PCI
depends on NET depends on NET
depends on PTP_1588_CLOCK depends on PTP_1588_CLOCK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment