“89abfc8d64dd1ad32e6d96404eb0a1ea6cbb4ca4”上不存在“drivers/infiniband/hw/hfi1/verbs.h”
提交 c1e37ea2 编写于 作者: S Shawn Guo 提交者: David S. Miller

net: fec: forbid FEC_PTP on SoCs that do not support

Beside imx6q, the kernel built from imx_v6_v7_defconfig is also
supposed to be running on other IMX SoCs that do not have the PTP
block.  Before fec driver gets fixed to run-time detect target hardware
rather than conditional compiling with #ifdef CONFIG_FEC_PTP, let's
give it a quick fix in Kconfig to forbid FEC_PTP on those IMX SoCs that
do not support PTP.
Reported-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d23e946c
...@@ -94,9 +94,8 @@ config GIANFAR ...@@ -94,9 +94,8 @@ config GIANFAR
config FEC_PTP config FEC_PTP
bool "PTP Hardware Clock (PHC)" bool "PTP Hardware Clock (PHC)"
depends on FEC && ARCH_MXC depends on FEC && ARCH_MXC && !SOC_IMX25 && !SOC_IMX27 && !SOC_IMX35 && !SOC_IMX5
select PTP_1588_CLOCK select PTP_1588_CLOCK
default y if SOC_IMX6Q
--help--- --help---
Say Y here if you want to use PTP Hardware Clock (PHC) in the Say Y here if you want to use PTP Hardware Clock (PHC) in the
driver. Only the basic clock operations have been implemented. driver. Only the basic clock operations have been implemented.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册