]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: forbid FEC_PTP on SoCs that do not support
authorShawn Guo <shawn.guo@linaro.org>
Tue, 18 Dec 2012 03:06:44 +0000 (03:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 00:26:18 +0000 (16:26 -0800)
commit79a6970d758e9462e73a7d62a8d55c3fa21dd13b
tree4b6dee57b6cfe70c6837b6a68e37b63c9703f80b
parent31e88586e992347fb8c7c1450bc18e2eb0f742f8
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: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/Kconfig